◆ __init__()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.javascriptbuilder.JavascriptBuilderElement.__init__ | ( | self, | |
settings = {}
|
|||
) |
JavaScriptBuilder constructor.
- Parameters
-
- {dict} - options options object
- Parameters
-
- {string} - options.obj_name the name of the client
- side object with the JavaScript properties in it ('fod' by default)
- Parameters
-
- {string} - options.protocol The protocol ("http" or "https")
- used by the client side callback url.
- This can be overriden with header.protocol evidence
- Parameters
-
- {string} - options.host The host of the client side
- callback url. This can be overriden with header.host evidence.
- Parameters
-
- {string} - options.endpoint The endpoint of the client side
- callback url
- Parameters
-
- {boolean} - options.enable_cookies whether cookies should be enabled
- Parameters
-
- {boolean} - options.minify Whether to minify the JavaScript
Member Function Documentation
◆ get_evidence_key_filter()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.javascriptbuilder.JavascriptBuilderElement.get_evidence_key_filter ( self ) The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
Reimplemented from pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.flowelement.FlowElement.
◆ process_internal()
def pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.javascriptbuilder.JavascriptBuilderElement.process_internal ( self, flowdata ) The JavaScriptBundler collects client side javascript to serve.
@type flowdata: FlowData
- Parameters
-
- flowdata - The FlowData
Reimplemented from pipeline-python.fiftyone_pipeline_core.fiftyone_pipeline_core.flowelement.FlowElement.