Skip to content

Commit 1c599c6

Browse files
committed
SDK regeneration
1 parent 11be4c8 commit 1c599c6

14 files changed

+62
-12
lines changed

.mock/definition/__package__.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ types:
253253
ground_truth_number:
254254
type: integer
255255
docs: Honeypot annotation number in project
256-
has_blueprints: string
257256
id: integer
258257
is_draft:
259258
type: optional<boolean>
@@ -385,6 +384,11 @@ types:
385384
openapi: openapi/openapi.yaml
386385
inline: true
387386
Annotation:
387+
docs: |-
388+
A ModelSerializer that takes additional arguments for
389+
"fields", "omit" and "expand" in order to
390+
control which fields are displayed, and whether to replace simple
391+
values with complex, nested serializations
388392
properties:
389393
bulk_created:
390394
type: optional<boolean>
@@ -560,6 +564,11 @@ types:
560564
openapi: openapi/openapi.yaml
561565
inline: true
562566
AnnotationRequest:
567+
docs: |-
568+
A ModelSerializer that takes additional arguments for
569+
"fields", "omit" and "expand" in order to
570+
control which fields are displayed, and whether to replace simple
571+
values with complex, nested serializations
563572
properties:
564573
bulk_created:
565574
type: optional<boolean>
@@ -4271,6 +4280,7 @@ types:
42714280
docs: Task Serializer with project scheme configs validation
42724281
properties:
42734282
agreement: string
4283+
agreement_filtered: string
42744284
annotations: string
42754285
annotations_ids: string
42764286
annotations_results: string
@@ -4717,6 +4727,7 @@ types:
47174727
docs: Task Serializer with project scheme configs validation
47184728
properties:
47194729
agreement: string
4730+
agreement_filtered: string
47204731
annotations: string
47214732
annotations_ids: string
47224733
annotations_results: string

.mock/definition/projects.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ service:
199199
expert_instruction: expert_instruction
200200
finished_task_number: 1
201201
ground_truth_number: 1
202-
has_blueprints: has_blueprints
203202
id: 1
204203
is_draft: true
205204
is_published: true

.mock/definition/prompts.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ service:
234234
expert_instruction: expert_instruction
235235
finished_task_number: 1
236236
ground_truth_number: 1
237-
has_blueprints: has_blueprints
238237
id: 1
239238
is_draft: true
240239
is_published: true

.mock/definition/tasks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ service:
170170
body:
171171
tasks:
172172
- agreement: agreement
173+
agreement_filtered: agreement_filtered
173174
annotations: annotations
174175
annotations_ids: annotations_ids
175176
annotations_results: annotations_results
@@ -329,6 +330,7 @@ service:
329330
response:
330331
body:
331332
agreement: agreement
333+
agreement_filtered: agreement_filtered
332334
annotations: annotations
333335
annotations_ids: annotations_ids
334336
annotations_results: annotations_results
@@ -482,6 +484,7 @@ service:
482484
response:
483485
body:
484486
agreement: agreement
487+
agreement_filtered: agreement_filtered
485488
annotations: annotations
486489
annotations_ids: annotations_ids
487490
annotations_results: annotations_results

.mock/openapi/openapi.yaml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16466,9 +16466,6 @@ components:
1646616466
description: Honeypot annotation number in project
1646716467
readOnly: true
1646816468
type: integer
16469-
has_blueprints:
16470-
readOnly: true
16471-
type: string
1647216469
id:
1647316470
readOnly: true
1647416471
type: integer
@@ -16634,7 +16631,6 @@ components:
1663416631
- description_short
1663516632
- finished_task_number
1663616633
- ground_truth_number
16637-
- has_blueprints
1663816634
- id
1663916635
- members
1664016636
- members_count
@@ -16668,6 +16664,11 @@ components:
1666816664
- only
1666916665
- exclude
1667016666
Annotation:
16667+
description: |-
16668+
A ModelSerializer that takes additional arguments for
16669+
"fields", "omit" and "expand" in order to
16670+
control which fields are displayed, and whether to replace simple
16671+
values with complex, nested serializations
1667116672
properties:
1667216673
bulk_created:
1667316674
description: Annotation was created in bulk mode
@@ -16779,6 +16780,11 @@ components:
1677916780
- updated_at
1678016781
type: object
1678116782
AnnotationBulkSerializerWithSelectedItemsRequest:
16783+
description: |-
16784+
A ModelSerializer that takes additional arguments for
16785+
"fields", "omit" and "expand" in order to
16786+
control which fields are displayed, and whether to replace simple
16787+
values with complex, nested serializations
1678216788
properties:
1678316789
bulk_created:
1678416790
description: Annotation was created in bulk mode
@@ -16962,6 +16968,11 @@ components:
1696216968
- id
1696316969
type: object
1696416970
AnnotationRequest:
16971+
description: |-
16972+
A ModelSerializer that takes additional arguments for
16973+
"fields", "omit" and "expand" in order to
16974+
control which fields are displayed, and whether to replace simple
16975+
values with complex, nested serializations
1696516976
properties:
1696616977
bulk_created:
1696716978
description: Annotation was created in bulk mode
@@ -22030,6 +22041,9 @@ components:
2203022041
agreement:
2203122042
readOnly: true
2203222043
type: string
22044+
agreement_filtered:
22045+
readOnly: true
22046+
type: string
2203322047
annotations:
2203422048
readOnly: true
2203522049
type: string
@@ -22230,6 +22244,7 @@ components:
2223022244
type: array
2223122245
required:
2223222246
- agreement
22247+
- agreement_filtered
2223322248
- annotations
2223422249
- annotations_ids
2223522250
- annotations_results
@@ -22559,6 +22574,9 @@ components:
2255922574
agreement:
2256022575
readOnly: true
2256122576
type: string
22577+
agreement_filtered:
22578+
readOnly: true
22579+
type: string
2256222580
annotations:
2256322581
readOnly: true
2256422582
type: string
@@ -22759,6 +22777,7 @@ components:
2275922777
type: array
2276022778
required:
2276122779
- agreement
22780+
- agreement_filtered
2276222781
- annotations
2276322782
- annotations_ids
2276422783
- annotations_results

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jsonschema = ">=4.23.0"
4545
lxml = ">=4.2.5"
4646
nltk = "^3.9.1"
4747
numpy = ">=1.26.4,<3.0.0"
48-
opencv-python = "^4.9.0"
48+
opencv-python = "^4.12.0"
4949
pandas = ">=0.24.0"
5050
pydantic = ">= 1.9.2"
5151
pydantic-core = "^2.18.2"

src/label_studio_sdk/types/all_roles_project_list.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ class AllRolesProjectList(UncheckedBaseModel):
8181
Honeypot annotation number in project
8282
"""
8383

84-
has_blueprints: str
8584
id: int
8685
is_draft: typing.Optional[bool] = pydantic.Field(default=None)
8786
"""

src/label_studio_sdk/types/annotation.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010

1111
class Annotation(UncheckedBaseModel):
12+
"""
13+
A ModelSerializer that takes additional arguments for
14+
"fields", "omit" and "expand" in order to
15+
control which fields are displayed, and whether to replace simple
16+
values with complex, nested serializations
17+
"""
18+
1219
bulk_created: typing.Optional[bool] = pydantic.Field(default=None)
1320
"""
1421
Annotation was created in bulk mode

src/label_studio_sdk/types/annotation_request.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010

1111
class AnnotationRequest(UncheckedBaseModel):
12+
"""
13+
A ModelSerializer that takes additional arguments for
14+
"fields", "omit" and "expand" in order to
15+
control which fields are displayed, and whether to replace simple
16+
values with complex, nested serializations
17+
"""
18+
1219
bulk_created: typing.Optional[bool] = pydantic.Field(default=None)
1320
"""
1421
Annotation was created in bulk mode

0 commit comments

Comments
 (0)