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

Method __repr__

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

Source from the content-addressed store, hash-verified

78 return key
79
80 def __repr__(self) -> str:
81 if not self:
82 return f"{self.__class__.__name__}()"
83 return f"{self.__class__.__name__}({list(self)!r})"
84
85 def __str__(self) -> str:
86 return self.__repr__()

Callers 1

__str__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected