Skip to content

Commit 7283b02

Browse files
committed
object not iterable
1 parent bc6c54f commit 7283b02

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/opengeodeweb_viewer/rpc/mesh/points/mesh_points_protocols.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Standard library imports
22
import os
3-
from typing import cast
43

54
# Third party imports
65
from wslink import register as exportRpc

src/opengeodeweb_viewer/utils_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
type RpcParamsWithList = dict[str, JsonPrimitive | list[str]]
1616

1717

18-
def get_schemas_dict(path: str) -> object:
18+
def get_schemas_dict(path: str) -> dict[str, dict[str, JsonValue]]:
1919
json_files = os.listdir(path)
20-
schemas_dict = {}
20+
schemas_dict: dict[str, dict[str, JsonValue]] = {}
2121
for json_file in json_files:
2222
last_point = json_file.rfind(".")
2323
filename = json_file[: -len(json_file) + last_point]

0 commit comments

Comments
 (0)