get_crud_api#
- eclypse.builders.application.crud_api.application.get_crud_api(application_id='CRUDAPI', communication_interface=None, update_policies=None, node_assets=None, edge_assets=None, include_default_assets=False, requirement_init='min', flows='default', store_step=False, seed=None)[source]#
Get the CRUD API application.
- Parameters:
application_id (str) – Identifier assigned to the generated application.
communication_interface (CommunicationInterface | None) – Communication backend used to instantiate executable services. When
None, the builder returns a graph-only application.update_policies (Callable | list[Callable] | None) – Graph update policies executed during
evolve().node_assets (dict[str, Asset] | None) – Optional assets attached to application nodes.
edge_assets (dict[str, Asset] | None) – Optional assets attached to application edges.
include_default_assets (bool) – Whether default graph assets should be included in the application.
requirement_init (InitPolicy) – Initialisation strategy applied to node and edge requirements.
flows (Literal["default"] | list[list[str]]) – User-defined application flows. Use
"default"to install the benchmark’s built-in CRUD request paths.store_step (bool) – Whether instantiated services should store their step outputs in the internal step queue. Ignored when
communication_interfaceisNone.seed (int | None) – Seed forwarded to the application random generator.
- Returns:
The configured CRUD API application.
- Return type:
- Raises:
ValueError – If
communication_interfaceis not supported.