code: def send_example(sock: socket.socket, example_line: str) -> None:
      # We must ensure there is a newline present at the end of the line.
      line = example_line.strip() + "\n"
      sock.sendall(line.encode(TEXT_ENCODING))
  
file_path: vowpal_wabbit/utl/active_interactor.py
imports: import socket
  import argparse
  from typing import Callable, ContextManager, Optional, TextIO
  import contextlib
label_desc: Use image node_id 8 for calling a global function with example usage: send_example(sock, example_line) without return types