supervisely 6.73.313__py3-none-any.whl → 6.73.314__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/app/widgets/bokeh/bokeh.py +9 -0
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/METADATA +1 -1
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/RECORD +7 -7
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/LICENSE +0 -0
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/WHEEL +0 -0
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.313.dist-info → supervisely-6.73.314.dist-info}/top_level.txt +0 -0
|
@@ -10,7 +10,10 @@ from uuid import uuid4
|
|
|
10
10
|
from fastapi.responses import HTMLResponse
|
|
11
11
|
from pydantic import BaseModel
|
|
12
12
|
|
|
13
|
+
from supervisely._utils import is_production
|
|
14
|
+
from supervisely.api.api import Api
|
|
13
15
|
from supervisely.app.widgets import Widget
|
|
16
|
+
from supervisely.io.env import task_id as env_task_id
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
class DebouncedEventHandler:
|
|
@@ -241,6 +244,12 @@ class Bokeh(Widget):
|
|
|
241
244
|
from bokeh.models import CustomJS # pylint: disable=import-error
|
|
242
245
|
|
|
243
246
|
route_path = self.get_route_path(Bokeh.Routes.VALUE_CHANGED)
|
|
247
|
+
|
|
248
|
+
if is_production():
|
|
249
|
+
api = Api()
|
|
250
|
+
task_info = api.task.get_info_by_id(env_task_id())
|
|
251
|
+
if task_info is not None:
|
|
252
|
+
route_path = f"/net/{task_info['meta']['sessionToken']}{route_path}"
|
|
244
253
|
callback = CustomJS(
|
|
245
254
|
args=dict(source=self._source),
|
|
246
255
|
code=f"""
|
|
@@ -129,7 +129,7 @@ supervisely/app/widgets/binded_input_number/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
|
129
129
|
supervisely/app/widgets/binded_input_number/binded_input_number.py,sha256=RXTAGaMXtGOl4pprVLyQosr61t2rI_U_U8VNHhSyBhA,6251
|
|
130
130
|
supervisely/app/widgets/binded_input_number/template.html,sha256=uCEZ54BNC2itr39wxxThXw62WlJ9659cuz8osCm0WZE,162
|
|
131
131
|
supervisely/app/widgets/bokeh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
|
-
supervisely/app/widgets/bokeh/bokeh.py,sha256=
|
|
132
|
+
supervisely/app/widgets/bokeh/bokeh.py,sha256=ta1LtmfzJNs0D62Zx30SwDMtmdrRumzotkRiVbBKeWk,13636
|
|
133
133
|
supervisely/app/widgets/bokeh/template.html,sha256=ntsh7xx4q9OHG62sa_r3INDxsXgvdPFIWTtYaWn_0t8,12
|
|
134
134
|
supervisely/app/widgets/button/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
135
135
|
supervisely/app/widgets/button/button.py,sha256=ddAXJqnotoeqgbmi_ewNE9jQqxjdu-NFdqpSsYu8a4Q,10561
|
|
@@ -1075,9 +1075,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1075
1075
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1076
1076
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1077
1077
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1078
|
-
supervisely-6.73.
|
|
1079
|
-
supervisely-6.73.
|
|
1080
|
-
supervisely-6.73.
|
|
1081
|
-
supervisely-6.73.
|
|
1082
|
-
supervisely-6.73.
|
|
1083
|
-
supervisely-6.73.
|
|
1078
|
+
supervisely-6.73.314.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1079
|
+
supervisely-6.73.314.dist-info/METADATA,sha256=tkFe5LFrkVUYUTeEIxFSOeaMTKdD2Yd5d5ELJNV7ONo,33596
|
|
1080
|
+
supervisely-6.73.314.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
1081
|
+
supervisely-6.73.314.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1082
|
+
supervisely-6.73.314.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1083
|
+
supervisely-6.73.314.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|