Skip to content

Commit 915d829

Browse files
committed
Merge branch 'fix/database' of https://github.com/Geode-solutions/OpenGeodeWeb-Viewer into fix/database
2 parents cacb35b + 4460b0c commit 915d829

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/opengeodeweb_viewer/rpc/viewer/viewer_protocols.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ def resetVisualization(
8484

8585
@exportRpc(viewer_prefix + viewer_schemas_dict["set_background_color"]["rpc"])
8686
def setBackgroundColor(
87-
self, params: dict[str, Union[str, int, float, bool, dict[str, Union[str, int, float]]]]
87+
self,
88+
params: dict[
89+
str, Union[str, int, float, bool, dict[str, Union[str, int, float]]]
90+
],
8891
) -> None:
8992
validate_schema(
9093
params, self.viewer_schemas_dict["set_background_color"], self.viewer_prefix
@@ -264,7 +267,18 @@ def toggleAxes(self, params: dict[str, Union[str, int, float, bool]]) -> None:
264267

265268
@exportRpc(viewer_prefix + viewer_schemas_dict["update_camera"]["rpc"])
266269
def updateCamera(
267-
self, params: dict[str, Union[str, int, float, bool, dict[str, Union[str, int, float, list[float]]], list[float]]]
270+
self,
271+
params: dict[
272+
str,
273+
Union[
274+
str,
275+
int,
276+
float,
277+
bool,
278+
dict[str, Union[str, int, float, list[float]]],
279+
list[float],
280+
],
281+
],
268282
) -> None:
269283
validate_schema(
270284
params, self.viewer_schemas_dict["update_camera"], self.viewer_prefix

0 commit comments

Comments
 (0)