Mitch
01/11/2024, 4:00 PMFailed to load collection 'prefect_aws': ImportError: cannot import name 'BlockNotSavedError' from 'prefect.blocks.core'
Nate
01/11/2024, 4:18 PMMitch
01/11/2024, 4:21 PMMitch
01/11/2024, 4:31 PMNate
01/11/2024, 4:44 PMMitch
01/11/2024, 7:37 PMprefecthq/prefect:2.10.20-python3.10
), and not creating the dockerfile or env for the worker. Is there an easy way to specify the installation in the command to specify the prefect-aws versionEmil Christensen
01/11/2024, 10:02 PMprefect-aws
on December 11th that was released as version 0.4.6.Emil Christensen
01/11/2024, 10:03 PM--install-policy
command, but there is a way to do so with environment variables.Emil Christensen
01/11/2024, 10:05 PMEXTRA_PIP_PACKAGES
which will install any packages on image start. This happens as part of our entrypoint to the image. So if you set EXTRA_PIP_PACKAGES="prefect-aws<0.4.6"
I believe that should fix it.Emil Christensen
01/11/2024, 10:07 PMAwsCredentials
block in the UI or by calling its .save
method that presumably you’re instantiating dynamically… at least that’s what I think based on that code message.