GB1319

Graph-Break Type

Short name describing what triggered the graph break

Reconstruct user defined class without a source

Context

Values or code snippet captured at the break point

Class: {var.python_type().name}

Explanation

Explanation of why the graph break was triggered

Cannot reconstruct an instance of {var.python_type().name} that escapes the compiled region. This happens when the class is defined dynamically (e.g., inside the compiled function) and the class object itself has no source that can be reconstructed. To fix this, move the class definition outside the compiled function or prevent the object from escaping the compiled region.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry