Overview
run_in_session binds the given session id, executes your function, and preserves the session (does not end it).
Syntax
Parameters
session_id(string, required): Existing session id to bind.fn(callable, required): Function to execute within the session context.*args,**kwargs: Arguments forwarded tofn.
Returns
Returns whateverfn returns.