MCPcopy Create free account
hub / github.com/aws/aws-cli / uri_encode

Method uri_encode

awscli/botocore/endpoint_provider.py:279–288  ·  view source on GitHub ↗

Perform percent-encoding on an input string. :type value: str :rytpe: str

(self, value)

Source from the content-addressed store, hash-verified

277 return value1 == value2
278
279 def uri_encode(self, value):
280 """Perform percent-encoding on an input string.
281
282 :type value: str
283 :rytpe: str
284 """
285 if value is None:
286 return None
287
288 return percent_encode(value)
289
290 def parse_url(self, value):
291 """Parse a URL string into components.

Callers 1

Calls 1

percent_encodeFunction · 0.90

Tested by 1