-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into refac/cloud
- Loading branch information
Showing
20 changed files
with
219 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# Issue module | ||
|
||
::: kili.presentation.client.issue.IssueClientMethods | ||
::: kili.entrypoints.queries.issue.__init__.QueriesIssue | ||
::: kili.entrypoints.mutations.issue.__init__.MutationsIssue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,8 +73,7 @@ def append_many_to_dataset( | |
If None, random identifiers are created. | ||
id_array: Disabled parameter. Do not use. | ||
is_honeypot_array: Whether to use the asset for honeypot | ||
status_array: By default, all imported assets are set to `TODO`. Other options: | ||
`ONGOING`, `LABELED`, `REVIEWED`. | ||
status_array: DEPRECATED and does not have any effect. | ||
json_content_array: Useful for `VIDEO` or `TEXT` projects only. | ||
- For `VIDEO` projects, each element is a sequence of frames, i.e. a | ||
|
@@ -88,7 +87,9 @@ def append_many_to_dataset( | |
Example for one asset: `json_metadata_array = [{'imageUrl': '','text': '','url': ''}]`. | ||
- For VIDEO projects (and not VIDEO_LEGACY), you can specify a value with key 'processingParameters' to specify the sampling rate (default: 30). | ||
Example for one asset: `json_metadata_array = [{'processingParameters': {'framesPlayedPerSecond': 10}}]`. | ||
- For Image projects, if you work with geotiff, you can specify a value with key 'processingParameters' to specify the minimum and maximum zoom level. | ||
- In Image projects with geoTIFF assets, you can specify the `minZoom` and `maxZoom` values for the `processingParameters` key. | ||
The `minZoom` parameter defines the zoom level that users are not allowed to zoom out from. | ||
The `maxZoom` value affects asset generation: the higher the value, the greater the level of details and the size of the asset. | ||
Example for one asset: `json_metadata_array = [{'processingParameters': {'minZoom': 17, 'maxZoom': 19}}]`. | ||
disable_tqdm: If `True`, the progress bar will be disabled | ||
wait_until_availability: If `True`, the function will return once the assets are fully imported in Kili. | ||
|
@@ -134,8 +135,8 @@ def append_many_to_dataset( | |
|
||
if status_array is not None: | ||
warnings.warn( | ||
"status_array is deprecated, asset status is automatically computed based on" | ||
" its labels and cannot be overwritten.", | ||
"status_array is deprecated and will not be sent in the call. Asset status is" | ||
" automatically computed based on its labels and cannot be overwritten.", | ||
DeprecationWarning, | ||
stacklevel=1, | ||
) | ||
|
@@ -154,7 +155,6 @@ def append_many_to_dataset( | |
"json_content": json_content_array, | ||
"external_id": external_id_array, | ||
"id": id_array, | ||
"status": status_array, | ||
"json_metadata": json_metadata_array, | ||
"is_honeypot": is_honeypot_array, | ||
} | ||
|
@@ -213,8 +213,7 @@ def update_properties_in_assets( | |
is a text formatted using RichText. | ||
- For a Video project, the`json_content` is a json containg urls pointing | ||
to each frame of the video. | ||
status_array: Each element should be in `TODO`, `ONGOING`, `LABELED`, | ||
`TO_REVIEW`, `REVIEWED`. | ||
status_array: DEPRECATED and does not have any effect. | ||
is_used_for_consensus_array: Whether to use the asset to compute consensus kpis or not. | ||
is_honeypot_array: Whether to use the asset for honeypot. | ||
project_id: The project ID. Only required if `external_ids` argument is provided. | ||
|
@@ -238,7 +237,6 @@ def update_properties_in_assets( | |
is_honeypot_array=[True, True], | ||
is_used_for_consensus_array=[True, False], | ||
priorities=[None, 2], | ||
status_array=['LABELED', 'REVIEWED'], | ||
to_be_labeled_by_array=[['[email protected]'], None], | ||
) | ||
|
@@ -266,12 +264,11 @@ def update_properties_in_assets( | |
|
||
if status_array is not None: | ||
warnings.warn( | ||
"status_array is deprecated, asset status is automatically computed based on" | ||
" its labels and cannot be overwritten.", | ||
"status_array is deprecated and will not be sent in the call. Asset status is" | ||
" automatically computed based on its labels and cannot be overwritten.", | ||
DeprecationWarning, | ||
stacklevel=1, | ||
) | ||
|
||
if asset_ids is not None and external_ids is not None: | ||
warnings.warn( | ||
"The use of `external_ids` argument has changed. It is now used to identify" | ||
|
@@ -294,7 +291,6 @@ def update_properties_in_assets( | |
to_be_labeled_by_array=to_be_labeled_by_array, | ||
contents=contents, | ||
json_contents=json_contents, | ||
status_array=status_array, | ||
is_used_for_consensus_array=is_used_for_consensus_array, | ||
is_honeypot_array=is_honeypot_array, | ||
resolution_array=resolution_array, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.