saguziel commented on a change in pull request #7363: [AIRFLOW-6730] Use 
total_seconds instead of seconds
URL: https://github.com/apache/airflow/pull/7363#discussion_r385388599
 
 

 ##########
 File path: tests/providers/google/cloud/operators/test_dataproc.py
 ##########
 @@ -104,7 +104,7 @@
         "autoscaling_config": {"policy_uri": "autoscaling_policy"},
         "config_bucket": "storage_bucket",
         "initialization_actions": [
-            {"executable_file": "init_actions_uris", "execution_timeout": 
"600s"}
+            {"executable_file": "init_actions_uris", "execution_timeout": 
"600.0s"}
 
 Review comment:
   the python typing indicates float, but I think that is just within the 
airflow project.
   
   I will just cast it to int since that is guaranteed to not break anything

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to