Skip to content

Commit

Permalink
Improve GroundLevelPosition types
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenHosper committed Dec 17, 2024
1 parent 4033acb commit 93a8372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

- Add sourcedocument data to API.BulkImport
- Add insert GMW-documents
- Bugfix: correct GroundLevelPosition type


## 0.71 (2024-12-17)
Expand Down
8 changes: 4 additions & 4 deletions api/bro_upload/upload_datamodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class GMWGroundLevel(GMWEvent):


class GMWGroundLevelMeasuring(GMWEvent):
groundLevelPosition: str
groundLevelPosition: str | float
groundLevelPositioningMethod: str


Expand Down Expand Up @@ -218,9 +218,9 @@ class MonitoringTubePositions(BaseModel):


class GMWPositions(GMWEvent):
wellStability: str | None = None
wellStability: str
groundLevelStable: str
groundLevelPosition: str
groundLevelPosition: str | float
groundLevelPositioningMethod: str
monitoringTubes: list[MonitoringTubePositions]

Expand All @@ -236,7 +236,7 @@ class GMWRemoval(GMWEvent):


class GMWShift(GMWEvent):
groundLevelPosition: str
groundLevelPosition: str | float
groundLevelPositioningMethod: str


Expand Down

0 comments on commit 93a8372

Please sign in to comment.