def remove(self, item: T):
        """Remove an item from the set."""
        with self.write_lock:
            self.content.remove(item)

            self.event_nonfull.set()

            if len(self.content) == 0:
                self.event_nonempty.clear()
Remove an item from the set.
src/core/trulens/core/utils/containers.py