aistore.sdk.types
Module Contents
Classes
API
Bases: BaseModel
Represents the action message passed by the client via json
Bases: RootModel[Dict[str, List[JobSnap]]]
Represents job snapshots grouped by target ID.
Check if all snapshots are idle, aborted, or have an abort error.
Check if any snapshot is finished (aborted, errored, or has valid end_time).
Return the nworkers from any one snapshot (as all are the same).
Returns a flat list of all job snapshots across all target nodes.
Bases: BaseModel
API message structure for multi-object archive requests
Bases: BaseModel
Represents the set of args the sdk will pass to AIStore when making a blob-download request and provides conversion to the expected json format
Bases: BaseModel
Represents the bucket summary control message
Bases: Struct
Represents a single entry in a bucket — an object See cmn/objlist.go/LsoEntry
Convert bucket entry data into Object Props.
NOTE: Bucket entry data and object props are not a one-to-one mapping.
Returns: ObjectProps
ObjectProps with object data
Bases: Struct
Represents the response when getting a list of bucket items, containing a list of BucketEntry objects
Bases: BaseModel
Represents the response from the API containing bucket info
Get the path representation of this bucket
Bases: BaseModel
API message structure for copying a bucket
Bases: BaseModel
API message structure for creating a native bucket inventory. See api/apc/nbi.go CreateNBIMsg.
Bases: BaseModel
Represents the API response of queries on single ETL details
Bases: BaseModel
Represents the API response when querying an ETL
Bases: BaseModel
Represents the API message structure for initializing an ETL
Bases: BaseModel
Represents decoded logs from a single ETL pod on one target node.
Bases: BaseModel
Represents an error encountered during ETL processing of an object
Bases: BaseModel
Represents the ETL runtime message structure
Bases: BaseModel
Represents an environment variable
Bases: BaseModel
Represents the args shared by ETL initialization with code or spec
Bases: InitETLArgs
Represents the set of args the sdk will pass to AIStore when making a request to initialize an ETL with a spec
Bases: BaseModel
Represents the set of args to pass when making a job-related request
Bases: BaseModel
Structure to send the API when querying the cluster for multiple jobs
Bases: BaseModel
Represents a snapshot of a job on a target node.
Unpack the glob_id into (njoggers, nworkers, chan_full).
The packed value is a bitwise representation of the number of joggers, workers, and channel full status.
Bases: BaseModel
Represents performance statistics for a job.
Bases: BaseModel
Represents the response of an API query to fetch job status
Bases: BaseModel
API message structure for listing objects in a bucket
Bases: BaseModel
Represents a part of a multipart upload
Bases: BaseModel
Information about a single native bucket inventory. See api/apc/nbi.go NBIInfo.
Bases: BaseModel
Represents a set of network-related info
Bases: BaseModel
API message structure for prefetching objects from remote buckets.
Bases: BaseModel
Represents the set of args the sdk will pass to AIStore when making a promote request and provides conversion to the expected json format
Bases: BaseModel
Represents a system map
Determine the target node responsible for an object based on its bucket path and name.
Parameters:
Fully qualified (namespaced) object name (e.g., f”{bck.get_path()}{obj.name}”).
Returns: Snode
The assigned target node.
Raises:
NoTargetError: If no target node is found.
Bases: BaseModel
Represents a system node
Bases: BaseModel
API message structure for transforming or copying between buckets. Can be used on its own for an entire bucket or encapsulated in TCMultiObj to apply only to a selection of objects
Bases: BaseModel
API message structure for transforming or copying multiple objects between buckets
Bases: BaseModel
API message structure for requesting an etl transform on a bucket