Skip to content

Commit 2aca583

Browse files
authored
Merge pull request #111 from Geode-solutions/fix/print-params
fix(Schemas): print params
2 parents 6cc0d72 + 3813918 commit 2aca583

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+202
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"description": "",
55
"scripts": {
6-
"json": "node ./node_modules/@geode/opengeodeweb-microservice/generate_schemas.js opengeodeweb_viewer rpc rpc .",
6+
"json": "npx opengeodeweb-microservice-generate opengeodeweb_viewer rpc rpc .",
77
"test": "npm run json",
88
"build": "npm run json"
99
},

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ wslink==1.12.4
6161
yarl>=1
6262
# via aiohttp
6363

64-
opengeodeweb-microservice==1.*,>=1.0.8

src/opengeodeweb_viewer/rpc/generic/schemas/deregister.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44

55
@dataclass
66
class Deregister(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str

src/opengeodeweb_viewer/rpc/generic/schemas/register.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44

55
@dataclass
66
class Register(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str

src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
@dataclass
77
class ColorClass(DataClassJsonMixin):
8+
def __post_init__(self) -> None:
9+
print(self, flush=True)
10+
811
b: int
912
g: int
1013
r: int
@@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin):
1316

1417
@dataclass
1518
class Color(DataClassJsonMixin):
19+
def __post_init__(self) -> None:
20+
print(self, flush=True)
21+
1622
color: ColorClass
1723
id: str

src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44

55
@dataclass
66
class Size(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str
811
size: int

src/opengeodeweb_viewer/rpc/mesh/edges/schemas/vertex_attribute.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44

55
@dataclass
66
class VertexAttribute(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str
811
name: str

src/opengeodeweb_viewer/rpc/mesh/edges/schemas/visibility.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44

55
@dataclass
66
class Visibility(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str
811
visibility: bool

src/opengeodeweb_viewer/rpc/mesh/edges/schemas/width.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44

55
@dataclass
66
class Width(DataClassJsonMixin):
7+
def __post_init__(self) -> None:
8+
print(self, flush=True)
9+
710
id: str
811
width: float

src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
@dataclass
77
class ColorClass(DataClassJsonMixin):
8+
def __post_init__(self) -> None:
9+
print(self, flush=True)
10+
811
b: int
912
g: int
1013
r: int
@@ -13,5 +16,8 @@ class ColorClass(DataClassJsonMixin):
1316

1417
@dataclass
1518
class Color(DataClassJsonMixin):
19+
def __post_init__(self) -> None:
20+
print(self, flush=True)
21+
1622
color: ColorClass
1723
id: str

0 commit comments

Comments
 (0)