MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / contains

Method contains

lib/sqlalchemy/event/registry.py:334–336  ·  view source on GitHub ↗

Return True if this event key is registered to listen.

(self)

Source from the content-addressed store, hash-verified

332 collection.remove(self.with_wrapper(listener_fn))
333
334 def contains(self) -> bool:
335 """Return True if this event key is registered to listen."""
336 return self._key in _key_to_collection
337
338 def base_listen(
339 self,

Callers 6

test_contains_escapeMethod · 0.45
test_regexp_replaceMethod · 0.45
containsFunction · 0.45

Calls

no outgoing calls

Tested by 5

test_contains_escapeMethod · 0.36
test_regexp_replaceMethod · 0.36