[ 
https://issues.apache.org/jira/browse/AIRFLOW-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015377#comment-17015377
 ] 

Kamil Bregula commented on AIRFLOW-6546:
----------------------------------------

It seems that the cycles have already been blocked in the API. Hurra  Do you 
want to work on this ticket?

I have prepared a piece of code that can be helpful for you.

[https://pastebin.com/hDAiQPUZ]

If you want to write a copy operator, I'd write two methods in hook - 
list_files_recursive. It should also support filtering using wildcard. Another 
method can download a file to the specified directory. Operators can use this 
methods and NamedTemporaryFile to transfer files to GCS.

> add GDriveToGcsOperator
> -----------------------
>
>                 Key: AIRFLOW-6546
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6546
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: gcp
>    Affects Versions: 1.10.6
>            Reporter: lovk korm
>            Priority: Major
>
> There is GcsToGDriveOperator but there isn't the equivalent in the other 
> direction
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to