code: def _set_qualname(cls, value):
      # Ensure that the functions returned from _create_fn uses the proper
      # __qualname__ (the class they belong to).
      if isinstance(value, FunctionType):
          value.__qualname__ = f"{cls.__qualname__}.{value.__name__}"
      return value
  
imports: import re
  import sys
  import copy
  import types
  import inspect
  import keyword
  import builtins
  import functools
  import itertools
  import abc
  import _thread
  from types import FunctionType, GenericAlias
label_desc: Use image node_id 19 for calling a global function with example usage: _set_qualname(cls, value) and returns: value