We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 602f02f + 16a3c6c commit 6546597Copy full SHA for 6546597
src/py/mat3ra/code/entity.py
@@ -52,7 +52,7 @@ def clone(self, extra_context: Dict[str, Any] = {}) -> Any:
52
# To avoid:
53
# Argument 1 to "__init__" of "BaseUnderscoreJsonPropsHandler" has incompatible type "Dict[str, Any]";
54
# expected "BaseUnderscoreJsonPropsHandler"
55
- return self.__class__.__init__(config) # type: ignore[arg-type]
+ return self.__class__(config)
56
57
@staticmethod
58
def validate_data(data: Dict[str, Any], clean: bool = False):
0 commit comments