supervisely 6.73.364__py3-none-any.whl → 6.73.366__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.
- supervisely/api/image_api.py +9 -5
- supervisely/app/fastapi/index.html +2 -0
- supervisely/app/fastapi/subapp.py +2 -0
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/METADATA +1 -1
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/RECORD +9 -9
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/LICENSE +0 -0
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/WHEEL +0 -0
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.364.dist-info → supervisely-6.73.366.dist-info}/top_level.txt +0 -0
supervisely/api/image_api.py
CHANGED
|
@@ -874,6 +874,7 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
874
874
|
ids: List[int],
|
|
875
875
|
progress_cb: Optional[Union[tqdm, Callable]] = None,
|
|
876
876
|
force_metadata_for_links=True,
|
|
877
|
+
fields: Optional[List[str]] = None,
|
|
877
878
|
) -> List[ImageInfo]:
|
|
878
879
|
"""
|
|
879
880
|
Get Images information by ID.
|
|
@@ -912,13 +913,16 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
912
913
|
dataset_id = image_info.dataset_id
|
|
913
914
|
for batch in batched(ids):
|
|
914
915
|
filters = [{"field": ApiField.ID, "operator": "in", "value": batch}]
|
|
916
|
+
data = {
|
|
917
|
+
ApiField.DATASET_ID: dataset_id,
|
|
918
|
+
ApiField.FILTER: filters,
|
|
919
|
+
ApiField.FORCE_METADATA_FOR_LINKS: force_metadata_for_links,
|
|
920
|
+
}
|
|
921
|
+
if fields is not None:
|
|
922
|
+
data[ApiField.FIELDS] = fields
|
|
915
923
|
temp_results = self.get_list_all_pages(
|
|
916
924
|
"images.list",
|
|
917
|
-
|
|
918
|
-
ApiField.DATASET_ID: dataset_id,
|
|
919
|
-
ApiField.FILTER: filters,
|
|
920
|
-
ApiField.FORCE_METADATA_FOR_LINKS: force_metadata_for_links,
|
|
921
|
-
},
|
|
925
|
+
data,
|
|
922
926
|
)
|
|
923
927
|
results.extend(temp_results)
|
|
924
928
|
if progress_cb is not None and len(temp_results) > 0:
|
|
@@ -93,7 +93,9 @@
|
|
|
93
93
|
{% if __app_session_info_solid__ %} {% if __app_session_info_extra_content__ %}
|
|
94
94
|
class="app-session-header-solid extended-app-header" {% else %} class="app-session-header-solid" {% endif %}
|
|
95
95
|
{% else %} {% if __app_session_info_extra_content__ %} class="extended-app-header" {% endif %} {% endif %}>
|
|
96
|
+
{% if __show_header__ %}
|
|
96
97
|
<sly-app-header v-if="session" :session="session" :data="data" :state="state"></sly-app-header>
|
|
98
|
+
{% endif %}
|
|
97
99
|
{% if __app_session_info_extra_content__ %}
|
|
98
100
|
{{{__app_session_info_extra_content__}}} {% endif %}
|
|
99
101
|
</div>
|
|
@@ -904,10 +904,12 @@ class Application(metaclass=Singleton):
|
|
|
904
904
|
ready_check_function: Optional[
|
|
905
905
|
Callable
|
|
906
906
|
] = None, # function to check if the app is ready for requests (e.g serving app: model is served and ready)
|
|
907
|
+
show_header: bool = True,
|
|
907
908
|
):
|
|
908
909
|
self._favicon = os.environ.get("icon", "https://cdn.supervise.ly/favicon.ico")
|
|
909
910
|
JinjaWidgets().context["__favicon__"] = self._favicon
|
|
910
911
|
JinjaWidgets().context["__no_html_mode__"] = True
|
|
912
|
+
JinjaWidgets().context["__show_header__"] = show_header
|
|
911
913
|
|
|
912
914
|
self._static_dir = static_dir
|
|
913
915
|
|
|
@@ -30,7 +30,7 @@ supervisely/api/entities_collection_api.py,sha256=lIF10PVgdUOEjcG7dJuxgpN30cnmxw
|
|
|
30
30
|
supervisely/api/file_api.py,sha256=EX_Cam93QkR5SOOIkIznkzERIr0u7N7GHVGK27iOm20,92952
|
|
31
31
|
supervisely/api/github_api.py,sha256=NIexNjEer9H5rf5sw2LEZd7C1WR-tK4t6IZzsgeAAwQ,623
|
|
32
32
|
supervisely/api/image_annotation_tool_api.py,sha256=YcUo78jRDBJYvIjrd-Y6FJAasLta54nnxhyaGyanovA,5237
|
|
33
|
-
supervisely/api/image_api.py,sha256=
|
|
33
|
+
supervisely/api/image_api.py,sha256=XeIhj_-PKO-78DcnbwLDRb68zR84oeA18ZmAUk536Zg,224565
|
|
34
34
|
supervisely/api/import_storage_api.py,sha256=BDCgmR0Hv6OoiRHLCVPKt3iDxSVlQp1WrnKhAK_Zl84,460
|
|
35
35
|
supervisely/api/issues_api.py,sha256=BqDJXmNoTzwc3xe6_-mA7FDFC5QQ-ahGbXk_HmpkSeQ,17925
|
|
36
36
|
supervisely/api/labeling_job_api.py,sha256=5xorizIYJlyBi-XtPiMyFz-COKR0V_KR5zVhd1kutSM,55187
|
|
@@ -94,11 +94,11 @@ supervisely/app/development/sly-net.sh,sha256=-EVburj4NtS7Dw4OiwXXolYu9SXvui83F-
|
|
|
94
94
|
supervisely/app/fastapi/__init__.py,sha256=kNhkaGuBKn9-GNnPOmikIHqhjL-j66xmZaBbjCmXfAo,460
|
|
95
95
|
supervisely/app/fastapi/custom_static_files.py,sha256=5todaVIvUG9sAt6vu1IujJn8N7zTmFhVUfeCVbuXbvc,3391
|
|
96
96
|
supervisely/app/fastapi/dialog_window.html,sha256=ffaAxjK0TQRa7RrY5oA4uE6RzFuS0VnRG1pfoIzTqVM,1183
|
|
97
|
-
supervisely/app/fastapi/index.html,sha256=
|
|
97
|
+
supervisely/app/fastapi/index.html,sha256=nhdJ4mbGFZVnaAvhs6RhTB8WS86t8th_KH2-FwoQLTM,8200
|
|
98
98
|
supervisely/app/fastapi/no_html_main.html,sha256=NhQP7noyORBx72lFh1CQKgBRupkWjiq6Gaw-9Hkvg7c,37
|
|
99
99
|
supervisely/app/fastapi/offline.py,sha256=CwMMkJ1frD6wiZS-SEoNDtQ1UJcJe1Ob6ohE3r4CQL8,7414
|
|
100
100
|
supervisely/app/fastapi/request.py,sha256=NU7rKmxJ1pfkDZ7_yHckRcRAueJRQIqCor11UO2OHr8,766
|
|
101
|
-
supervisely/app/fastapi/subapp.py,sha256=
|
|
101
|
+
supervisely/app/fastapi/subapp.py,sha256=SaADl_q7t1mak6V8lLqM57HppmYLP-kPHOdzQ2DxBRY,45779
|
|
102
102
|
supervisely/app/fastapi/templating.py,sha256=pcghBW2OWVrNtplZuYa-mx04ektLiSvnBg-mhmyCoJc,2929
|
|
103
103
|
supervisely/app/fastapi/utils.py,sha256=t_UquzlFrdkKtAJmH6eJ279pE8Aa3BaIu4XjX-SEaIE,946
|
|
104
104
|
supervisely/app/fastapi/websocket.py,sha256=TlRSPOAhRItTv1HGvdukK1ZvhRjMUxRa-lJlsRR9rJw,1308
|
|
@@ -1097,9 +1097,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1097
1097
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1098
1098
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1099
1099
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1100
|
-
supervisely-6.73.
|
|
1101
|
-
supervisely-6.73.
|
|
1102
|
-
supervisely-6.73.
|
|
1103
|
-
supervisely-6.73.
|
|
1104
|
-
supervisely-6.73.
|
|
1105
|
-
supervisely-6.73.
|
|
1100
|
+
supervisely-6.73.366.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1101
|
+
supervisely-6.73.366.dist-info/METADATA,sha256=D0oFVWgu9m_evVu6gv36pV16j2PwflyxVF5AeAXjVnc,35151
|
|
1102
|
+
supervisely-6.73.366.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1103
|
+
supervisely-6.73.366.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1104
|
+
supervisely-6.73.366.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1105
|
+
supervisely-6.73.366.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|