grapa.shared.command_recorder.CommandRecorderGraph

class grapa.shared.command_recorder.CommandRecorderGraph(graph: Graph, log_active=True)

Bases: CommandRecorderBase

Decouple: CommandRecorderBase takes care of the logic, and implementation details specific to grapa in CommandRecorderGraph e.g. how to retrieve caller from description, and how to dscribe caller

The Curves must be part of the Graph on which the CommandRecorder was defined.

__init__(graph: Graph, log_active=True)

Methods

__init__(graph[, log_active])

caller_description(reference)

Opposite of caller_reference

caller_reference(description)

Return the object on which the actions will be performed.xx E.g.

Attributes

caller_description(reference) List[Action]

Opposite of caller_reference

caller_reference(description: List[Action])

Return the object on which the actions will be performed.xx E.g. graph, graph.headers, graph.graphinfo, graph.curve(c), graph.curve(c).data Opposite of caller_reference Search by whitelist, not aggressive search.