GitHub user potiuk added a comment to the discussion: Facing intermittent issue 
in DAG

No - nothing special there. Maybe you have another `pygments` package on the 
path somewhere and it gets on the way? Or might be embedded oin your zip code? 
There is nothing **special** airflow does, it only runs importlib.import with 
the DAG, but yeah - if you have time synchronization issues - for example - 
between the instances, Python's internal handling of .pyc files based on 
timestamp might be causing some effects (but for that you'd have to have 
different versions of those files around. 

The best thign you can do - modify that line of code that throws that expection 
and let it raise a more detailed - full stack-trace exception including looking 
at `__path__` property of the module you have problem with to see where it is 
imported from ?

GitHub link: 
https://github.com/apache/airflow/discussions/50390#discussioncomment-13088504

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to