Skip to content

Commit 2461e11

Browse files
committed
type
1 parent f425483 commit 2461e11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from typing import TypedDict
22

3-
class ImportProjectParams(TypedDict):
3+
class ImportProject(TypedDict):
44
pass

src/opengeodeweb_viewer/rpc/utils_protocols.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from opengeodeweb_viewer.vtk_protocol import VtkView
1010
from opengeodeweb_microservice.database import connection
1111
from opengeodeweb_viewer.utils_functions import validate_schema
12-
from opengeodeweb_viewer.rpc.schemas.import_project import ImportProjectParams
12+
from opengeodeweb_viewer.rpc.schemas.import_project import ImportProject
1313

1414

1515
class VtkUtilsView(VtkView):
@@ -30,7 +30,7 @@ def kill(self) -> None:
3030
os._exit(0)
3131

3232
@exportRpc(utils_prefix + utils_schemas_dict["import_project"]["rpc"])
33-
def importProject(self, rpc_params: ImportProjectParams) -> None:
33+
def importProject(self, rpc_params: ImportProject) -> None:
3434
print(
3535
f"{self.utils_prefix + self.utils_schemas_dict['import_project']['rpc']}",
3636
flush=True,

0 commit comments

Comments
 (0)