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

Method __len__

uritemplate/orderedset.py:34–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self |= iterable # type: ignore
33
34 def __len__(self) -> int:
35 return len(self.__map)
36
37 def __contains__(self, key: object) -> bool:
38 return key in self.__map

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected