Skip to content

Commit dbd683f

Browse files
test
1 parent d6c1df6 commit dbd683f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/opengeodeweb_viewer/rpc/utils_protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from opengeodeweb_viewer.vtk_protocol import VtkView # type: ignore
1010

1111

12-
class VtkUtilsView(VtkView): # type: ignore
12+
class VtkUtilsView(VtkView):
1313
ogw_prefix = "opengeodeweb_viewer."
1414
ogw_schemas_dict = get_schemas_dict(
1515
os.path.join(os.path.dirname(__file__), "schemas")

src/opengeodeweb_viewer/vtk_protocol.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77

88
# Local application imports
99

10+
# mypy: allow-untyped-defs
1011

11-
class VtkView(vtk_protocols.vtkWebProtocol): # type: ignore
12-
def __init__(self) -> None:
13-
super().__init__() # type: ignore
12+
13+
class VtkView(vtk_protocols.vtkWebProtocol):
14+
def __init__(self):
15+
super().__init__()
1416
self.DATA_FOLDER_PATH = os.getenv("DATA_FOLDER_PATH")
1517
self.DataReader = vtk.vtkXMLPolyDataReader()
1618
self.ImageReader = vtk.vtkXMLImageDataReader()

0 commit comments

Comments
 (0)