madhusudhan0542 opened a new issue #17573:
URL: https://github.com/apache/airflow/issues/17573


   ### Discussed in https://github.com/apache/airflow/discussions/17569
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **madhusudhan0542** August 12, 2021</sup>
   My intent is to create a Operator folder in dags folder 
(airflow/dags/operator/) and place my operators in use there. so that I can 
create a repository at git for dags folder and when I make changes to operator 
which can reflect to the repository and then the team members can also clone 
accordingly
   
   airflow
    |--dags
    |      |--operators
    |      |       |--MsSqlOperator.py
    |      |--dag_file.py
    |      |--dag_file1.py
    |      |--dag_file2.py
    |
   
   here while I was trying to import Class from the MsSqlOperator.py I was 
unable to import, were it states MsSqlOperator is undefined because airflow 
can't point to dags folder while importing , How can I import my operator file 
which is in dags/operators/  folder
   
   thank you in advance!
   
   </div>


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