We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bce4f04 + 241d469 commit d2fbb24Copy full SHA for d2fbb24
conSys4Py/datamodels/swe_components.py
@@ -51,7 +51,7 @@ class VectorSchema(AnyComponentSchema):
51
52
class DataArraySchema(AnyComponentSchema):
53
type: str = "DataArray"
54
- element_count: int = Field(..., serialization_alias='elementCount') # Should type of Count
+ element_count: dict | str | CountSchema = Field(..., serialization_alias='elementCount') # Should type of Count
55
element_type: SerializeAsAny[list[AnyComponentSchema]] = Field(..., serialization_alias='elementType')
56
encoding: str = Field(...) # TODO: implement an encodings class
57
values: list = Field(None)
0 commit comments