You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/23 00:55:57 UTC

[GitHub] [airflow] pateash commented on pull request #19446: #16691 Providing more information in docs for DataprocCreateCluster operator migration

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org