GraphExecutionContext(
self,
handler: BigQueryCallbackHandler,
graph_name: str,
metadata: Optional[DictEmits INVOCATION_STARTING/INVOCATION_COMPLETED for a graph run.
Usage:
with handler.graph_context("my_graph") as ctx:
result = graph.invoke(inputs)
Emits INVOCATION_STARTING on enter and INVOCATION_COMPLETED on exit. On exception, INVOCATION_ERROR is emitted instead of INVOCATION_COMPLETED.
Optional metadata to include in events.