atoti.Session.link#
- property Session.link: Link#
Link to the session.
Return it from a notebook code cell to display it.
If used inside JupyterLab with
atoti-jupyterlab
installed, the JupyterLab extension will try to reach the session in this order:
Jupyter Server Proxy if it is enabled.
f"{session_protocol}//{jupyter_server_hostname}:{session_port}"
.url
.
If used in another environment,
url
wil be used.
When
url
is used and the session is running on another machine, the link may not be reachable. In that situation, the session may be reached fromf"{public_ip_or_domain_of_machine_hosting_session}:{session_port}"
.A path can be added to the link with
/
.Example
Linking to an existing dashboard:
>>> dashboard_id = "92i" >>> _ = session.link / "#/dashboard/{dashboard_id}"