From b776ea52158dedcc348147455c085a60406e50af Mon Sep 17 00:00:00 2001 From: Arnaud Botella Date: Fri, 14 Nov 2025 14:33:36 +0100 Subject: [PATCH 1/3] fix(Schemas): print params --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ad4e435..5da3d5f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "", "scripts": { - "json": "node ./node_modules/@geode/opengeodeweb-microservice/generate_schemas.js opengeodeweb_viewer rpc rpc .", + "json": "npx opengeodeweb-microservice-generate opengeodeweb_viewer rpc rpc .", "test": "npm run json", "build": "npm run json" }, From 90d5c4e42ab74830cfe5502169d104809c0ea86a Mon Sep 17 00:00:00 2001 From: BotellaA <3213882+BotellaA@users.noreply.github.com> Date: Fri, 14 Nov 2025 13:52:31 +0000 Subject: [PATCH 2/3] Apply prepare changes --- requirements.txt | 1 - src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py | 3 +++ src/opengeodeweb_viewer/rpc/generic/schemas/register.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py | 6 ++++++ src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py | 3 +++ .../rpc/mesh/edges/schemas/vertex_attribute.py | 3 +++ .../rpc/mesh/edges/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py | 6 ++++++ src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py | 3 +++ .../rpc/mesh/points/schemas/vertex_attribute.py | 3 +++ .../rpc/mesh/points/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py | 6 ++++++ .../rpc/mesh/polygons/schemas/polygon_attribute.py | 3 +++ .../rpc/mesh/polygons/schemas/vertex_attribute.py | 3 +++ .../rpc/mesh/polygons/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py | 6 ++++++ .../rpc/mesh/polyhedra/schemas/polyhedron_attribute.py | 3 +++ .../rpc/mesh/polyhedra/schemas/vertex_attribute.py | 3 +++ .../rpc/mesh/polyhedra/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py | 6 ++++++ src/opengeodeweb_viewer/rpc/mesh/schemas/color.py | 6 ++++++ src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/schemas/register.py | 3 +++ src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py | 6 ++++++ .../rpc/model/blocks/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py | 6 ++++++ .../rpc/model/corners/schemas/visibility.py | 3 +++ .../rpc/model/edges/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py | 6 ++++++ .../rpc/model/lines/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/model/points/schemas/size.py | 3 +++ .../rpc/model/points/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/model/schemas/deregister.py | 3 +++ src/opengeodeweb_viewer/rpc/model/schemas/register.py | 3 +++ src/opengeodeweb_viewer/rpc/model/schemas/visibility.py | 3 +++ .../rpc/model/surfaces/schemas/apply_textures.py | 6 ++++++ src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py | 6 ++++++ .../rpc/model/surfaces/schemas/visibility.py | 3 +++ src/opengeodeweb_viewer/rpc/schemas/import_project.py | 3 +++ src/opengeodeweb_viewer/rpc/schemas/kill.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py | 3 +++ .../rpc/viewer/schemas/get_point_position.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/render.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py | 3 +++ .../rpc/viewer/schemas/reset_visualization.py | 3 +++ .../rpc/viewer/schemas/set_background_color.py | 6 ++++++ src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py | 3 +++ .../rpc/viewer/schemas/take_screenshot.py | 3 +++ src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py | 6 ++++++ src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py | 3 +++ 55 files changed, 201 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a7f1090..065674a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -61,4 +61,3 @@ wslink==1.12.4 yarl>=1 # via aiohttp -opengeodeweb-microservice==1.*,>=1.0.8 diff --git a/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py index f9c0aee..ef8342c 100644 --- a/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py @@ -4,4 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/generic/schemas/register.py b/src/opengeodeweb_viewer/rpc/generic/schemas/register.py index e15e699..da7418a 100644 --- a/src/opengeodeweb_viewer/rpc/generic/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/generic/schemas/register.py @@ -4,4 +4,7 @@ @dataclass class Register(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py index 87f4735..03b750c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py index d10819a..44f1f75 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py @@ -4,5 +4,8 @@ @dataclass class Size(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str size: int diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py index b6b7766..244441c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py @@ -4,5 +4,8 @@ @dataclass class VertexAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py index f51023a..f4d4add 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py @@ -4,5 +4,8 @@ @dataclass class Width(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str width: float diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py index 87f4735..03b750c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py index 3ed13eb..91ea91c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py @@ -4,5 +4,8 @@ @dataclass class Size(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str size: float diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py index b6b7766..244441c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py @@ -4,5 +4,8 @@ @dataclass class VertexAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py index 87f4735..03b750c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py index 64a1b1a..29da0da 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py @@ -4,5 +4,8 @@ @dataclass class PolygonAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py index b6b7766..244441c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py @@ -4,5 +4,8 @@ @dataclass class VertexAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py index 87f4735..03b750c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py index 465685e..0738550 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py @@ -4,5 +4,8 @@ @dataclass class PolyhedronAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py index b6b7766..244441c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py @@ -4,5 +4,8 @@ @dataclass class VertexAttribute(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str name: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py index 1a10c08..747ca4f 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py @@ -5,11 +5,17 @@ @dataclass class Texture(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str texture_name: str @dataclass class ApplyTextures(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str textures: List[Texture] diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py index a1e2a3f..390fb45 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py @@ -4,6 +4,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -11,5 +14,8 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py index f9c0aee..ef8342c 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py @@ -4,4 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py index a6215df..b1956b4 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py @@ -4,5 +4,8 @@ @dataclass class Opacity(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str opacity: float diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py index e15e699..da7418a 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py @@ -4,4 +4,7 @@ @dataclass class Register(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py index 3c52ca4..998c827 100644 --- a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,6 +16,9 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py index 0e79ba2..6206626 100644 --- a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py @@ -5,6 +5,9 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py index 3c52ca4..998c827 100644 --- a/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,6 +16,9 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py index 0e79ba2..6206626 100644 --- a/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py @@ -5,6 +5,9 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py index 3c52ca4..998c827 100644 --- a/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,6 +16,9 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py index 0e79ba2..6206626 100644 --- a/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py @@ -5,6 +5,9 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py b/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py index 3ed13eb..91ea91c 100644 --- a/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py @@ -4,5 +4,8 @@ @dataclass class Size(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str size: float diff --git a/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py index f9c0aee..ef8342c 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py @@ -4,4 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/register.py b/src/opengeodeweb_viewer/rpc/model/schemas/register.py index e15e699..da7418a 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/register.py @@ -4,4 +4,7 @@ @dataclass class Register(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py index 78c2b5c..8437a94 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py @@ -4,5 +4,8 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py index b96e9ee..b34a121 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py @@ -5,11 +5,17 @@ @dataclass class Texture(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + texture_file_name: str texture_name: str @dataclass class ApplyTextures(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str textures: List[Texture] diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py index 3c52ca4..998c827 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py @@ -5,6 +5,9 @@ @dataclass class ColorClass(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -13,6 +16,9 @@ class ColorClass(DataClassJsonMixin): @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] color: ColorClass id: str diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py index 0e79ba2..6206626 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py @@ -5,6 +5,9 @@ @dataclass class Visibility(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + block_ids: List[int] id: str visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/schemas/import_project.py b/src/opengeodeweb_viewer/rpc/schemas/import_project.py index 2fd045e..a409730 100644 --- a/src/opengeodeweb_viewer/rpc/schemas/import_project.py +++ b/src/opengeodeweb_viewer/rpc/schemas/import_project.py @@ -4,4 +4,7 @@ @dataclass class ImportProject(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + pass diff --git a/src/opengeodeweb_viewer/rpc/schemas/kill.py b/src/opengeodeweb_viewer/rpc/schemas/kill.py index f2c4b04..08d732d 100644 --- a/src/opengeodeweb_viewer/rpc/schemas/kill.py +++ b/src/opengeodeweb_viewer/rpc/schemas/kill.py @@ -4,4 +4,7 @@ @dataclass class Kill(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py index b1354f5..d63a37a 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py @@ -4,4 +4,7 @@ @dataclass class Axes(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py index 90c3859..180339d 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py @@ -4,5 +4,8 @@ @dataclass class GetPointPosition(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + x: int y: int diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py index e06adc0..4a24c38 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py @@ -4,4 +4,7 @@ @dataclass class GridScale(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py index cff05d3..0da9cdb 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py @@ -5,6 +5,9 @@ @dataclass class PickedIDS(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + ids: List[str] x: float y: float diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py index 1cbad7d..75afe80 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py @@ -4,4 +4,7 @@ @dataclass class Render(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py index f8f9674..28740f3 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py @@ -4,4 +4,7 @@ @dataclass class ResetCamera(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py index ca99bd1..08c5c9b 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py @@ -4,4 +4,7 @@ @dataclass class ResetVisualization(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py index 0302d3b..2d027b5 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py @@ -4,6 +4,9 @@ @dataclass class Color(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + b: int g: int r: int @@ -11,4 +14,7 @@ class Color(DataClassJsonMixin): @dataclass class SetBackgroundColor(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + color: Color diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py index 0a0558e..734a526 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py @@ -4,4 +4,7 @@ @dataclass class SetZScaling(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + z_scale: float diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py index c6b7df0..06f7d63 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py @@ -10,6 +10,9 @@ class OutputExtension(Enum): @dataclass class TakeScreenshot(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + filename: str include_background: bool output_extension: OutputExtension diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py index 31c470f..c66257f 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py @@ -5,6 +5,9 @@ @dataclass class CameraOptions(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + clipping_range: List[float] focal_point: List[float] position: List[float] @@ -14,4 +17,7 @@ class CameraOptions(DataClassJsonMixin): @dataclass class UpdateCamera(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + camera_options: CameraOptions diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py index 993ac81..5796f3f 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py @@ -4,4 +4,7 @@ @dataclass class UpdateData(DataClassJsonMixin): + def __post_init__(self): + print(self, flush=True) + id: str From 38139185b977d50b8ab9d1fb31732b9d5c6e4b8f Mon Sep 17 00:00:00 2001 From: JulienChampagnol <91873154+JulienChampagnol@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:07:15 +0000 Subject: [PATCH 3/3] Apply prepare changes --- src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py | 2 +- src/opengeodeweb_viewer/rpc/generic/schemas/register.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py | 4 ++-- src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py | 2 +- .../rpc/mesh/edges/schemas/vertex_attribute.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py | 4 ++-- src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py | 2 +- .../rpc/mesh/points/schemas/vertex_attribute.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py | 4 ++-- .../rpc/mesh/polygons/schemas/polygon_attribute.py | 2 +- .../rpc/mesh/polygons/schemas/vertex_attribute.py | 2 +- .../rpc/mesh/polygons/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py | 4 ++-- .../rpc/mesh/polyhedra/schemas/polyhedron_attribute.py | 2 +- .../rpc/mesh/polyhedra/schemas/vertex_attribute.py | 2 +- .../rpc/mesh/polyhedra/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py | 4 ++-- src/opengeodeweb_viewer/rpc/mesh/schemas/color.py | 4 ++-- src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/schemas/register.py | 2 +- src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py | 4 ++-- .../rpc/model/blocks/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py | 4 ++-- .../rpc/model/corners/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py | 4 ++-- src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/points/schemas/size.py | 2 +- .../rpc/model/points/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/model/schemas/deregister.py | 2 +- src/opengeodeweb_viewer/rpc/model/schemas/register.py | 2 +- src/opengeodeweb_viewer/rpc/model/schemas/visibility.py | 2 +- .../rpc/model/surfaces/schemas/apply_textures.py | 4 ++-- src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py | 4 ++-- .../rpc/model/surfaces/schemas/visibility.py | 2 +- src/opengeodeweb_viewer/rpc/schemas/import_project.py | 2 +- src/opengeodeweb_viewer/rpc/schemas/kill.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py | 2 +- .../rpc/viewer/schemas/get_point_position.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/render.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py | 2 +- .../rpc/viewer/schemas/reset_visualization.py | 2 +- .../rpc/viewer/schemas/set_background_color.py | 4 ++-- src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py | 2 +- src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py | 4 ++-- src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py | 2 +- 54 files changed, 67 insertions(+), 67 deletions(-) diff --git a/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py index ef8342c..8a9e662 100644 --- a/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py @@ -4,7 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/generic/schemas/register.py b/src/opengeodeweb_viewer/rpc/generic/schemas/register.py index da7418a..9a953cf 100644 --- a/src/opengeodeweb_viewer/rpc/generic/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/generic/schemas/register.py @@ -4,7 +4,7 @@ @dataclass class Register(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py index 03b750c..01f0222 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: ColorClass diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py index 44f1f75..dd432c0 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py @@ -4,7 +4,7 @@ @dataclass class Size(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py index 244441c..64f7c2d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py @@ -4,7 +4,7 @@ @dataclass class VertexAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py index f4d4add..eda85e6 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py +++ b/src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py @@ -4,7 +4,7 @@ @dataclass class Width(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py index 03b750c..01f0222 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: ColorClass diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py index 91ea91c..eb18279 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.py @@ -4,7 +4,7 @@ @dataclass class Size(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py index 244441c..64f7c2d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/vertex_attribute.py @@ -4,7 +4,7 @@ @dataclass class VertexAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/points/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py index 03b750c..01f0222 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: ColorClass diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py index 29da0da..ebc20a6 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/polygon_attribute.py @@ -4,7 +4,7 @@ @dataclass class PolygonAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py index 244441c..64f7c2d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/vertex_attribute.py @@ -4,7 +4,7 @@ @dataclass class VertexAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py index 03b750c..01f0222 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: ColorClass diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py index 0738550..b2cb0ba 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/polyhedron_attribute.py @@ -4,7 +4,7 @@ @dataclass class PolyhedronAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py index 244441c..64f7c2d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/vertex_attribute.py @@ -4,7 +4,7 @@ @dataclass class VertexAttribute(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/polyhedra/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py index 747ca4f..cb20d07 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.py @@ -5,7 +5,7 @@ @dataclass class Texture(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str @@ -14,7 +14,7 @@ def __post_init__(self): @dataclass class ApplyTextures(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py index 390fb45..4abb0e3 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/color.py @@ -4,7 +4,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -14,7 +14,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: ColorClass diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py index ef8342c..8a9e662 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.py @@ -4,7 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py index b1956b4..1ec574e 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.py @@ -4,7 +4,7 @@ @dataclass class Opacity(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py index da7418a..9a953cf 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/register.py @@ -4,7 +4,7 @@ @dataclass class Register(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py index 998c827..9763bc1 100644 --- a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py index 6206626..0ea3b66 100644 --- a/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/blocks/schemas/visibility.py @@ -5,7 +5,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py index 998c827..9763bc1 100644 --- a/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/corners/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py index 6206626..0ea3b66 100644 --- a/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/corners/schemas/visibility.py @@ -5,7 +5,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/edges/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py index 998c827..9763bc1 100644 --- a/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/lines/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py index 6206626..0ea3b66 100644 --- a/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/lines/schemas/visibility.py @@ -5,7 +5,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py b/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py index 91ea91c..eb18279 100644 --- a/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py +++ b/src/opengeodeweb_viewer/rpc/model/points/schemas/size.py @@ -4,7 +4,7 @@ @dataclass class Size(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/points/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py b/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py index ef8342c..8a9e662 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/deregister.py @@ -4,7 +4,7 @@ @dataclass class Deregister(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/register.py b/src/opengeodeweb_viewer/rpc/model/schemas/register.py index da7418a..9a953cf 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/register.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/register.py @@ -4,7 +4,7 @@ @dataclass class Register(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py index 8437a94..56a629d 100644 --- a/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/schemas/visibility.py @@ -4,7 +4,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py index b34a121..fb2fc21 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/apply_textures.py @@ -5,7 +5,7 @@ @dataclass class Texture(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) texture_file_name: str @@ -14,7 +14,7 @@ def __post_init__(self): @dataclass class ApplyTextures(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py index 998c827..9763bc1 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/color.py @@ -5,7 +5,7 @@ @dataclass class ColorClass(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -16,7 +16,7 @@ def __post_init__(self): @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py index 6206626..0ea3b66 100644 --- a/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py +++ b/src/opengeodeweb_viewer/rpc/model/surfaces/schemas/visibility.py @@ -5,7 +5,7 @@ @dataclass class Visibility(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) block_ids: List[int] diff --git a/src/opengeodeweb_viewer/rpc/schemas/import_project.py b/src/opengeodeweb_viewer/rpc/schemas/import_project.py index a409730..5bfde5a 100644 --- a/src/opengeodeweb_viewer/rpc/schemas/import_project.py +++ b/src/opengeodeweb_viewer/rpc/schemas/import_project.py @@ -4,7 +4,7 @@ @dataclass class ImportProject(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) pass diff --git a/src/opengeodeweb_viewer/rpc/schemas/kill.py b/src/opengeodeweb_viewer/rpc/schemas/kill.py index 08d732d..a37cb92 100644 --- a/src/opengeodeweb_viewer/rpc/schemas/kill.py +++ b/src/opengeodeweb_viewer/rpc/schemas/kill.py @@ -4,7 +4,7 @@ @dataclass class Kill(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py index d63a37a..5fdf6ef 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/axes.py @@ -4,7 +4,7 @@ @dataclass class Axes(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py index 180339d..47c2061 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/get_point_position.py @@ -4,7 +4,7 @@ @dataclass class GetPointPosition(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) x: int diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py index 4a24c38..5747671 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/grid_scale.py @@ -4,7 +4,7 @@ @dataclass class GridScale(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) visibility: bool diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py index 0da9cdb..b8ecdd9 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/picked_ids.py @@ -5,7 +5,7 @@ @dataclass class PickedIDS(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) ids: List[str] diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py index 75afe80..aeae232 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/render.py @@ -4,7 +4,7 @@ @dataclass class Render(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py index 28740f3..f07bc00 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_camera.py @@ -4,7 +4,7 @@ @dataclass class ResetCamera(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py index 08c5c9b..7bd76a2 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/reset_visualization.py @@ -4,7 +4,7 @@ @dataclass class ResetVisualization(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) pass diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py index 2d027b5..9398a5b 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_background_color.py @@ -4,7 +4,7 @@ @dataclass class Color(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) b: int @@ -14,7 +14,7 @@ def __post_init__(self): @dataclass class SetBackgroundColor(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) color: Color diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py index 734a526..bc521a6 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/set_z_scaling.py @@ -4,7 +4,7 @@ @dataclass class SetZScaling(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) z_scale: float diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py index 06f7d63..c5d2764 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/take_screenshot.py @@ -10,7 +10,7 @@ class OutputExtension(Enum): @dataclass class TakeScreenshot(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) filename: str diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py index c66257f..58a07aa 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.py @@ -5,7 +5,7 @@ @dataclass class CameraOptions(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) clipping_range: List[float] @@ -17,7 +17,7 @@ def __post_init__(self): @dataclass class UpdateCamera(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) camera_options: CameraOptions diff --git a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py index 5796f3f..c44447a 100644 --- a/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py +++ b/src/opengeodeweb_viewer/rpc/viewer/schemas/update_data.py @@ -4,7 +4,7 @@ @dataclass class UpdateData(DataClassJsonMixin): - def __post_init__(self): + def __post_init__(self) -> None: print(self, flush=True) id: str