Toloka documentation

AppProject

toloka.client.app.AppProject | Source code

AppProject(
    self,
    *,
    app_id: Optional[str] = None,
    parent_app_project_id: Optional[str] = None,
    name: Optional[str] = None,
    parameters: Optional[Dict] = None,
    id: Optional[str] = None,
    status: Union[Status, str, None] = None,
    created: Optional[datetime] = None,
    item_price: Optional[Decimal] = None,
    errors: Optional[List[_AppError]] = None,
    read_only: Optional[bool] = None,
    app: Optional[AppLightestResult] = None
)

An App project.

An App project is based on one of App solutions. It is created with a template interface and preconfigured data specification and quality control rules.

To get available App solutions use the get_apps method.

Parameters Description

Parameters Type Description
app_id Optional[str]

The ID of the App solution used to create the project.

parent_app_project_id Optional[str]

The ID of the parent project. It is set if this project is a clone of other project. Otherwise it is empty.

name Optional[str]

The project name.

parameters Optional[Dict]

Parameters of the solution. The parameters should follow the schema described in the param_spec field of the solution.

id Optional[str]

The ID of the project.

status Optional[Status]

The project status:

  • CREATING — Toloka is checking the project.
  • READY — The project is active.
  • ARCHIVED — The project was archived.
  • ERROR — Project creation failed due to errors.
created Optional[datetime]

The date and time when the project was created.

item_price Optional[Decimal]

The price you pay for a processed item.

errors Optional[List[_AppError]]

Errors found during a project check.

read_only Optional[bool]
app Optional[AppLightestResult]

Brief information about the project template.