Module synapse_config

Source

Structs§

Config
The root of a Synapse configuration. This struct only includes fields which the Synapse-to-MAS migration is interested in.
DatabaseArgsSuboption
The args suboption of the database section of the Synapse configuration. This struct assumes Postgres is in use and does not represent fields used by SQLite.
DatabaseSection
The database section of the Synapse configuration.
EnableableSection
A section that we only care about whether it’s enabled or not, but is not enabled by default.
OidcProvider
PasswordSection
The password_config section of the Synapse configuration.
UserConsentSection
We don’t care about any of the fields in this section, just whether it’s present.

Constants§

SYNAPSE_DATABASE_DRIVER_NAME_PSYCOPG2
The database driver name for Synapse when it is using Postgres via psycopg2.
SYNAPSE_DATABASE_DRIVER_NAME_SQLITE3
The database driver name for Synapse when it is using SQLite 3.