SessionStore.load()

Read model from its session slot, defaulting to a fresh model().

Usage

Source

SessionStore.load(model)

Parameters

model: type[M]
The Pydantic model class to read.

Returns

M

The persisted instance, or a newly constructed model() when no

stored state exists for this session.