denysivanov commented on issue #18598:
URL: https://github.com/apache/airflow/issues/18598#issuecomment-930244780


   @khalidmammadov I do not have an issue when I am not referencing a helper 
class.
   Issue is exists only when you reference helper.
   
   Here is my helper - when you use helper you would see an issue.
   
   ```
   import os
   from pathlib import Path
   
   
   def get_time_wait_cuy():
       return os.environ['environment']
   
   
   def get_dag_id_from_path(dag_file_path):
       path = Path(dag_file_path)
       stem = path.stem
       trimmed_path = Path(*path.parts[5:len(path.parts) - 1])
       prefix = str(trimmed_path).replace(os.path.sep, '_')
       return '__'.join([prefix, stem])
   
   
   ```


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