Shortcuts

flash.core.serve.core.Endpoint

class flash.core.serve.core.Endpoint(route, inputs, outputs)[source]

An endpoint maps a route and request/response payload to components.

Parameters
  • route (str) – The API route name to construct as the servicing POST endpoint.

  • inputs (Dict[str, str]) – The full name of a component input. Typically, specified by just passing in the component parameter attribute (i.e.``component.inputs.foo``).

  • outputs (Dict[str, str]) – The full name of a component output. Typically, specified by just passing in the component parameter attribute (i.e.``component.outputs.bar``).

Read the Docs v: latest
Versions
latest
stable
0.8.2
0.8.1.post0
0.8.1
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
Downloads
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.