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.
1 parent 8d0d0e7 commit 220058bCopy full SHA for 220058b
src/py/mat3ra/code/entity.py
@@ -85,7 +85,7 @@ def id(self, id: str) -> None:
85
def slug(self) -> str:
86
return self.prop("slug", "")
87
88
- def get_as_entity_reference(self, by_id_only: bool = False) -> dict[str, str]:
+ def get_as_entity_reference(self, by_id_only: bool = False) -> Dict[str, str]:
89
if by_id_only:
90
return {"_id": self.id}
91
else:
0 commit comments