Module ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareEq NameLoad Str body Pass orelse If CompareEq NameLoad Str body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict attr Dict Str Str Str Num Num NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str Return BinOpMod Str Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str decorator_list decorator_list
N/A _base Config DatabaseConfig N/A Config N/A read_config N/A N/A self config N/A N/A N/A N/A self event_cache_size N/A N/A self parse_size N/A N/A config get event_cache_size 10K N/A N/A self database_config N/A N/A config get database N/A N/A N/A self database_config None N/A N/A N/A self database_config N/A name args sqlite3 N/A N/A name N/A N/A N/A self database_config get name None N/A N/A name psycopg2 N/A N/A N/A N/A N/A name sqlite3 N/A N/A N/A N/A N/A N/A N/A self database_config setdefault args N/A update N/A cp_min cp_max check_same_thread 1 1 False N/A N/A N/A RuntimeError N/A Unsupported database type '%s' N/A name N/A N/A N/A self set_databasepath N/A N/A config get database_path N/A default_config N/A N/A self N/A kwargs N/A N/A database_path N/A N/A self abspath homeserver.db N/A N/A         # Database configuration
        database:
          # The database engine name
          name: "sqlite3"
          # Arguments to pass to the engine
          args:
            # Path to the database
            database: "%(database_path)s"

        # Number of events to cache in memory.
        event_cache_size: "10K"
         N/A locals N/A read_arguments N/A N/A self args N/A N/A N/A N/A N/A self set_databasepath N/A args database_path N/A set_databasepath N/A N/A self database_path N/A N/A N/A N/A database_path :memory: N/A N/A database_path N/A N/A self abspath database_path N/A N/A N/A N/A N/A self database_config get name None sqlite3 N/A N/A N/A database_path None N/A N/A N/A N/A N/A self database_config N/A args N/A database database_path N/A add_arguments N/A N/A self parser N/A N/A N/A db_group N/A N/A parser add_argument_group database N/A N/A N/A db_group add_argument -d --database-path metavar SQLITE_DATABASE_PATH help The path to a sqlite database to use. N/A N/A