- class flash.core.serve.composition.Composition(*, DEBUG=False, TESTING=False, **kwargs)¶
Create a composition which define computations / endpoints to create & run.
Any number of components are accepted, which may have aribtrary connections between them. The final path through the component/connection DAG is determined by the root/terminal node position as specified by endpoint input/outputs keys.
If only ONE component is provided, there is no need to create an Endpoint object. The library will generate a fully connected input/ouput endpoint for the one component with the route name set by the name of the method the @expose decorator is applied to.
This is a Work In Progress interface!