MCPcopy Create free account
hub / github.com/python-hyper/uritemplate / __contains__

Method __contains__

uritemplate/orderedset.py:37–38  ·  view source on GitHub ↗
(self, key: object)

Source from the content-addressed store, hash-verified

35 return len(self.__map)
36
37 def __contains__(self, key: object) -> bool:
38 return key in self.__map
39
40 def add(self, key: str) -> None:
41 # Store new key in a new link at the end of the linked list

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected