Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex AI Studio
    • About Yandex AI Studio
    • Yandex Workflows
    • Quotas and limits
    • Terms and definitions
  • Compatibility with OpenAI
    • About Yandex Cloud ML SDK
      • Overview
      • Authentication
        • Overview
        • Assistant types
        • Tools
        • Operation
        • Tuning
        • Result types for models
        • Datasets
        • Search API
        • Messages
        • Run types
        • Search index types
        • Other types
        • Batch
      • Request retries
  • Access management
  • Pricing policy
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskErrorsInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchErrorInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.LineErrorInfo
  • class yandex_cloud_ml_sdk._types.batch.status.BatchTaskStatus
  1. Yandex Cloud ML SDK
  2. SDK reference
  3. Types
  4. Batch

Batch

Written by
Yandex Cloud
Updated at November 7, 2025
  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskErrorsInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.BatchErrorInfo
  • class yandex_cloud_ml_sdk._types.batch.task_info.LineErrorInfo
  • class yandex_cloud_ml_sdk._types.batch.status.BatchTaskStatus

class yandexcloudmlsdk.types.batch.taskinfo.BatchTaskInfoclass yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskInfo

BatchTaskInfo(task_id: ‘str’, operation_id: ‘str’, folder_id: ‘str’, model_uri: ‘str’, source_dataset_id: ‘str’, result_dataset_id: ‘str | None’, status: ‘BatchTaskStatus’, labels: ‘dict[str, str]’, created_by: ‘str’, created_at: ‘datetime’, started_at: ‘datetime’, finished_at: ‘datetime’, errors: ‘BatchTaskErrorsInfo’)

task_id: str

operation_id: str

folder_id: str

model_uri: str

source_dataset_id: str

result_dataset_id: str | None

status: BatchTaskStatus

labels: dict[str, str]

created_by: str

created_at: datetime

started_at: datetime

finished_at: datetime

errors: BatchTaskErrorsInfo

class yandexcloudmlsdk.types.batch.taskinfo.BatchTaskErrorsInfoclass yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskErrorsInfo

BatchTaskErrorsInfo(line_errors: ‘tuple[LineErrorInfo, …]’, batch_errors: ‘tuple[BatchErrorInfo, …]’)

line_errors: tuple[LineErrorInfo]... ,

batch_errors: tuple[BatchErrorInfo]... ,

class yandexcloudmlsdk.types.batch.taskinfo.BatchErrorInfoclass yandex_cloud_ml_sdk._types.batch.task_info.BatchErrorInfo

BatchErrorInfo(batch_number: ‘int’, first_line: ‘int’, last_line: ‘int’, message: ‘str’)

batch_number: int

first_line: int

last_line: int

message: str

class yandexcloudmlsdk.types.batch.taskinfo.LineErrorInfoclass yandex_cloud_ml_sdk._types.batch.task_info.LineErrorInfo

LineErrorInfo(line_number: ‘int’, message: ‘str’)

line_number: int

message: str

class yandexcloudmlsdk.types.batch.status.BatchTaskStatusclass yandex_cloud_ml_sdk._types.batch.status.BatchTaskStatus

UNKNOWN = -1

STATUS_UNSPECIFIED = 0

CREATED = 1

PENDING = 2

IN_PROGRESS = 3

COMPLETED = 4

FAILED = 5

CANCELED = 6

property is_running: bool

Check if operation execution is still in progress.

property is_succeeded: bool

Check if operation execution completed successfully.

property is_failed: bool

Check if operation execution failed.

property is_finished: bool

Check if operation execution finished.

property status_name: str

Get operation execution status name.

__new__(value)

conjugate()

Returns self, the complex conjugate of any int.

bit_length()

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6

bit_count()

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

>>> bin(13)
'0b1101'
>>> (13).bit_count()
3

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

The ratio is in lowest terms and has a positive denominator.

>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)

is_integer()

Returns True. Exists for duck type compatibility with float.is_integer.

real

the real part of a complex number

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

denominator

the denominator of a rational number in lowest terms

__init__(*args, **kwds)

Was the article helpful?

Previous
Other types
Next
Request retries
© 2025 Direct Cursus Technology L.L.C.