Skip to content

Commit

Permalink
don't use partial in type hint, due to lack of support
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianFranz committed Feb 18, 2020
1 parent 9b03aeb commit 1c18f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/justcause/data/frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, data, *args, **kwargs):
self._names = dict(covariates=covariates)

@property
def _constructor(self) -> partial["CausalFrame"]:
def _constructor(self) -> "CausalFrame":
# This is called during operations with CausalFrames
# We pass a marker to differentiate between explicit and implicit invocation
kwargs = {"_internal_operation": True, **self._names}
Expand Down

0 comments on commit 1c18f71

Please sign in to comment.