code: def calc_label_from_cls(cls: type) -> int:
      return calc_label_from_name(cls.__qualname__)
  
imports: import enum
  import hashlib
  import heapq
  import sys
  from collections import OrderedDict, abc
  from functools import lru_cache
  from typing import TYPE_CHECKING, List, Optional, Sequence, Tuple, Type, TypeVar, Union
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.compat import int_from_bytes
  from hypothesis.internal.floats import next_up
label_desc: Use image node_id 2 for calling a global function with example usage: calc_label_from_cls(cls) and returns: calc_label_from_name