pateash commented on pull request #19446:
URL: https://github.com/apache/airflow/pull/19446#issuecomment-999967073


   > @pateash I am facing similar issue with **DataprocCreateClusterOperator** 
as well(Airflow 2+) . Also I see **metadata** field in 
DataprocCreateClusterOperator is of type Sequence[Tuple[str, str]] but the 
ClusterGenerator() has type dict for metadata field. This seems to contradict. 
I see this branch is merged. Also as per my knowledge ClusterGenerator() is 
deprecated method. Could you let me know the fix for newer Operator
   
   @guptaneha0908 **ClusterGenerator()** has been kept for easy migration, 
ideally you should have our CLUSTER_CONFIG as dictionary. You can avoid using 
ClusterGenerator by creating CLUSTER_CONFIG from it once and then storing that 
dictionary and passing to DataProcClusterCreateOperator going forward.
   


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