MaterializationSettings Class
Defines materialization settings.
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinMaterializationSettings
Constructor
MaterializationSettings(*, schedule: RecurrenceTrigger | None = None, offline_enabled: bool | None = None, online_enabled: bool | None = None, notification: Notification | None = None, resource: MaterializationComputeResource | None = None, spark_configuration: Dict[str, str] | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
kwargs
Required
|
A dictionary of additional configuration parameters. |
Keyword-Only Parameters
Name | Description |
---|---|
schedule
|
The schedule details. Defaults to None. |
offline_enabled
|
Boolean that specifies if offline store is enabled. Defaults to None. |
online_enabled
|
Boolean that specifies if online store is enabled. Defaults to None. |
notification
|
The notification details. Defaults to None. |
resource
|
The compute resource settings. Defaults to None. |
spark_configuration
|
The spark compute settings. Defaults to None. |
Examples
Configuring MaterializationSettings.
from azure.ai.ml.entities import MaterializationComputeResource, MaterializationSettings
materialization_settings = MaterializationSettings(
offline_enabled=True,
spark_configuration={
"spark.driver.cores": 2,
"spark.driver.memory": "18g",
"spark.executor.cores": 4,
"spark.executor.memory": "18g",
"spark.executor.instances": 5,
},
resource=MaterializationComputeResource(instance_type="standard_e4s_v3"),
)
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python