https://dagster.io/ logo
#ask-community
Title
# ask-community
n

Nicolas Huray

04/24/2023, 6:10 PM
Hi guys, I would like to wrap the
s3_resource
to the new pythonic style. I read in the documentation couple of weeks ago we can use
ConfigurableLegacyResourceAdapter
but it looks like now it's in a private package
_config
.
c

chris

04/24/2023, 10:19 PM
cc @ben to fact check me on this one but I think we have gone back on using
ConfigurableLegacyResourceAdapter
as the method of migration - I think the preferred method is to instead wrap a pythonic resource in the old s3_resource style and migrate outward as outlined in this guide: https://docs.dagster.io/guides/dagster/migrating-to-pythonic-resources-and-config#step-1-converting-to-a-pythonic-resource
b

ben

04/24/2023, 10:20 PM
Hi Nicolas, there’s also the new
S3Resource
in the
dagster-aws
package you can use directly if you’re using 1.3+
n

Nicolas Huray

04/24/2023, 10:56 PM
@ben Thanks I did not see that.
Yes I'm using 1.3.1
2 Views