Robin
07/19/2024, 6:55 PMS3Bucket block in a prefect flow in prefect 3.
However, I get the following error because in prefect_aws.s3 SecretStr is imported from prefect 2 and it still using __modify_schema .
Do you already have this on your radar?
pydantic.errors.PydanticUserError: The `__modify_schema__` method is not supported in Pydantic v2. Use `__get_pydantic_json_schema__` instead in class `SecretStr`.Robin
07/19/2024, 8:35 PM