Jules LE BRIS

Results comments of Jules LE BRIS

this code should do the work : ``` scheme = request.scheme return Response( '{scheme}://{request.headers[Host]}/{directory}?r={obj.id}'.format( scheme = scheme, request=request, directory=directory, obj=obj), mimetype='text/plain') ```

@mistercrunch done and merge! Close?

can we use in superset_config.py : ``` SQLALCHEMY_BINDS = { 'struct':'postgresql+psycopg2://insynium:XXXXXXX@localhost:5432/supersetTestBis', } ``` and in new model : ``` __bind_key__ = 'struct' ``` here the docs : http://flask-sqlalchemy.pocoo.org/2.3/binds/ the __bind_key__...

it can be a solution but how superset and my new flask app can share the user connected.

> SUPERSET_HOME just add `export SUPERSET_HOME="path to config"` to your .bashrc or your .bash_profile in your home. Then restart your terminal. If superset_home doesn't work change it with `export PYTHONPATH="path...

it's to execute script with some parameter by calling an url. The script is a flask view. I need an interface to set the parameters. I find a hacky way...

[Info - 18:16:13] Analysis cache path: /home/ripoul/snap/code/common/.cache/Microsoft/Python Language Server [Info - 18:16:13] Microsoft Python Language Server version 0.4.127.0 [Info - 18:16:13] Workspace root: /home/ripoul/Documents/perso/Georide [Info - 18:16:13] GetCurrentSearchPaths /home/ripoul/Documents/perso/Georide/env/bin/python [Info...

I always had my home in my PYTHONPATH for an other project. When I used an older version of vscode the autocompletion worked well. ``` sudo snap install vscode ```...