code: def supported_factories():
      yield pa.default_memory_pool
      for backend in pa.supported_memory_backends():
          yield getattr(pa, f"{backend}_memory_pool")
  
imports: import contextlib
  import os
  import signal
  import subprocess
  import sys
  import weakref
  import pyarrow
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: supported_factories() without return types