Clan VM Manager: detect if clan exists

This commit is contained in:
Johannes Kirschbauer
2024-02-07 16:08:48 +07:00
parent 9b7116631f
commit 14cb6544ec
2 changed files with 3 additions and 4 deletions

View File

@@ -116,10 +116,8 @@ class ClanURI:
def get_full_uri(self) -> str:
return self._full_uri
# TODO(@Qubasa): return a comparable id e.g. f"{url}#{attr}"
# This should be our standard.
def get_id(self) -> str:
return f"{self._components.path}#{self._components.fragment}"
return f"{self.get_internal()}#{self.params.flake_attr}"
@classmethod
def from_path(