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

Method from_environment

awscli/botocore/useragent.py:336–346  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

334
335 @classmethod
336 def from_environment(cls):
337 crt_version = _get_crt_version() or 'Unknown'
338 return cls(
339 platform_name=platform.system(),
340 platform_version=platform.release(),
341 platform_machine=platform.machine(),
342 python_version=platform.python_version(),
343 python_implementation=platform.python_implementation(),
344 execution_env=os.environ.get('AWS_EXECUTION_ENV'),
345 crt_version=crt_version,
346 )
347
348 def set_session_config(
349 self,

Calls 2

_get_crt_versionFunction · 0.85
releaseMethod · 0.45