Tibs
01/10/2023, 7:17 AMWarning! Failed to load collection 'prefect_aws_ecs': ImportError: cannot import name 'AwsCredentials' from partially initialized module 'prefect_aws' (most likely due to a circular import)
My import statement:
from prefect_aws.credentials import AwsCredentials
from prefect_aws.s3 import S3Bucket
from prefect_aws.ecs import ECSTask
prefect-aws version 0.1.8alex
01/10/2023, 1:30 PMprefect-aws
. Are you able to upgrade to 0.2.2?Tibs
01/10/2023, 1:32 PMfrom prefect_aws.credentials import AwsCredentials
from prefect_aws.s3 import S3Bucket
from prefect_aws.ecs import ECSTask
alex
01/10/2023, 2:42 PMpip install mypy_boto3_s3
Tibs
01/10/2023, 2:49 PMalex
01/10/2023, 2:53 PMprefect-aws
, so I don’t expect any issues. If you do experience any issues, let us know!