Break
Bases: Exception
Exception used to exit a With context block.
with GeoNodes("Break Demo"):
Geometry().out()
raise Break()
# Not executed
Float(10).out()
Source code in core/utils.py
72 73 74 75 76 77 78 79 80 81 82 83 84 | |