Skip to content

Commit 111c7a4

Browse files
update version to accept latest consys4py fix
- update geometry type to GeometrySchema and - bump consys4py version to 0.0.1b3
1 parent 389fa85 commit 111c7a4

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

oshconnect/core_datamodels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from typing import List
1010

11-
from consys4py.datamodels.swe_components import Geometry
11+
from consys4py.datamodels.swe_components import GeometrySchema
1212
from consys4py.datamodels.datastreams import DatastreamSchema
1313
from consys4py.datamodels.api_utils import Link
1414
from pydantic import BaseModel, ConfigDict, Field, SerializeAsAny
@@ -94,7 +94,7 @@ class SystemResource(BaseModel):
9494
feature_type: str = Field(None, serialization_alias="type")
9595
system_id: str = Field(None, serialization_alias="id")
9696
properties: dict = Field(None)
97-
geometry: Geometry | None = Field(None)
97+
geometry: GeometrySchema | None = Field(None)
9898
bbox: BoundingBox = Field(None)
9999
links: List[Link] = Field(None)
100100
description: str = Field(None)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "oshconnect"
3-
version = "0.2.4"
3+
version = "0.2.4-1"
44
description = "Library for interfacing with OSH, helping guide visualization efforts, and providing a place to store configurations."
55
readme = "README.md"
66
authors = [
@@ -11,7 +11,7 @@ dependencies = [
1111
"pydantic<3.0.0,>=2.7.4",
1212
"shapely<3.0.0,>=2.0.4",
1313
"websockets<13.0,>=12.0",
14-
"consys4py<1.0.0,>=0.0.1b1",
14+
"consys4py<1.0.0,>=0.0.1b3",
1515
"swecommondm<1.0.0,>=0.0.1a0",
1616
]
1717

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)