Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.4 KB

QueryResult.md

File metadata and controls

32 lines (23 loc) · 1.4 KB

QueryResult

A json data response. Uses the format as specified by the render options of the request (defaults to COMPACT_WS). '

Properties

Name Type Description Notes
data List[ResponseDataSet] A list of data sets, each with their own time axis. There will be one dataset for each `role` specified in the query (by default a single `input` role). The data is represented according to the `render` options in the query (default `COMPACT_WS`).
query QueryInput
messages List[QueryExecutionMessage]

Example

from waylay.services.queries.models.query_result import QueryResult

# TODO update the JSON string below
json = "{}"
# create an instance of QueryResult from a JSON string
query_result_instance = QueryResult.from_json(json)
# print the JSON string representation of the object
print QueryResult.to_json()

# convert the object into a dict
query_result_dict = query_result_instance.to_dict()
# create an instance of QueryResult from a dict
query_result_form_dict = query_result.from_dict(query_result_dict)

[Back to Model list] [Back to API list] [Back to README]