Skip to content

Commit 7470c34

Browse files
remove utils suffix
1 parent 2eb8e26 commit 7470c34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/opengeodeweb_viewer/rpc/utils_protocols.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class VtkUtilsView(VtkView):
14-
mesh_prefix = "opengeodeweb_viewer.utils"
14+
mesh_prefix = "opengeodeweb_viewer."
1515
mesh_schemas_dict = get_schemas_dict(
1616
os.path.join(os.path.dirname(__file__), "schemas")
1717
)
@@ -20,7 +20,6 @@ def __init__(self) -> None:
2020
super().__init__()
2121

2222
@exportRpc(mesh_prefix + mesh_schemas_dict["kill"]["rpc"])
23-
def kill(self, params) -> None:
24-
validate_schema(params, self.mesh_schemas_dict["kill"], self.mesh_prefix)
23+
def kill(self) -> None:
2524
print("Manual viewer kill, shutting down...", flush=True)
2625
os._exit(0)

0 commit comments

Comments
 (0)