Skip to main content

luml.api._client

AsyncLumlClient Objects

class AsyncLumlClient(LumlClientBase, AsyncBaseClient)

setup_config

async def setup_config(*,
organization: str | None = None,
orbit: str | None = None,
collection: str | None = None) -> None

Method for setting default values for AsyncLumlClient

Arguments:

  • organization - Default organization to use for operations. Can be set by organization ID or name.
  • orbit - Default orbit to use for operations. Can be set by organization ID or name.
  • collection - Default collection to use for operations. Can be set by organization ID or name.

Example:

luml = AsyncLumlClient(api_key="luml_api_key")
async def main():
await luml.setup_config(
"0199c455-21ec-7c74-8efe-41470e29bae5",
"0199c455-21ed-7aba-9fe5-5231611220de",
"0199c455-21ee-74c6-b747-19a82f1a1e75"
)

organizations

@cached_property
def organizations() -> "AsyncOrganizationResource"

Organizations interface.

bucket_secrets

@cached_property
def bucket_secrets() -> "AsyncBucketSecretResource"

Bucket Secrets interface.

orbits

@cached_property
def orbits() -> "AsyncOrbitResource"

Orbits interface.

collections

@cached_property
def collections() -> "AsyncCollectionResource"

Collections interface.

model_artifacts

@cached_property
def model_artifacts() -> "AsyncModelArtifactResource"

Model Artifacts interface.

LumlClient Objects

class LumlClient(LumlClientBase, SyncBaseClient)

organizations

@cached_property
def organizations() -> "OrganizationResource"

Organizations interface.

bucket_secrets

@cached_property
def bucket_secrets() -> "BucketSecretResource"

Bucket Secrets interface.

orbits

@cached_property
def orbits() -> "OrbitResource"

Orbits interface.

collections

@cached_property
def collections() -> "CollectionResource"

Collections interface.

model_artifacts

@cached_property
def model_artifacts() -> "ModelArtifactResource"

Model Artifacts interface.