jupyterlab-sql
jupyterlab-sql copied to clipboard
Preset connections
It would be nice for users to be able to save connections. Initially, this could be through a configuration file?
Could you please elaborate, how do you think this could be achieved by using a configuration file? Where it should be stored? How it should be implemented into the rest of the code?
I concur, this would be nice. I see 2 options to explore:
- one is to use the jupyter notebook configuration file (jupyter_notebook_config.py) usually stored in user's .jupyter folder (See https://jupyter-notebook.readthedocs.io/en/stable/config_overview.html). Other JupyterLAb extensions (suchas the Template extension) use this already.
- the other one is to use the Advanced Settings Editor in JupyterLab, where user could edit and store their connection strings. Again, other extensions (Code Mirror, Github for example) use this too.