Skip to content

history.checks

Overview

System checks for the history backend's configuration.

check_history_middleware

Report a middleware stack that cannot name the action behind a request.

get_defaults places the middleware correctly, but a project owns its own MIDDLEWARE and can replace or reorder that list. Both faults here are warnings rather than errors, because a request still records its events either way. What goes missing is the identity associating the events of one request with each other, or the user who caused them.

Any HistoryMiddleware subclass satisfies this, because a project may extend VUEDA's to record metadata of its own.

Signature

check_history_middleware(app_configs, kwargs)

Parameters

NameTypeRequiredDescription
app_configsyes
kwargsyes

Source

server/vueda/history/checks.py:25

Source

server/vueda/history/checks.py

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2