Skip to content

Storage models

Contains storage configuration models.

Authors
  • Alfan Dinda Rahmawan (alfan.d.rahmawan@gdplabs.id)
Reviewer
  • Muhammad Afif Al Hawari (muhammad.a.a.hawari@gdplabs.id)
References

NONE

StorageConfig

Bases: BaseModel

Defines the storage configuration for model uploads.

Attributes:

Name Type Description
bucket_name str

The name of the bucket.

upload_to_cloud bool

Whether to upload the model to the cloud.

object_prefix str

The object prefix in the bucket.

endpoint_url str | None

The complete URL to use for the storage client.

access_key_id str | None

The access key ID for cloud storage account.

secret_access_key str | None

The secret access key for cloud storage account.

region str | None

The region to use when creating the storage client.

provider str

The cloud provider.