def __init__(self, **options): super(SQLStore, self).__init__(**options) options = dict(options) self.options = coalesce_options(options, OPTION_TYPES) self.logger = get_logger() self.schema = None self._metadata = None
def __init__(self, **options): SQLALCHEMY_DATABASE_URI = current_app.config.get( 'SQLALCHEMY_DATABASE_URI') super(OpenSpendingStore, self).__init__(url=SQLALCHEMY_DATABASE_URI, **options) options = dict(options) self.options = options self.options = coalesce_options(options, OPTION_TYPES)
def __init__(self, **options): SQLALCHEMY_DATABASE_URI = current_app.config.get('SQLALCHEMY_DATABASE_URI') super(OpenSpendingStore, self).__init__(url=SQLALCHEMY_DATABASE_URI, **options) options = dict(options) self.options = options self.options = coalesce_options(options, OPTION_TYPES)