Skip to content

Commit

Permalink
ran mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewelamb committed Oct 25, 2024
1 parent 0de69aa commit f58ba9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schematic/schemas/data_model_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Node:
fields: dict
"""Fields of the node"""

def __post_init__(self):
def __post_init__(self) -> None:
if "displayName" not in self.fields:
raise ValueError(f"Node: {str(self.name)} missing displayName field")
self.display_name = str(self.fields["displayName"])
Expand Down

0 comments on commit f58ba9f

Please sign in to comment.