The following gives: No overload of bound method __init__ matches arguments
SESSION_OPTIONS: dict[str, Any] = dict(
# Allow models to be read after transactions are closed
expire_on_commit=False,
# Do not allow implicit re-use of sessions after their context closes
close_resets_only=False,
)
See: https://types.ruff.rs/30b74134-d2d1-42d5-8fa5-e22768dad640