aistore.sdk.dsort.framework
Module Contents
Classes
API
Bases: BaseModel
Deprecated: retained for AIStore before 5.3; removal is planned for a future SDK release.
Represents the algorithm used in a Dsort job
Converts the DsortAlgorithm instance to a dictionary representation
Validates required key fields
Deprecated: retained for AIStore before 5.3; removal is planned for a future SDK release.
Represents the framework for a dSort job, including input and output shard configurations.
Class method to create a DsortFramework instance from a JSON or YAML file.
Only fields represented by this class are loaded. Pass the file path directly to Dsort.start() to preserve all server settings, including dry_run and max_mem_usage.
Parameters:
The path to the JSON or YAML file containing the specification
Returns:
An instance of the DsortFramework class
Raises:
ValueError: If the file extension is not .json, .yml, or .yaml
Converts the DsortFramework instance to a dictionary representation for use in dSort job specification
Returns:
Dictionary representation of dSort specification
Deprecated: retained for AIStore before 5.3; removal is planned for a future SDK release.
Represents the configuration for the input or output of a shard group in a dSort job
Converts the DsortShardsGroup instance to a dictionary representation