Overview
Manually sets the active session id for the current thread/async context. Prefer the higher-level context managers for most cases.Syntax
Parameters
session_id(string | None): Session to set as active. PassNoneto clear.
Manually set the active session id for the current context
session_id (string | None): Session to set as active. Pass None to clear.