Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Session.from_session_id

Create Session from existing session_id.

Source and package
Qualified name
libtmux.Session.from_session_id
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
from_session_id ( cls, server: Server, session_id: str ) → Session

Examples#

>>> Session.from_session_id(
... server=session.server, session_id=session.session_id
... )
Session($1 ...)
Parameters
Returns

Session

Raises
Esc

Type to search.

Reference preview Open reference