actually my dag file count increases but dag file not shows on dag file list and broken dag: module not found error but I install required packages..but still got an error,what can I do?

I installed requred packages but still got error ..so let me know where I was wrong thats why it shows problem...and how I resolve this

1

There are 1 best solutions below

0
Andrey Anshin On BEST ANSWER

airflow.providers.amazon.transfers is incorrect package path

LocalToS3Operator is incorrect class name

If you use the latest (v8.17.0 at that moment) Amazon Provider you should use this import

from airflow.providers.amazon.aws.transfers.local_to_s3 import LocalFilesystemToS3Operator