supervisely 6.73.293__py3-none-any.whl → 6.73.294__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of supervisely might be problematic. Click here for more details.
- supervisely/api/image_api.py +5 -1
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/METADATA +1 -1
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/RECORD +7 -7
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/LICENSE +0 -0
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/WHEEL +0 -0
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.293.dist-info → supervisely-6.73.294.dist-info}/top_level.txt +0 -0
supervisely/api/image_api.py
CHANGED
|
@@ -391,6 +391,7 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
391
391
|
project_id: Optional[int] = None,
|
|
392
392
|
only_labelled: Optional[bool] = False,
|
|
393
393
|
fields: Optional[List[str]] = None,
|
|
394
|
+
recursive: Optional[bool] = False,
|
|
394
395
|
) -> List[ImageInfo]:
|
|
395
396
|
"""
|
|
396
397
|
List of Images in the given :class:`Dataset<supervisely.project.project.Dataset>`.
|
|
@@ -415,6 +416,8 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
415
416
|
:type only_labelled: bool, optional
|
|
416
417
|
:param fields: List of fields to return. If None, returns all fields.
|
|
417
418
|
:type fields: List[str], optional
|
|
419
|
+
:param recursive: If True, returns all images from dataset recursively (including images in nested datasets).
|
|
420
|
+
:type recursive: bool, optional
|
|
418
421
|
:return: Objects with image information from Supervisely.
|
|
419
422
|
:rtype: :class:`List[ImageInfo]<ImageInfo>`
|
|
420
423
|
:Usage example:
|
|
@@ -474,6 +477,7 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
474
477
|
ApiField.SORT: sort,
|
|
475
478
|
ApiField.SORT_ORDER: sort_order,
|
|
476
479
|
ApiField.FORCE_METADATA_FOR_LINKS: force_metadata_for_links,
|
|
480
|
+
ApiField.RECURSIVE: recursive,
|
|
477
481
|
}
|
|
478
482
|
if only_labelled:
|
|
479
483
|
data[ApiField.FILTERS] = [
|
|
@@ -4537,7 +4541,7 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
4537
4541
|
loop = sly.utils.get_or_create_event_loop()
|
|
4538
4542
|
images = loop.run_until_complete(api.image.get_list_async(123456, per_page=600))
|
|
4539
4543
|
"""
|
|
4540
|
-
|
|
4544
|
+
|
|
4541
4545
|
method = "images.list"
|
|
4542
4546
|
dataset_info = kwargs.get("dataset_info", None)
|
|
4543
4547
|
|
|
@@ -28,7 +28,7 @@ supervisely/api/dataset_api.py,sha256=GH7prDRJKyJlTv_7_Y-RkTwJN7ED4EkXNqqmi3iIdI
|
|
|
28
28
|
supervisely/api/file_api.py,sha256=v2FsD3oljwNPqcDgEJRe8Bu5k0PYKzVhqmRb5QFaHAQ,83422
|
|
29
29
|
supervisely/api/github_api.py,sha256=NIexNjEer9H5rf5sw2LEZd7C1WR-tK4t6IZzsgeAAwQ,623
|
|
30
30
|
supervisely/api/image_annotation_tool_api.py,sha256=YcUo78jRDBJYvIjrd-Y6FJAasLta54nnxhyaGyanovA,5237
|
|
31
|
-
supervisely/api/image_api.py,sha256=
|
|
31
|
+
supervisely/api/image_api.py,sha256=WIML_6N1qgOWBm3acexmGSWz4hAaSxlYmUtbytROaP8,192375
|
|
32
32
|
supervisely/api/import_storage_api.py,sha256=BDCgmR0Hv6OoiRHLCVPKt3iDxSVlQp1WrnKhAK_Zl84,460
|
|
33
33
|
supervisely/api/issues_api.py,sha256=BqDJXmNoTzwc3xe6_-mA7FDFC5QQ-ahGbXk_HmpkSeQ,17925
|
|
34
34
|
supervisely/api/labeling_job_api.py,sha256=odnzZjp29yM16Gq-FYkv-OA4WFMNJCLFo4qSikW2A7c,56280
|
|
@@ -1071,9 +1071,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1071
1071
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1072
1072
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1073
1073
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1074
|
-
supervisely-6.73.
|
|
1075
|
-
supervisely-6.73.
|
|
1076
|
-
supervisely-6.73.
|
|
1077
|
-
supervisely-6.73.
|
|
1078
|
-
supervisely-6.73.
|
|
1079
|
-
supervisely-6.73.
|
|
1074
|
+
supervisely-6.73.294.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1075
|
+
supervisely-6.73.294.dist-info/METADATA,sha256=tgjdB_FSwcOSyWj9_Mxkeije_FDbelZVyzWcy4vGTDo,33573
|
|
1076
|
+
supervisely-6.73.294.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
1077
|
+
supervisely-6.73.294.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1078
|
+
supervisely-6.73.294.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1079
|
+
supervisely-6.73.294.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|