Hello, I get this error whenever I want to load a...
# ask-metaflow
b
Hello, I get this error whenever I want to load any artifact from MetaFlow client.
Copy code
from metaflow import Task
Task('SAFlow/29/start/212', attempt=0)['x'].data
TypeError: expected str, bytes or os.PathLike object, not NoneType
I have used the metaflow service to deploy localy. https://github.com/Netflix/metaflow-service I think this problem may be similar to this issue. https://github.com/Netflix/metaflow/issues/950 Is there anyway to have a proper local storage and not use S3 to load dags and artifacts properly with locally deployed metaflow service?
1
a
@bulky-artist-49977 the UI expects that the artifact storage is a blob store. one work around would be to use cards instead of the UI to visualize your flows.
b
Is there any way to use any other blob storage like minio with the UI service?
I did some searching and it seems that it is possible to use metaflow with other datastores. https://github.com/Netflix/metaflow/issues/682 But I don't see a straightforward guide to whether how to setup minio as a datastore. I have the following docker compose file. Can you help me with which minio image and configuration or env variables for minio, metaflow service and metflow ui I should use? I’ve seen this https://github.com/outerbounds/metaflow-with-airflow-minio Isn’t there any simpler format using only minio docker image and setting env variables?
s
here is a thread that goes into some of the details for configuring minio