add join to list

This commit is contained in:
Johannes Kirschbauer
2024-01-20 13:15:25 +01:00
parent 3be697d1e9
commit d0b075c217
10 changed files with 229 additions and 63 deletions

View File

@@ -117,6 +117,11 @@ 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}"
@classmethod
def from_path(
cls, # noqa