-
Notifications
You must be signed in to change notification settings - Fork 114
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
Removing SESSION_STORE_ARGS
default from starters
#1951
Comments
@noklam, @astrojuanlu , @ravi-kumar-pilla -
# Setup for collaborative experiment tracking.
# The SQLite DB required for experiment tracking is stored by default in the .viz folder of your project.
# To store it in another directory, provide the path: SESSION_STORE_ARGS = {"path": "<Your PATH>"}
|
Just to make sure we are on the same page, the PR only provides a default session store db path and stats path. The users still need to provide from kedro_viz.integrations.kedro.sqlite_store import SQLiteStore
SESSION_STORE_CLASS = SQLiteStore So, I think it is better we add comments in settings.py as you suggested in (1 - # Setup for experiment tracking). We can also document this in the project settings doc. Let me know your thoughts. Thank you |
Can't we also provide a default for that one? In the same way we don't have to make users declare their |
I am not sure if that is something we can do from viz. So the changes to move Thank you |
I think |
Hi Team, Should I update the settings.py in each starter with the below block ? Before - # Keyword arguments to pass to the `SESSION_STORE_CLASS` constructor.
# SESSION_STORE_ARGS = {
# "path": "./sessions"
# } After - # Setup for Experiment Tracking
# The SQLite DB required for experiment tracking is stored by default in the .viz folder of your project.
# To store it in another directory, provide the keyword argument `SESSION_STORE_ARGS` to pass to the `SESSION_STORE_CLASS` constructor.
# SESSION_STORE_ARGS = {"path": str(Path(__file__).parents[2] / .viz)} Since this is a repeat block for all the starters, I wanted to get your feedback before making changes in all the starters. Thank you |
LGTM 👍🏼 |
LGTM. thanks |
Context
Related:
stats.json
in the root directory #1891As Kedro-viz is introducing a default "SESSION_STORE_ARGS", we should moving away from setting
SESSION_STORE_ARGS
in kedro-starters and leave that for kedro-viz. Noted this is necessary as we currently have a different default:but we want to change to
Development Notes:
We need to upgrade the lower pin of
kedro-viz
to 9.2.0 to make sure the default will be.viz
as well.The text was updated successfully, but these errors were encountered: