-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle different base paths explorer #427
Conversation
ENTRYPOINT [ "streamlit", "run", "/app/main.py", "--server.headless", "true", \ | ||
"--server.fileWatcherType", "none", "--browser.gatherUsageStats", "false", \ | ||
"--server.port=8501", "--server.address=0.0.0.0", "--"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the '--' at the end is need to pass additional arguments (remote base path) as mentioned here
b1e6f13
to
02b2710
Compare
data_explorer/app/filesystem.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double of the src/fondant/filesystem.py ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch, indeed this is not needed
First review #427 PR that updates the interface of the data explorer ![image](https://github.com/ml6team/fondant/assets/47530815/964f640a-af24-46a2-b595-e1a24f168ab1) Notes: * Right now the base path that we currently have has a mix of subsets and fields. Related to #244 * The current base paths contains a mix of subsets and pipelines due to the old way of organizing. In the future it should only include pipeline names. #368 (comment) Perhaps we can do some cleanup to our current base path and remove unnecessary subsets ``` gs://soy-audio-379412_kfp-artifacts/custom_artifact ```
@@ -4,11 +4,12 @@ | |||
import os | |||
from typing import Dict, List, Optional, Tuple, Union | |||
|
|||
from fondant.filesystem import get_filesystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this import also needs a change I think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no we still have src/filesystem.py so this should be fine
Linked to #426 #424 Previous implementation of the local runner could only work with a local runner and not the remote one. This PR enables the explorer to handle both. If the base path is local, it will be mounted to the explorer. Otherwise, the base path will be passed as a container argument inside the component Notes: * Cloud credentials are optional for the local runner (manifest is local but can point to a remote ) but mandatory with the remote base path
Linked to #426 #424
Previous implementation of the local runner could only work with a local runner and not the remote one. This PR enables the explorer to handle both. If the base path is local, it will be mounted to the explorer. Otherwise, the base path will be passed as a container argument inside the component
Notes: