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
100 changes: 94 additions & 6 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ types:
AllRolesProjectListSampling:
discriminated: false
union:
- SamplingEnum
- SamplingDe5Enum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand Down Expand Up @@ -885,6 +885,9 @@ types:
project:
type: integer
docs: A unique integer value identifying this project.
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the container content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -961,6 +964,9 @@ types:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the container content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -1034,6 +1040,9 @@ types:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the container content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -2418,6 +2427,9 @@ types:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -2491,6 +2503,9 @@ types:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -2627,6 +2642,9 @@ types:
project:
type: integer
docs: A unique integer value identifying this project.
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -2857,6 +2875,9 @@ types:
project:
type: integer
docs: A unique integer value identifying this project.
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -2936,6 +2957,9 @@ types:
project:
type: integer
docs: A unique integer value identifying this project.
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -3323,6 +3347,9 @@ types:
project:
type: integer
docs: A unique integer value identifying this project.
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the directory content
regex_filter:
type: optional<string>
docs: Regex for filtering objects
Expand Down Expand Up @@ -3657,7 +3684,7 @@ types:
LseProjectSampling:
discriminated: false
union:
- SamplingEnum
- SamplingDe5Enum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand Down Expand Up @@ -3892,7 +3919,7 @@ types:
LseProjectCreateSampling:
discriminated: false
union:
- SamplingEnum
- SamplingDe5Enum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand Down Expand Up @@ -4055,7 +4082,7 @@ types:
LseProjectUpdateSampling:
discriminated: false
union:
- SamplingEnum
- SamplingDe5Enum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand Down Expand Up @@ -6108,7 +6135,7 @@ types:
ProjectSampling:
discriminated: false
union:
- SamplingEnum
- SamplingDe5Enum
- NullEnum
source:
openapi: openapi/openapi.yaml
Expand Down Expand Up @@ -6796,6 +6823,20 @@ types:
source:
openapi: openapi/openapi.yaml
inline: true
ReviewSettingsSampling:
discriminated: false
docs: |-
Task sampling strategy in the review stream (by task id or random)

* `task_id` - By Task ID
* `random` - Random
union:
- ReviewSettingsSamplingEnum
- BlankEnum
- NullEnum
source:
openapi: openapi/openapi.yaml
inline: true
ReviewSettings:
properties:
anonymize_annotations:
Expand Down Expand Up @@ -6831,6 +6872,18 @@ types:
review_only_manual_assignments:
type: optional<boolean>
docs: When set True, review queue is built only from manually assigned tasks
review_task_limit_percent:
type: optional<string>
docs: Percent of tasks to include in review stream (0-100). Null/0 disables.
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
sampling:
type: optional<ReviewSettingsSampling>
docs: |-
Task sampling strategy in the review stream (by task id or random)

* `task_id` - By Task ID
* `random` - Random
show_agreement_to_reviewers:
type: optional<boolean>
docs: Show the agreement column to reviewers
Expand Down Expand Up @@ -6875,6 +6928,20 @@ types:
source:
openapi: openapi/openapi.yaml
inline: true
ReviewSettingsRequestSampling:
discriminated: false
docs: |-
Task sampling strategy in the review stream (by task id or random)

* `task_id` - By Task ID
* `random` - Random
union:
- ReviewSettingsSamplingEnum
- BlankEnum
- NullEnum
source:
openapi: openapi/openapi.yaml
inline: true
ReviewSettingsRequest:
properties:
anonymize_annotations:
Expand Down Expand Up @@ -6908,6 +6975,18 @@ types:
review_only_manual_assignments:
type: optional<boolean>
docs: When set True, review queue is built only from manually assigned tasks
review_task_limit_percent:
type: optional<string>
docs: Percent of tasks to include in review stream (0-100). Null/0 disables.
validation:
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
sampling:
type: optional<ReviewSettingsRequestSampling>
docs: |-
Task sampling strategy in the review stream (by task id or random)

* `task_id` - By Task ID
* `random` - Random
show_agreement_to_reviewers:
type: optional<boolean>
docs: Show the agreement column to reviewers
Expand All @@ -6924,6 +7003,15 @@ types:
false, hides columns not referenced by the label interface
source:
openapi: openapi/openapi.yaml
ReviewSettingsSamplingEnum:
enum:
- task_id
- random
docs: |-
* `task_id` - By Task ID
* `random` - Random
source:
openapi: openapi/openapi.yaml
ReviewedEnum:
enum:
- only
Expand Down Expand Up @@ -7317,7 +7405,7 @@ types:
workspaces_groups: optional<list<list<string>>>
source:
openapi: openapi/openapi.yaml
SamplingEnum:
SamplingDe5Enum:
enum:
- value: Sequential sampling
name: SequentialSampling
Expand Down
10 changes: 10 additions & 0 deletions .mock/definition/datasetStorageAzure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -90,6 +91,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -138,6 +140,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -184,6 +187,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -229,6 +233,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -313,6 +318,9 @@ service:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the container content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -361,6 +369,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -426,6 +435,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down
10 changes: 10 additions & 0 deletions .mock/definition/datasetStorageGcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -90,6 +91,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -138,6 +140,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -184,6 +187,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -229,6 +233,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -313,6 +318,9 @@ service:
validation:
min: 0
max: 32767
recursive_scan:
type: optional<boolean>
docs: Perform recursive scan over the bucket content
regex_filter:
type: optional<string>
docs: Cloud storage regex for filtering objects
Expand Down Expand Up @@ -361,6 +369,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down Expand Up @@ -426,6 +435,7 @@ service:
prefix: prefix
presign: true
presign_ttl: 1
recursive_scan: true
regex_filter: regex_filter
status: initialized
synced: true
Expand Down
Loading
Loading