Models#
- class tom_dataservices.models.DataServiceQuery(*args, **kwargs)[source]#
Class representing a query to a Data Service in a TOM
- Parameters:
name (str) – The user-given name of this query.
data_service – The name of the data service–this should come directly from the
nameattribute of the DataService class representing the data service.parameters (json) – Parameters for this
DataServiceQuery, stored as a JSON string.created (datetime) – The time at which this
DataServiceQuerywas created in the TOM database.modified – The time at which this
DataServiceQuerywas changed in the TOM database.last_run – The time at which this
DataServiceQuerywas last run against its corresponding query service.
- exception DoesNotExist#
- exception MultipleObjectsReturned#