github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/python/aistore/sdk/namespace.py (about) 1 from pydantic import BaseModel 2 3 4 class Namespace(BaseModel): 5 """ 6 A bucket namespace defined by the uuid of the cluster and a name 7 """ 8 9 uuid: str = "" 10 name: str = "" 11 12 def get_path(self) -> str: 13 """ 14 Get the AIS-style path representation of the string -- @uuid#name 15 16 Returns: 17 Formatted namespace string 18 """ 19 return f"@{self.uuid}#{self.name}"