code: def client_with_graph_creation_extension_loaded(
      client, graph_creation_extension1
  ):
      """
      Loads the extension defined in graph_creation_extension1, unloads upon completion.
      """
      server_extension_dir = graph_creation_extension1
  
      extension_modnames = client.load_graph_creation_extensions(
          server_extension_dir
      )
  
      # yield control to the tests, cleanup on return
      yield client
  
      for modname in extension_modnames:
          client.unload_extension_module(modname)
  
imports: from collections.abc import Sequence
  from pathlib import Path
  import pytest
  from .None import data
label_desc: Use image node_id 1 for calling a global function with example usage: client_with_graph_creation_extension_loaded(client, graph_creation_extension1) without return types