Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
287 changes: 127 additions & 160 deletions poetry.lock

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -9903,6 +9903,14 @@ client.projects.update(
<dl>
<dd>

**strict_task_overlap:** `typing.Optional[bool]`

</dd>
</dl>

<dl>
<dd>

**task_data_login:** `typing.Optional[str]` — Task data credentials: login

</dd>
Expand Down Expand Up @@ -37337,6 +37345,14 @@ client.prompts.runs.create(
<dl>
<dd>

**only_missing_predictions:** `typing.Optional[bool]` — When true, only tasks without successful predictions for this prompt version are submitted for inference.

</dd>
</dl>

<dl>
<dd>

**organization:** `typing.Optional[int]`

</dd>
Expand Down
8 changes: 8 additions & 0 deletions src/label_studio_sdk/projects/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ def update(
show_skip_button: typing.Optional[bool] = OMIT,
show_unused_data_columns_to_annotators: typing.Optional[bool] = OMIT,
skip_queue: typing.Optional[SkipQueueEnum] = OMIT,
strict_task_overlap: typing.Optional[bool] = OMIT,
task_data_login: typing.Optional[str] = OMIT,
task_data_password: typing.Optional[str] = OMIT,
title: typing.Optional[str] = OMIT,
Expand Down Expand Up @@ -651,6 +652,8 @@ def update(

skip_queue : typing.Optional[SkipQueueEnum]

strict_task_overlap : typing.Optional[bool]

task_data_login : typing.Optional[str]
Task data credentials: login

Expand Down Expand Up @@ -726,6 +729,7 @@ def update(
show_skip_button=show_skip_button,
show_unused_data_columns_to_annotators=show_unused_data_columns_to_annotators,
skip_queue=skip_queue,
strict_task_overlap=strict_task_overlap,
task_data_login=task_data_login,
task_data_password=task_data_password,
title=title,
Expand Down Expand Up @@ -1623,6 +1627,7 @@ async def update(
show_skip_button: typing.Optional[bool] = OMIT,
show_unused_data_columns_to_annotators: typing.Optional[bool] = OMIT,
skip_queue: typing.Optional[SkipQueueEnum] = OMIT,
strict_task_overlap: typing.Optional[bool] = OMIT,
task_data_login: typing.Optional[str] = OMIT,
task_data_password: typing.Optional[str] = OMIT,
title: typing.Optional[str] = OMIT,
Expand Down Expand Up @@ -1746,6 +1751,8 @@ async def update(

skip_queue : typing.Optional[SkipQueueEnum]

strict_task_overlap : typing.Optional[bool]

task_data_login : typing.Optional[str]
Task data credentials: login

Expand Down Expand Up @@ -1829,6 +1836,7 @@ async def main() -> None:
show_skip_button=show_skip_button,
show_unused_data_columns_to_annotators=show_unused_data_columns_to_annotators,
skip_queue=skip_queue,
strict_task_overlap=strict_task_overlap,
task_data_login=task_data_login,
task_data_password=task_data_password,
title=title,
Expand Down
8 changes: 8 additions & 0 deletions src/label_studio_sdk/projects/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ def update(
show_skip_button: typing.Optional[bool] = OMIT,
show_unused_data_columns_to_annotators: typing.Optional[bool] = OMIT,
skip_queue: typing.Optional[SkipQueueEnum] = OMIT,
strict_task_overlap: typing.Optional[bool] = OMIT,
task_data_login: typing.Optional[str] = OMIT,
task_data_password: typing.Optional[str] = OMIT,
title: typing.Optional[str] = OMIT,
Expand Down Expand Up @@ -680,6 +681,8 @@ def update(

skip_queue : typing.Optional[SkipQueueEnum]

strict_task_overlap : typing.Optional[bool]

task_data_login : typing.Optional[str]
Task data credentials: login

Expand Down Expand Up @@ -754,6 +757,7 @@ def update(
"show_skip_button": show_skip_button,
"show_unused_data_columns_to_annotators": show_unused_data_columns_to_annotators,
"skip_queue": skip_queue,
"strict_task_overlap": strict_task_overlap,
"task_data_login": task_data_login,
"task_data_password": task_data_password,
"title": title,
Expand Down Expand Up @@ -1676,6 +1680,7 @@ async def update(
show_skip_button: typing.Optional[bool] = OMIT,
show_unused_data_columns_to_annotators: typing.Optional[bool] = OMIT,
skip_queue: typing.Optional[SkipQueueEnum] = OMIT,
strict_task_overlap: typing.Optional[bool] = OMIT,
task_data_login: typing.Optional[str] = OMIT,
task_data_password: typing.Optional[str] = OMIT,
title: typing.Optional[str] = OMIT,
Expand Down Expand Up @@ -1799,6 +1804,8 @@ async def update(

skip_queue : typing.Optional[SkipQueueEnum]

strict_task_overlap : typing.Optional[bool]

task_data_login : typing.Optional[str]
Task data credentials: login

Expand Down Expand Up @@ -1873,6 +1880,7 @@ async def update(
"show_skip_button": show_skip_button,
"show_unused_data_columns_to_annotators": show_unused_data_columns_to_annotators,
"skip_queue": skip_queue,
"strict_task_overlap": strict_task_overlap,
"task_data_login": task_data_login,
"task_data_password": task_data_password,
"title": title,
Expand Down
10 changes: 10 additions & 0 deletions src/label_studio_sdk/prompts/runs/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def create(
*,
project: int,
job_id: typing.Optional[str] = OMIT,
only_missing_predictions: typing.Optional[bool] = OMIT,
organization: typing.Optional[int] = OMIT,
predictions_updated_at: typing.Optional[dt.datetime] = OMIT,
project_subset: typing.Optional[ProjectSubsetEnum] = OMIT,
Expand Down Expand Up @@ -134,6 +135,9 @@ def create(
job_id : typing.Optional[str]
Job ID for inference job for a ModelRun e.g. Adala job ID

only_missing_predictions : typing.Optional[bool]
When true, only tasks without successful predictions for this prompt version are submitted for inference.

organization : typing.Optional[int]

predictions_updated_at : typing.Optional[dt.datetime]
Expand Down Expand Up @@ -172,6 +176,7 @@ def create(
version_id,
project=project,
job_id=job_id,
only_missing_predictions=only_missing_predictions,
organization=organization,
predictions_updated_at=predictions_updated_at,
project_subset=project_subset,
Expand Down Expand Up @@ -331,6 +336,7 @@ async def create(
*,
project: int,
job_id: typing.Optional[str] = OMIT,
only_missing_predictions: typing.Optional[bool] = OMIT,
organization: typing.Optional[int] = OMIT,
predictions_updated_at: typing.Optional[dt.datetime] = OMIT,
project_subset: typing.Optional[ProjectSubsetEnum] = OMIT,
Expand Down Expand Up @@ -359,6 +365,9 @@ async def create(
job_id : typing.Optional[str]
Job ID for inference job for a ModelRun e.g. Adala job ID

only_missing_predictions : typing.Optional[bool]
When true, only tasks without successful predictions for this prompt version are submitted for inference.

organization : typing.Optional[int]

predictions_updated_at : typing.Optional[dt.datetime]
Expand Down Expand Up @@ -405,6 +414,7 @@ async def main() -> None:
version_id,
project=project,
job_id=job_id,
only_missing_predictions=only_missing_predictions,
organization=organization,
predictions_updated_at=predictions_updated_at,
project_subset=project_subset,
Expand Down
10 changes: 10 additions & 0 deletions src/label_studio_sdk/prompts/runs/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def create(
*,
project: int,
job_id: typing.Optional[str] = OMIT,
only_missing_predictions: typing.Optional[bool] = OMIT,
organization: typing.Optional[int] = OMIT,
predictions_updated_at: typing.Optional[dt.datetime] = OMIT,
project_subset: typing.Optional[ProjectSubsetEnum] = OMIT,
Expand Down Expand Up @@ -130,6 +131,9 @@ def create(
job_id : typing.Optional[str]
Job ID for inference job for a ModelRun e.g. Adala job ID

only_missing_predictions : typing.Optional[bool]
When true, only tasks without successful predictions for this prompt version are submitted for inference.

organization : typing.Optional[int]

predictions_updated_at : typing.Optional[dt.datetime]
Expand All @@ -155,6 +159,7 @@ def create(
method="POST",
json={
"job_id": job_id,
"only_missing_predictions": only_missing_predictions,
"organization": organization,
"predictions_updated_at": predictions_updated_at,
"project": project,
Expand Down Expand Up @@ -321,6 +326,7 @@ async def create(
*,
project: int,
job_id: typing.Optional[str] = OMIT,
only_missing_predictions: typing.Optional[bool] = OMIT,
organization: typing.Optional[int] = OMIT,
predictions_updated_at: typing.Optional[dt.datetime] = OMIT,
project_subset: typing.Optional[ProjectSubsetEnum] = OMIT,
Expand Down Expand Up @@ -349,6 +355,9 @@ async def create(
job_id : typing.Optional[str]
Job ID for inference job for a ModelRun e.g. Adala job ID

only_missing_predictions : typing.Optional[bool]
When true, only tasks without successful predictions for this prompt version are submitted for inference.

organization : typing.Optional[int]

predictions_updated_at : typing.Optional[dt.datetime]
Expand All @@ -374,6 +383,7 @@ async def create(
method="POST",
json={
"job_id": job_id,
"only_missing_predictions": only_missing_predictions,
"organization": organization,
"predictions_updated_at": predictions_updated_at,
"project": project,
Expand Down
1 change: 1 addition & 0 deletions src/label_studio_sdk/types/all_roles_project_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class AllRolesProjectList(UncheckedBaseModel):
"""

state: typing.Optional[str] = None
strict_task_overlap: typing.Optional[bool] = None
task_number: typing.Optional[int] = pydantic.Field(default=None)
"""
Total task number in project
Expand Down
1 change: 1 addition & 0 deletions src/label_studio_sdk/types/lse_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class LseProject(UncheckedBaseModel):
"""

state: typing.Optional[str] = None
strict_task_overlap: typing.Optional[bool] = None
task_data_login: typing.Optional[str] = pydantic.Field(default=None)
"""
Task data credentials: login
Expand Down
1 change: 1 addition & 0 deletions src/label_studio_sdk/types/lse_project_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class LseProjectResponse(UncheckedBaseModel):
"""

state: typing.Optional[str] = None
strict_task_overlap: typing.Optional[bool] = None
task_data_login: typing.Optional[str] = pydantic.Field(default=None)
"""
Task data credentials: login
Expand Down
1 change: 1 addition & 0 deletions src/label_studio_sdk/types/lse_project_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class LseProjectUpdate(UncheckedBaseModel):
"""

state: typing.Optional[str] = None
strict_task_overlap: typing.Optional[bool] = None
task_data_login: typing.Optional[str] = pydantic.Field(default=None)
"""
Task data credentials: login
Expand Down
Loading