def login_with_sessionid(sessionid: str) -> Client:
    """Return Client logged in only with a sessionid."""
    cl = Client()
    cl.login_by_sessionid(sessionid)
    return cl
Return Client logged in only with a sessionid.
examples/session_login.py