parameters: (self, input_ready_callback: Callable[[], None])
docstring: Return a context manager that makes this input active in the current
          event loop.
docstring_summary: Return a context manager that makes this input active in the current
          event loop.
docstring_tokens: Return a context manager that makes this input active in the current event loop .
function: def attach(self, input_ready_callback: Callable[[], None]) -> ContextManager[None]:
          """
          Return a context manager that makes this input active in the current
          event loop.
          """
function_tokens: def attach ( self , input_ready_callback : Callable [ [ ] , None ] ) -> ContextManager [ None ] :