Skip to content

Commit

Permalink
Make node_type with alias to type
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Jun 15, 2024
1 parent ea51281 commit 42c32d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bw_interface_schemas/lci.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Node(Parsimonius):
name: Optional[str] = None
unit: Optional[str] = None
location: Optional[str] = None
type: Optional[str] = None
node_type: Optional[str] = Field(alias="type", default=None)
# Comment can be a single string or something more structured.
comment: Optional[str | dict[str, str]] = None
filename: Optional[str] = None
Expand Down

0 comments on commit 42c32d9

Please sign in to comment.