congress.datasources.push_driver.
PushDriver
(name='', args=None)¶Bases: congress.datasources.datasource_driver.PushedDataSourceDriver
A DataSource Driver for pushing tuples of data.
To use this driver, run the following API:
PUT /v1/data-sources/<the driver id>/tables/<table id>/rows
Still a work in progress, but intent is to allow a request body to be any list of lists where the internal lists all have the same number of elements.
request body: [ [1,2], [3,4] ]
get_datasource_info
()¶get_schema
()¶Get mapping of table name to column names.
Returns a dictionary mapping tablenames to the list of column names for that table. Both tablenames and columnnames are strings.
replace_entire_table_data
(table_id, objs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.