Skip to content

Commit

Permalink
default to super().document_type
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 14, 2023
1 parent 5a06f42 commit cdbd5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytorch_ie/core/statistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __init__(

@property
def document_type(self) -> Optional[Type[Document]]:
return self._document_type or self.DOCUMENT_TYPE
return self._document_type or super().document_type

def reset(self) -> None:
self._values: List[Any] = []
Expand Down

0 comments on commit cdbd5e6

Please sign in to comment.