Vease-Viewer 2.3.17rc8__py3-none-any.whl → 2.3.18rc1__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 Vease-Viewer might be problematic. Click here for more details.

@@ -3,8 +3,9 @@ import os
3
3
  import importlib.metadata as metadata
4
4
 
5
5
  # Third party imports
6
- from opengeodeweb_viewer.utils_functions import get_schemas_dict, validate_schema
7
- from vtk.web import protocols as vtk_protocols
6
+ from opengeodeweb_microservice.schemas import get_schemas_dict
7
+ from opengeodeweb_viewer.utils_functions import validate_schema, RpcParams
8
+ from vtkmodules.web import protocols as vtk_protocols
8
9
  from wslink import register as exportRpc
9
10
 
10
11
  # Local application imports
@@ -14,17 +15,17 @@ class VtkVeaseViewerView(vtk_protocols.vtkWebProtocol):
14
15
  prefix = "vease_viewer."
15
16
  schemas_dict = get_schemas_dict(os.path.join(os.path.dirname(__file__), "schemas"))
16
17
 
17
- def __init__(self):
18
+ def __init__(self) -> None:
18
19
  super().__init__()
19
20
 
20
21
  @exportRpc(prefix + schemas_dict["microservice_version"]["rpc"])
21
- def microservice_version(self, params):
22
+ def microservice_version(self, rpc_params: RpcParams) -> dict[str, str]:
22
23
  print(
23
24
  self.prefix + self.schemas_dict["microservice_version"]["rpc"],
24
- f"{params=}",
25
+ f"{rpc_params=}",
25
26
  flush=True,
26
27
  )
27
- validate_schema(params, self.schemas_dict["microservice_version"])
28
+ validate_schema(rpc_params, self.schemas_dict["microservice_version"])
28
29
 
29
30
  return {"microservice_version": metadata.distribution("vease_viewer").version}
30
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Vease-Viewer
3
- Version: 2.3.17rc8
3
+ Version: 2.3.18rc1
4
4
  Summary: Vease-Viewer is the viewer microservice of Vease
5
5
  Author-email: Geode-solutions <team-web@geode-solutions.com>
6
6
  Project-URL: Homepage, https://github.com/Geode-solutions/Vease-Viewer
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: <3.13,>=3.9
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: opengeodeweb-viewer==1.*,>=1.11.3rc9
14
+ Requires-Dist: opengeodeweb-viewer==1.*,>=1.11.6rc1
15
15
  Dynamic: license-file
16
16
 
17
17
  # Vease-Viewer
@@ -0,0 +1,9 @@
1
+ vease_viewer/app.py,sha256=8TGdMB4jhKmWWpoEJ6Lq9QyLd4D2H559YZwvA1AC2ZI,454
2
+ vease_viewer/rpc/protocols.py,sha256=33BLqxeIZi4oCh3xF5OOQrbkTFxBngRhNCKbiYLFoW4,1202
3
+ vease_viewer/rpc/schemas/microservice_version.json,sha256=AjOLp1fuLNcP_4YpQIQRSSNDPznfTUkf6kbqBjIPo0o,126
4
+ vease_viewer-2.3.18rc1.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
5
+ vease_viewer-2.3.18rc1.dist-info/METADATA,sha256=Vdg-zvj9lAUfsBvMiQW3DcQMI9lkTLS6fflwqnv5TSo,658
6
+ vease_viewer-2.3.18rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ vease_viewer-2.3.18rc1.dist-info/entry_points.txt,sha256=n39U_EW4l0moq5yJ-yavxNP3WHf_L5AITJpez8H2TWg,61
8
+ vease_viewer-2.3.18rc1.dist-info/top_level.txt,sha256=ulf1U3rlf8f1kleu7P2T6vZIhVgwi5aS1_qgNaSwiwA,13
9
+ vease_viewer-2.3.18rc1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- vease_viewer/app.py,sha256=8TGdMB4jhKmWWpoEJ6Lq9QyLd4D2H559YZwvA1AC2ZI,454
2
- vease_viewer/rpc/protocols.py,sha256=pK_wKNdG_edG9nLRK8kGZs3OZb6N430Y_kuyeDlLfHQ,1090
3
- vease_viewer/rpc/schemas/microservice_version.json,sha256=AjOLp1fuLNcP_4YpQIQRSSNDPznfTUkf6kbqBjIPo0o,126
4
- vease_viewer-2.3.17rc8.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
5
- vease_viewer-2.3.17rc8.dist-info/METADATA,sha256=Mk6Pa77icUGcijYt4oduJNlo_r0l3it9-z1_yQqvwDE,658
6
- vease_viewer-2.3.17rc8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- vease_viewer-2.3.17rc8.dist-info/entry_points.txt,sha256=n39U_EW4l0moq5yJ-yavxNP3WHf_L5AITJpez8H2TWg,61
8
- vease_viewer-2.3.17rc8.dist-info/top_level.txt,sha256=ulf1U3rlf8f1kleu7P2T6vZIhVgwi5aS1_qgNaSwiwA,13
9
- vease_viewer-2.3.17rc8.dist-info/RECORD,,