Marks the variable v as accessed while building this graph.
(self, v)
| 259 | return "FuncGraph(name=%s, id=%s)" % (self.name, id(self)) |
| 260 | |
| 261 | def watch_variable(self, v): |
| 262 | """Marks the variable v as accessed while building this graph.""" |
| 263 | while self is not None and isinstance(self, FuncGraph): |
| 264 | self._watched_variables.add(v) |
| 265 | self = self.outer_graph |
| 266 | |
| 267 | def capture_call_time_value(self, closure, spec, key=None): |
| 268 | """Creates a placeholder which at call time has the value closure(). |
no test coverage detected