code: def get_flight_info(self, context, descriptor):
      if descriptor.command == b"simple":
          return self.simple_info
      elif descriptor.command == b"unknown":
          raise NotImplementedError("Unknown command")
  
      raise NotImplementedError("Unknown descriptor")
  
file_path: arrow/python/pyarrow/tests/test_flight_async.py
imports: import asyncio
  import pytest
  import pyarrow
label_desc: Use image node_id 1 for calling the ExampleServer obj's underlying member method code with example usage: obj.get_flight_info(context, descriptor) and returns: self