Skip to content

Commit

Permalink
Regenerate schemas.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed May 6, 2024
1 parent 547bb54 commit 68363df
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/ribasim/ribasim/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Config:


class BasinBoundaryconcentrationSchema(_BaseSchema):
node_id: Series[int] = pa.Field(nullable=False, default=0)
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
time: Series[Timestamp] = pa.Field(nullable=False)
substance: Series[str] = pa.Field(nullable=False)
drainage_concentration: Series[float] = pa.Field(nullable=True)
Expand All @@ -21,7 +21,7 @@ class BasinBoundaryconcentrationSchema(_BaseSchema):


class BasinConcentrationSchema(_BaseSchema):
node_id: Series[int] = pa.Field(nullable=False, default=0)
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
time: Series[Timestamp] = pa.Field(nullable=False)
substance: Series[str] = pa.Field(nullable=False)
concentration: Series[float] = pa.Field(nullable=False)
Expand Down Expand Up @@ -76,13 +76,6 @@ class DiscreteControlLogicSchema(_BaseSchema):
control_state: Series[str] = pa.Field(nullable=False)


class FlowBoundaryConcentrationSchema(_BaseSchema):
node_id: Series[int] = pa.Field(nullable=False, default=0)
time: Series[Timestamp] = pa.Field(nullable=False)
substance: Series[str] = pa.Field(nullable=False)
concentration: Series[float] = pa.Field(nullable=False)


class DiscreteControlVariableSchema(_BaseSchema):
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
compound_variable_id: Series[Int32] = pa.Field(nullable=False, default=0)
Expand All @@ -93,6 +86,13 @@ class DiscreteControlVariableSchema(_BaseSchema):
look_ahead: Series[float] = pa.Field(nullable=True)


class FlowBoundaryConcentrationSchema(_BaseSchema):
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
time: Series[Timestamp] = pa.Field(nullable=False)
substance: Series[str] = pa.Field(nullable=False)
concentration: Series[float] = pa.Field(nullable=False)


class FlowBoundaryStaticSchema(_BaseSchema):
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
active: Series[pa.BOOL] = pa.Field(nullable=True)
Expand Down Expand Up @@ -125,7 +125,7 @@ class FractionalFlowStaticSchema(_BaseSchema):


class LevelBoundaryConcentrationSchema(_BaseSchema):
node_id: Series[int] = pa.Field(nullable=False, default=0)
node_id: Series[Int32] = pa.Field(nullable=False, default=0)
time: Series[Timestamp] = pa.Field(nullable=False)
substance: Series[str] = pa.Field(nullable=False)
concentration: Series[float] = pa.Field(nullable=False)
Expand Down

0 comments on commit 68363df

Please sign in to comment.