CreateVolumeSyncRequest¶
- class baseten.client.managementapi.CreateVolumeSyncRequest(*, source, destination)¶
Bases:
BaseModel- Parameters:
source (Annotated[Annotated[VolumeSyncSourceHuggingFace | VolumeSyncSourceS3 | VolumeSyncSourceGCS | VolumeSyncSourceAzure | VolumeSyncSourceR2 | VolumeSyncSourceCoreWeave | VolumeSyncSourceBasetenTraining, FieldInfo(annotation=NoneType, required=True, title='Source', description='Remote source to sync from.', discriminator='type')] | dict[str, Any], _PydanticGeneralMetadata(union_mode='left_to_right')])
destination (VolumeSyncDestination)
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].