Inheritance diagram for fiftyone_pipeline_cloudrequestengine.cloudrequestengine.CloudRequestEngine:
Collaboration diagram for fiftyone_pipeline_cloudrequestengine.cloudrequestengine.CloudRequestEngine:
def
| get_evidence_keys (self)
Internal function for getting evidence keys used by cloud engines @rtype: dict. More...
|
def
| get_evidence_key_filter (self)
Instance of EvidenceKeyFilter based on the evidence keys fetched from the cloud service by the private getEvidenceKeys() method. More...
|
def
| get_engine_properties (self)
Internal method to get properties for cloud engines from the cloud service. More...
|
def
| validate_response (self, requests.Response cloud_response, check_for_error_messages=True)
Validate the JSON response from the cloud service. More...
|
def
| make_cloud_request (self, type, url, content=None)
|
def
| process_internal (self, flowdata)
Processing function for the CloudRequestEngine Makes a request to the cloud service with the supplied resource key and evidence and returns a JSON object that is then parsed by cloud engines placed later in the pipeline. More...
|
def
| get_content (self, flowData)
Generate the Content to send in the POST request. More...
|
def
| add_query_data (self, query_data, all_evidence, evidence)
Add query data to the evidence. More...
|
def
| get_selected_evidence (self, evidence, type)
Get evidence with specified prefix. More...
|
def
| key_has_prefix (self, itemKey, prefix)
Check that the key of a KeyValuePair has the given prefix. More...
|
|
def
| set_cache (self, cache)
Add a cache to an engine @type cashe: Cache. More...
|
def
| set_restricted_properties (self, properties_list)
Add a subset of properties. More...
|
def
| in_cache (self, flowdata)
A method to check if a flowdata's evidence is in the cache. More...
|
def
| refresh (self, identifier)
|
def
| process (self, flowdata)
|
def
| on_registration (self, pipeline)
Called when an engine is registered with a pipeline and if there is a data file, a data file update service is attached to the parent pipeline. More...
|
def
| register_data_file (self, data_file)
Register a data_file of the DataFile class with the engine @type data_file: DataFile. More...
|
|
def
| __init__ (self)
|
def
| filter_evidence (self, flowdata)
|
def
| filter_evidence_key (self, key)
Filter FlowData.evidence using the flowElement's EvidenceKeyFilter with the property key of evidence of interest. More...
|
def
| get_properties (self)
|