Producer.__exit__()#

relationalai
#Producer.__exit__() -> None

Producer objects can be used as context managers in a with statement to apply restrictions in a rule or query conditionally. In a with statement, Python calls the context manager’s .__enter__() method before executing the with block. After the with block executes, the with statement automatically executes the .__exit__() method.

See Producer.__enter__() for more information.

Returns#

None

See Also#