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

Method __init__

awscli/customizations/logs/ui.py:492–511  ·  view source on GitHub ↗
(
        self,
        log_events,
        session_metadata: LiveTailSessionMetadata,
        app_output=None,
        app_input=None,
    )

Source from the content-addressed store, hash-verified

490 _MAX_LINE_COUNT = 1000
491
492 def __init__(
493 self,
494 log_events,
495 session_metadata: LiveTailSessionMetadata,
496 app_output=None,
497 app_input=None,
498 ) -> None:
499 self._log_events = log_events
500 self._session_metadata = session_metadata
501 self._keywords_to_highlight = {}
502 self._output = LiveTailBuffer()
503 self._is_scroll_active = False
504 self._log_events_printer = InteractivePrinter(
505 self,
506 self._output,
507 self._log_events,
508 self._session_metadata,
509 self._keywords_to_highlight,
510 )
511 self._create_ui(app_output, app_input)
512
513 def _create_ui(self, app_output, app_input):
514 prompt_buffer = Buffer()

Callers

nothing calls this directly

Calls 3

_create_uiMethod · 0.95
LiveTailBufferClass · 0.85
InteractivePrinterClass · 0.85

Tested by

no test coverage detected