Will
09/04/2023, 8:55 AMNate
09/06/2023, 2:55 PMRemoteFileSystem
in memory like that instead of worrying about mockingWill
09/06/2023, 3:29 PMNate
09/06/2023, 3:30 PMWill
09/06/2023, 3:31 PMNate
09/08/2023, 3:38 PM- fs = RemoteFileSystem(basepath="<memory://root>")
+ fs = LocalFileSystem(basepath="memory/root")
memory/root
is not a valid block-type/block-document-name
, nor is it a valid basepath
that specifies a protocol
i would think the eventual implementation would have PREFECT_DEFAULT_RESULT_STORAGE_BLOCK
accepting a block type/document slug, as the name suggests, like
s3/my-result-storage
and then maybe this would be more like
return (
Block.load(PREFECT_DEFAULT_RESULT_STORAGE_BLOCK.value())
if PREFECT_DEFAULT_RESULT_STORAGE_BLOCK.value() is not None
else LocalFileSystem(basepath=PREFECT_LOCAL_STORAGE_PATH.value())
)