congress.db.datasources module

congress.db.datasources module

class congress.db.datasources.Datasource(id_, name, driver, config, description, enabled=True)

Bases: sqlalchemy.ext.declarative.api.Base, congress.db.model_base.HasId

config
description
driver
enabled
id
name
congress.db.datasources.add_datasource(id_, name, driver, config, description, enabled, session=None, secret_config_fields=None)
congress.db.datasources.delete_datasource(id_, session=None)
congress.db.datasources.delete_datasource_with_data(id_, session=None)
congress.db.datasources.get_datasource(name_or_id, session=None)
congress.db.datasources.get_datasource_by_id(id_, session=None)
congress.db.datasources.get_datasource_by_name(name, session=None)
congress.db.datasources.get_datasource_name(name_or_id, session=None)
congress.db.datasources.get_datasources(session=None, deleted=False)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.