code: def event_loop():
      loop = asyncio.get_event_loop()
      try:
          yield loop
      finally:
          loop.close()
  
imports: import asyncio
  import hashlib
  import os
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: event_loop() without return types