https://dagster.io/ logo
Title
c

Colo Carlos

11/11/2022, 7:16 AM
Hi! I'm upgrading a service from 0.12 to 1.0.* and can't find what replaced
fs_file_cache
from
dagster.core.storage.file_cache
, all I can see is that it was removed in 0.15
y

yuhan

11/11/2022, 7:36 AM
Hi Colo, there’s no direct replacement to FileCache - we removed it because it’s been rarely used and its use cases can be addressed by other concepts. I’d recommend using IO Manager or Resource instead depending on your needs. What are you using FileCache for at the moment?
c

Colo Carlos

11/11/2022, 7:46 AM
I see, thanks Yuhan! We currently use it for caching files from s3
y

yuhan

11/11/2022, 7:49 AM
Here’s an example of using s3 io managers w/ assets: https://docs.dagster.io/concepts/io-management/io-managers#applying-io-managers-to-assets
:rainbow-daggy: 1
c

Colo Carlos

11/17/2022, 7:38 AM
Hi @yuhan/all, I noticed the File Manager class became tagged as Experimental from 1.0.0 onwards. What changed here?
y

yuhan

11/17/2022, 6:27 PM
No changes there. we tagged it Experimental as part of 1.0 API surface area cleanup (e.g. tagging things that may change in the future Experimental) — File Manager wasn’t in heavy usage prior to 1.0, so as/if more use cases come up, we may improve this API. That’s the main reason why we made it experimental going to 1.0
❤️ 1
c

Colo Carlos

11/18/2022, 5:41 AM
thanks for clarifying!