cosapp.utils.pull_variables

Functions

pull_variables(child, pulling)

Pull variables from child to the parent.

cosapp.utils.pull_variables.pull_variables(child: System, pulling: str | Collection[str | dict[str, str]] | dict[str, str]) None[source]

Pull variables from child to the parent.

Parameters:
  • child (System) – System exposing variables to its parent API.

  • dict[str (str]] |) – Map of child ports to pulled ports at the parent system level.

  • dict[str – Map of child ports to pulled ports at the parent system level.

  • str]] – Map of child ports to pulled ports at the parent system level.