yr.session_title
session_title(
title: str,
) → NoneSet the title associated with the current session.
Session-aware hosts may persist and display the title. In runtimes without sessions, the emitted metadata update has no persistent effect.
Parameters
title
type: str
Title to associate with the current session.
Examples
Give the current session a descriptive title:
import yera as yr
topic = yr.text_input("What would you like to learn about?")
yr.session_title(f"Learning about {topic}")