atoti.Session.link#
- property Session.link: Link#
Display a link to this session.
If the
atoti-jupyterlab
plugin is:not enabled, the session’s local URL will be used so the link may not be reachable if Atoti is running on another machine. In that situation, the session may be reached from
f{public_ip_or_domain_of_machine_hosting_atoti}:{session.port}
(seeatoti.Session.port()
).enabled, the JupyterLab extension will try to access the session through (in this order):
Jupyter Server Proxy if it is enabled.
f"{session_protocol}//{jupyter_server_hostname}:{session.port}"
forSession
andsession.url
forQuerySession
.
A path can be added to the linked URL with a
/
:Example
Linking to an existing dashboard:
dashboard_id = "92i" session.link / "#/dashboard/{dashboard_id}"