Skip to content

Commit 2271f0c

Browse files
fix broken VectorSchema
- add "name" field - change label to have no default - fix "type" not having default of "Vector"
1 parent ff993cb commit 2271f0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

conSys4Py/datamodels/swe_components.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ class DataRecordSchema(AnyComponentSchema):
3939

4040

4141
class VectorSchema(AnyComponentSchema):
42-
label: str = "Vector"
43-
type: str = Field(...)
42+
label: str = Field(...)
43+
name: str = Field(...)
44+
type: str = "Vector"
4445
definition: str = Field(...)
4546
reference_frame: str = Field(...)
4647
local_frame: str = Field(None)

0 commit comments

Comments
 (0)