Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne-aben committed Oct 4, 2023
1 parent f547724 commit 64b68bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typedspark/_core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __setattr__(self, name: str, value: Any) -> None:
if name == "__orig_class__":
orig_class_args = get_args(self.__orig_class__)
if orig_class_args:
self._schema_annotations = orig_class_args[0]
self._schema_annotations: Type[_Schema] = orig_class_args[0]
validate_schema(
self._schema_annotations.get_structtype(),
deepcopy(self.schema),
Expand Down

0 comments on commit 64b68bf

Please sign in to comment.