ReplacementConfig Class
Configuration for model replacement.
Constructor
ReplacementConfig(*, target_model_name: str | None = None, target_model_version: str | None = None, auto_upgrade_start_date: datetime | None = None, upgrade_on_expiry_lead_time_days: int | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
target_model_name
|
The name of the replacement model. Default value: None
|
|
target_model_version
|
The version of the replacement model. Default value: None
|
|
auto_upgrade_start_date
|
The date when automatic upgrade should start. This applies to deployments with the OnceNewDefaultVersionAvailable upgrade option. Default value: None
|
|
upgrade_on_expiry_lead_time_days
|
The number of days before deprecation date to trigger upgrade. This applies to deployments with the OnceCurrentVersionExpired upgrade option. Default value: None
|
Variables
| Name | Description |
|---|---|
|
target_model_name
|
The name of the replacement model. |
|
target_model_version
|
The version of the replacement model. |
|
auto_upgrade_start_date
|
The date when automatic upgrade should start. This applies to deployments with the OnceNewDefaultVersionAvailable upgrade option. |
|
upgrade_on_expiry_lead_time_days
|
The number of days before deprecation date to trigger upgrade. This applies to deployments with the OnceCurrentVersionExpired upgrade option. |