SamWheating commented on a change in pull request #18197:
URL: https://github.com/apache/airflow/pull/18197#discussion_r711839969



##########
File path: airflow/providers/google/cloud/operators/dataproc.py
##########
@@ -527,7 +629,7 @@ def __init__(
         cluster_name: str,
         region: Optional[str] = None,
         project_id: Optional[str] = None,
-        cluster_config: Optional[Dict] = None,
+        cluster_config: Optional[Union[Dict, str]] = None,

Review comment:
       Accepting strings here might cause some issues with rendering templated 
values when a user wants to use a templated string, due to the above setting:
   
   ```
   template_fields_renderers = {'cluster_config': 'json'}
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to