create_pool

Toloka

Create a Pool object from given config.

View on GitHub

Last Updated: Jun. 7, 2022

Access Instructions

Install the Toloka provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

objRequiredEither a Pool object itself or a config to make a Pool.
projectProject to assign a pool to. May pass either an object, config or project_id.
exam_poolRelated training pool. May pass either an object, config or pool_id.
expirationExpiration setting. May pass any of `None` if this setting is already present; `datetime` object to set exact datetime; `timedelta` to set expiration related to the current time.
toloka_conn_idAirflow connection with toloka credentials.

Documentation

Create a Pool object from given config.

Was this page helpful?