congress.datasources.datasource_utils module

congress.datasources.datasource_utils module

congress.datasources.datasource_utils.add_column(colname, desc=None, type=None, nullable=True)

Adds column in the form of dict.

congress.datasources.datasource_utils.get_keystone_session(creds)
congress.datasources.datasource_utils.get_openstack_required_config()
congress.datasources.datasource_utils.inspect_methods(client, api_prefix)

Inspect all callable methods from client for congress.

congress.datasources.datasource_utils.typed_value_trans(type)
congress.datasources.datasource_utils.update_state_on_changed(root_table_name)

Decorator to check raw data before retranslating.

If raw data is same with cached self.raw_state, don’t translate data, return empty list directly. If raw data is changed, translate it and update state.

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.