77
88import httpx
99
10- from ..._types import Body , Omit , Query , Headers , NotGiven , omit , not_given
10+ from ..._types import Body , Omit , Query , Headers , NotGiven , SequenceNotStr , omit , not_given
1111from ..._utils import maybe_transform , async_maybe_transform
1212from ..._compat import cached_property
1313from ..._resource import SyncAPIResource , AsyncAPIResource
@@ -100,8 +100,12 @@ def create(
100100 thresholds : Iterable [test_create_params .Threshold ],
101101 type : Literal ["integrity" , "consistency" , "performance" ],
102102 archived : bool | Omit = omit ,
103+ default_to_all_pipelines : Optional [bool ] | Omit = omit ,
103104 delay_window : Optional [float ] | Omit = omit ,
104105 evaluation_window : Optional [float ] | Omit = omit ,
106+ exclude_pipelines : Optional [SequenceNotStr [str ]] | Omit = omit ,
107+ include_historical_data : Optional [bool ] | Omit = omit ,
108+ include_pipelines : Optional [SequenceNotStr [str ]] | Omit = omit ,
105109 uses_ml_model : bool | Omit = omit ,
106110 uses_production_data : bool | Omit = omit ,
107111 uses_reference_dataset : bool | Omit = omit ,
@@ -128,11 +132,23 @@ def create(
128132
129133 archived: Whether the test is archived.
130134
135+ default_to_all_pipelines: Whether to apply the test to all pipelines (data sources) or to a specific set
136+ of pipelines. Only applies to tests that use production data.
137+
131138 delay_window: The delay window in seconds. Only applies to tests that use production data.
132139
133140 evaluation_window: The evaluation window in seconds. Only applies to tests that use production
134141 data.
135142
143+ exclude_pipelines: Array of pipelines (data sources) to which the test should not be applied. Only
144+ applies to tests that use production data.
145+
146+ include_historical_data: Whether to include historical data in the test result. Only applies to tests
147+ that use production data.
148+
149+ include_pipelines: Array of pipelines (data sources) to which the test should be applied. Only
150+ applies to tests that use production data.
151+
136152 uses_ml_model: Whether the test uses an ML model.
137153
138154 uses_production_data: Whether the test uses production data (monitoring mode only).
@@ -163,8 +179,12 @@ def create(
163179 "thresholds" : thresholds ,
164180 "type" : type ,
165181 "archived" : archived ,
182+ "default_to_all_pipelines" : default_to_all_pipelines ,
166183 "delay_window" : delay_window ,
167184 "evaluation_window" : evaluation_window ,
185+ "exclude_pipelines" : exclude_pipelines ,
186+ "include_historical_data" : include_historical_data ,
187+ "include_pipelines" : include_pipelines ,
168188 "uses_ml_model" : uses_ml_model ,
169189 "uses_production_data" : uses_production_data ,
170190 "uses_reference_dataset" : uses_reference_dataset ,
@@ -357,8 +377,12 @@ async def create(
357377 thresholds : Iterable [test_create_params .Threshold ],
358378 type : Literal ["integrity" , "consistency" , "performance" ],
359379 archived : bool | Omit = omit ,
380+ default_to_all_pipelines : Optional [bool ] | Omit = omit ,
360381 delay_window : Optional [float ] | Omit = omit ,
361382 evaluation_window : Optional [float ] | Omit = omit ,
383+ exclude_pipelines : Optional [SequenceNotStr [str ]] | Omit = omit ,
384+ include_historical_data : Optional [bool ] | Omit = omit ,
385+ include_pipelines : Optional [SequenceNotStr [str ]] | Omit = omit ,
362386 uses_ml_model : bool | Omit = omit ,
363387 uses_production_data : bool | Omit = omit ,
364388 uses_reference_dataset : bool | Omit = omit ,
@@ -385,11 +409,23 @@ async def create(
385409
386410 archived: Whether the test is archived.
387411
412+ default_to_all_pipelines: Whether to apply the test to all pipelines (data sources) or to a specific set
413+ of pipelines. Only applies to tests that use production data.
414+
388415 delay_window: The delay window in seconds. Only applies to tests that use production data.
389416
390417 evaluation_window: The evaluation window in seconds. Only applies to tests that use production
391418 data.
392419
420+ exclude_pipelines: Array of pipelines (data sources) to which the test should not be applied. Only
421+ applies to tests that use production data.
422+
423+ include_historical_data: Whether to include historical data in the test result. Only applies to tests
424+ that use production data.
425+
426+ include_pipelines: Array of pipelines (data sources) to which the test should be applied. Only
427+ applies to tests that use production data.
428+
393429 uses_ml_model: Whether the test uses an ML model.
394430
395431 uses_production_data: Whether the test uses production data (monitoring mode only).
@@ -420,8 +456,12 @@ async def create(
420456 "thresholds" : thresholds ,
421457 "type" : type ,
422458 "archived" : archived ,
459+ "default_to_all_pipelines" : default_to_all_pipelines ,
423460 "delay_window" : delay_window ,
424461 "evaluation_window" : evaluation_window ,
462+ "exclude_pipelines" : exclude_pipelines ,
463+ "include_historical_data" : include_historical_data ,
464+ "include_pipelines" : include_pipelines ,
425465 "uses_ml_model" : uses_ml_model ,
426466 "uses_production_data" : uses_production_data ,
427467 "uses_reference_dataset" : uses_reference_dataset ,
0 commit comments