NoReentrantContext

class tfsnippet.utils.NoReentrantContext

Bases: object

Base class for contexts which are not reentrant (i.e., if there is a context opened by __enter__, and it has not called __exit__, the __enter__ cannot be called again).