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

Method _construct_url

awscli/botocore/utils.py:401–405  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

399 return chosen_base_url
400
401 def _construct_url(self, path):
402 sep = ''
403 if self._base_url and not self._base_url.endswith('/'):
404 sep = '/'
405 return f'{self._base_url}{sep}{path}'
406
407 def _fetch_metadata_token(self):
408 self._assert_enabled()

Callers 2

_fetch_metadata_tokenMethod · 0.95
_get_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected