VolumeSync¶
- class baseten.client.managementapi.VolumeSync(*, sync_id, status, source, destination, volume_version_id=None, version_ref=None, content_digest=None, total_size_bytes=None, created_at, completed_at=None, error=None)¶
Bases:
BaseModel- Parameters:
sync_id (str)
status (Literal['PENDING', 'SYNCING', 'READY', 'FAILED', 'CANCELED'] | str)
source (Annotated[Annotated[VolumeSyncSourceHuggingFace | VolumeSyncSourceS3 | VolumeSyncSourceGCS | VolumeSyncSourceAzure | VolumeSyncSourceR2 | VolumeSyncSourceCoreWeave | VolumeSyncSourceBasetenTraining, FieldInfo(annotation=NoneType, required=True, title='Source', description='Remote source being synced.', discriminator='type')] | dict[str, Any], _PydanticGeneralMetadata(union_mode='left_to_right')])
destination (VolumeSyncDestination)
volume_version_id (str | None)
version_ref (str | None)
content_digest (str | None)
total_size_bytes (int | None)
created_at (AwareDatetime)
completed_at (AwareDatetime | None)
error (VolumeSyncError | None)
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].