GB0142

Graph-Break Type

Short name describing what triggered the graph break

Unsupported context manager

Context

Values or code snippet captured at the break point

Attempted SETUP_WITH/BEFORE_WITH on {ctx}

Explanation

Explanation of why the graph break was triggered

Dynamo does not know how to enter a {ctx.python_type_name()} context manager.

Hints

Hints on how to resolve the graph break

Additional Information

Back to Registry