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

Method _always_quote

uritemplate/variable.py:149–150  ·  view source on GitHub ↗
(self, value: str)

Source from the content-addressed store, hash-verified

147 # return t.cast(str, self.value)
148
149 def _always_quote(self, value: str) -> str:
150 return quote(value, "")
151
152 def _only_quote_unquoted_characters(self, value: str) -> str:
153 if urllib.parse.unquote(value) == value:

Callers 1

quoteMethod · 0.95

Calls 1

quoteFunction · 0.85

Tested by

no test coverage detected