Request Session

class falcon_sqla.session.RequestSession(*args: Any, **kwargs: Any)

Custom session that is associated with a Falcon request.

The Falcon request and response objects are passed inside the session’s info context as 'req' and 'resp' keys, respectively.

get_bind(mapper: Any = None, clause: Any = None, **kw: Any) Engine | Connection

Use the manager to get the appropriate bind when _manager_get_bind is defined. Otherwise, the default logic is used.

This method is called by SQLAlchemy.