guotongfei commented on pull request #18755:
URL: https://github.com/apache/airflow/pull/18755#issuecomment-941265102
@uranusjr Looks like Literal is not available:
ImportError while importing test module
'/opt/airflow/tests/providers/amazon/aws/transfers/test_mysql_to_s3.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/providers/amazon/aws/transfers/test_mysql_to_s3.py:25: in <module>
from airflow.providers.amazon.aws.transfers.mysql_to_s3 import
MySQLToS3Operator
airflow/providers/amazon/aws/transfers/mysql_to_s3.py:24: in <module>
from typing import Literal, Optional, Union
E ImportError: cannot import name 'Literal'
Any suggestions?
--
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]