Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"description": "",
"scripts": {
"json": "node ./node_modules/@geode/opengeodeweb-microservice/generate_schemas.js opengeodeweb_back routes route /",
"json": "npx opengeodeweb-microservice-generate opengeodeweb_back routes route /",
"test": "npm run json",
"build": "npm run json"
},
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ werkzeug==3.1.2
# flask
# flask-cors

opengeodeweb-microservice==1.*,>=1.0.8
6 changes: 6 additions & 0 deletions src/opengeodeweb_back/routes/create/schemas/create_aoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@

@dataclass
class Point(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

x: float
y: float


@dataclass
class CreateAoi(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

name: str
"""Name of the AOI"""

Expand Down
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/create/schemas/create_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

@dataclass
class CreatePoint(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

name: str
x: float
y: float
Expand Down
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/create/schemas/create_voi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

@dataclass
class CreateVoi(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

aoi_id: str
"""ID of the corresponding AOI"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class MeshComponents(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class VtmComponentIndices(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/allowed_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@

@dataclass
class AllowedFiles(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

supported_feature: Optional[str] = None
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/allowed_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@

@dataclass
class AllowedObjects(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
supported_feature: Optional[str] = None
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/export_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@

@dataclass
class ExportProject(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
snapshot: Dict[str, Any]
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@

@dataclass
class GeodeObjectsAndOutputExtensions(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
input_geode_object: str
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class GeographicCoordinateSystems(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

input_geode_object: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/import_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class ImportProject(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

pass
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/inspect_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@

@dataclass
class InspectFile(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
input_geode_object: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class Kill(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

pass
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/missing_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@

@dataclass
class MissingFiles(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
input_geode_object: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class Ping(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

pass
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class PolygonAttributeNames(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class PolyhedronAttributeNames(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/save_viewable_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@

@dataclass
class SaveViewableFile(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: str
input_geode_object: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/texture_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class TextureCoordinates(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str
3 changes: 3 additions & 0 deletions src/opengeodeweb_back/routes/schemas/upload_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@

@dataclass
class UploadFile(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

filename: Optional[str] = None
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

@dataclass
class VertexAttributeNames(DataClassJsonMixin):
def __post_init__(self) -> None:
print(self, flush=True)

id: str