I try to create a simple weblink in Jupyter/Voila to display this:
display(HTML("""<a href="http://localhost:8888/XXX/transform/FINANICAL_ANALYSIS_MONTHLY.ipynb?month=current">Current Month</a> |
As you can see I just hardcode the parameter:
?month=current
I am not able to retrieve these values in my notebook.
I have tried:
display(os.environ.get("SCRIPT_NAME"))
which gives: None and
sURL = os.getenv('HTTP_REFERER')
which gives None also this
import os
envs = {k: v for k, v in os.environ.items()} display (envs)
doesn't give the URL nor the parameters
Does someone have any idea how to get those ?