MCPcopy Create free account
hub / github.com/ipython/traitlets / __contains__

Method __contains__

tests/test_traitlets.py:2773–2774  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

2771 return iter(self.container)
2772
2773 def __contains__(self, key):
2774 return key in self.container
2775
2776 c.observe(record, names=MyContainer({"i", "s"}))
2777 c.i = 10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected