code: def flight_client():
      with ExampleServer() as server:
          with flight.connect(
              f"grpc://localhost:{server.port}"
          ) as client:
              yield client
  
file_path: arrow/python/pyarrow/tests/test_flight_async.py
imports: import asyncio
  import pytest
  import pyarrow
label_desc: Use image node_id 2 for calling a global function with example usage: flight_client() without return types