MCPcopy Index your code
hub / github.com/aws/aws-cli / __init__

Method __init__

awscli/utils.py:415–429  ·  view source on GitHub ↗
(
        self, session, popen=None, environ=None, default_less_flags='FRX'
    )

Source from the content-addressed store, hash-verified

413
414class OutputStreamFactory:
415 def __init__(
416 self, session, popen=None, environ=None, default_less_flags='FRX'
417 ):
418 self._session = session
419 self._popen = popen
420 if popen is None:
421 self._popen = Popen
422 self._environ = environ
423 if environ is None:
424 # When calling out to the system's pager, we want to avoid using
425 # shared libraries bundled with the AWS CLI so that the pager uses
426 # the system's shared libraries.
427 with original_ld_library_path():
428 self._environ = os.environ.copy()
429 self._default_less_flags = default_less_flags
430
431 def get_output_stream(self):
432 pager = self._get_configured_pager()

Callers

nothing calls this directly

Calls 2

original_ld_library_pathFunction · 0.90
copyMethod · 0.45

Tested by

no test coverage detected