Application.__init__#

Application.__init__(application_id, update_policies=None, node_assets=None, edge_assets=None, include_default_assets=True, requirement_init='min', flows=None, seed=None)[source]

Create a new Application.

Parameters:
  • application_id (str) – The ID of the application.

  • update_policies (Callable | list[Callable] | None) – Graph update policies executed during evolve().

  • node_assets (dict[str, Asset] | None) – The assets of the nodes.

  • edge_assets (dict[str, Asset] | None) – The assets of the edges.

  • include_default_assets (bool) – Whether to include the default assets. Defaults to True.

  • requirement_init (InitPolicy) – The initialization of the requirements.

  • flows (list[list[str]] | None) – The flows of the application.

  • seed (int | None) – The seed for the random number generator.