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, headers=None)¶
-
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.