helper
Helper functions related to hub and AM interactions.
Module
Functions
def get_pod_schema( pod_identifier: str, save_file_path: Union[str, pathlib.Path, None] = None, hub: Optional[BitfountHub] = None, username: Optional[str] = None,) ‑> BitfountSchema:
Get a pod's schema from the hub.
Arguments
pod_identifier
: The identifier of the pod. If supplied with only pod name assumes the namespace is the current user.save_file_path
: Optional. Path to save the downloaded schema to. Won't save if not provided.hub
: Optional. The BitfountHub to connect to. The default hub will be used if not provided.username
: The username to use when connecting to the hub if a hub instance is not provided.
Returns The loaded BitfountSchema object.