File tree 1 file changed +2
-2
lines changed
airflow/providers/apache/beam/hooks 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ def start_python_pipeline(
273
273
self .log .info ("Beam version: %s" , beam_version )
274
274
impersonate_service_account = variables .get ("impersonate_service_account" )
275
275
if impersonate_service_account :
276
- if Version (beam_version ) < Version ("2.39.0" ) or True :
276
+ if Version (beam_version ) < Version ("2.39.0" ):
277
277
raise AirflowException (
278
278
"The impersonateServiceAccount option requires Apache Beam 2.39.0 or newer."
279
279
)
@@ -490,7 +490,7 @@ async def start_python_pipeline_async(
490
490
self .log .info ("Beam version: %s" , beam_version )
491
491
impersonate_service_account = variables .get ("impersonate_service_account" )
492
492
if impersonate_service_account :
493
- if Version (beam_version ) < Version ("2.39.0" ) or True :
493
+ if Version (beam_version ) < Version ("2.39.0" ):
494
494
raise AirflowException (
495
495
"The impersonateServiceAccount option requires Apache Beam 2.39.0 or newer."
496
496
)
You can’t perform that action at this time.
0 commit comments