Lee-W commented on PR #46231:
URL: https://github.com/apache/airflow/pull/46231#issuecomment-2630128600

   > > > > May I know what is 
[test_zip.zip](https://github.com/apache/airflow/pull/46231/files#diff-e7119e5543b7e06772411ff4addb8796acc9dfa5d671bc937fce641ca6c01924)
 and why do we need it?
   > > > 
   > > > 
   > > > You can deploy dag in zip files. I assume that the example dag in that 
zip contains EmptyOperator
   > > 
   > > 
   > > @amoghrajesh Is it possible for us to zip it through script instead of 
just uploading a zip file? It's hard to know what's actually inside the zip
   > 
   > Hmm, its been done this way historically too, I guess we can but I can do 
it in a follow up if thats ok? I will list the zip changes here:
   > 
   > ```
   > (airflow) ➜  dags git:(AIP72-move-empty-operator) ✗ ls -lR test_zip    
   > total 16
   > -rw-r--r--  1 amoghdesai  staff   566 Jun 16  2018 file_no_airflow_dag.py
   > -rw-r--r--  1 amoghdesai  staff  1171 Jan 30 12:50 test_zip.py
   > drwxr-xr-x  4 amoghdesai  staff   128 Apr 13  2016 test_zip_module
   > 
   > test_zip/test_zip_module:
   > total 8
   > -rw-r--r--  1 amoghdesai  staff    0 Apr 13  2016 __init__.py
   > -rw-r--r--  1 amoghdesai  staff  642 Apr 13  2016 test.py
   > ```
   
   Yep, I know it's done this way previously. If this is blocking something, we 
can create an issue for tracking this and do it in follow up PRs. Thanks!


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