File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1111 'data' )
1212
1313
14+ @pytest .mark .usefixtures ("prefect" )
1415class TestHydraulicsDataSource :
1516
1617 def test_get_catalog_from_file (self ):
Original file line number Diff line number Diff line change 1010 'data' )
1111
1212
13+ @pytest .mark .usefixtures ("prefect" )
1314class TestSeismicityDataSource :
1415
1516 def test_get_catalog_from_file (self ):
Original file line number Diff line number Diff line change @@ -61,12 +61,11 @@ class ForecastSeriesConfig(CreationInfoMixin):
6161 hydws_url : str | None = None
6262
6363 @model_validator (mode = 'after' )
64- @classmethod
65- def validate_observation_window (cls , values ):
66- if values .observation_starttime and values .observation_window :
64+ def validate_observation_window (self ):
65+ if self .observation_starttime and self .observation_window :
6766 raise ValueError ("You can't set both observation_starttime "
6867 "and observation_window." )
69- return values
68+ return self
7069
7170 @field_validator ('bounding_polygon' , mode = 'before' )
7271 @classmethod
You can’t perform that action at this time.
0 commit comments