@@ -154,8 +154,7 @@ def _validate_config_resources(config: typing.Dict[str, typing.Any]) -> bool:
154154 except (BadRequest , ServerError ):
155155 logging .exception (
156156 "🛑 Error when trying to create a BigQuery dataset "
157- "in project `%s`. 🛑" ,
158- project )
157+ "in project `%s`. 🛑" , project )
159158 return False
160159 finally :
161160 try :
@@ -229,6 +228,8 @@ def validate_config(
229228 config ["deployOracleEBS" ] = config .get ("deployOracleEBS" , False )
230229 config ["deployDataMesh" ] = config .get ("deployDataMesh" , False )
231230 config ["testData" ] = config .get ("testData" , False )
231+ config ["enableTaskDependencies" ] = config .get ("enableTaskDependencies" ,
232+ False )
232233 config ["turboMode" ] = config .get ("turboMode" , True )
233234
234235 config ["location" ] = config .get ("location" )
@@ -268,8 +269,8 @@ def validate_config(
268269 vertexai_region = "europe-west1"
269270 else :
270271 vertexai_region = "us-central1"
271- logging .warning (
272- "⚠️ No Vertex AI region specified. Using `%s`. ⚠️" , vertexai_region )
272+ logging .warning ("⚠️ No Vertex AI region specified. Using `%s`. ⚠️" ,
273+ vertexai_region )
273274 config ["VertexAI" ]["region" ] = vertexai_region
274275 else :
275276 vertexai_region = config ["VertexAI" ]["region" ].lower ()
@@ -290,9 +291,8 @@ def validate_config(
290291 "processingDataset" )
291292 if not config ["VertexAI" ]["processingDataset" ]:
292293 vertex_pd_default = "CORTEX_VERTEX_AI_PROCESSING"
293- logging .warning (
294- "⚠️ No Vertex AI dataset specified. Using `%s`. ⚠️" ,
295- vertex_pd_default )
294+ logging .warning ("⚠️ No Vertex AI dataset specified. Using `%s`. ⚠️" ,
295+ vertex_pd_default )
296296 config ["VertexAI" ]["processingDataset" ] = vertex_pd_default
297297
298298 if config ["deployDataMesh" ] and "DataMesh" not in config :
@@ -303,6 +303,10 @@ def validate_config(
303303 config ["testHarnessVersion" ] = config .get ("testHarnessVersion" ,
304304 constants .TEST_HARNESS_VERSION )
305305
306+ logging .info ("Fetching Cortex version." )
307+ config ["cortexVersion" ] = config .get ("cortexVersion" ,
308+ constants .CORTEX_VERSION )
309+
306310 logging .info ("Validating common configuration resources." )
307311 try :
308312 _validate_config_resources (config )
0 commit comments