We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebac68a commit 17c6e19Copy full SHA for 17c6e19
1 file changed
hcloud/core/client.py
@@ -118,6 +118,7 @@ def __getattr__(self, name: str): # type: ignore[no-untyped-def]
118
119
def _get_self(self) -> BoundModelBase[Domain]:
120
assert hasattr(self._client, "get_by_id")
121
+ assert hasattr(self.data_model, "id")
122
return self._client.get_by_id(self.data_model.id) # type: ignore
123
124
def reload(self) -> None:
0 commit comments