code: def annotation(
      anno: swagger_parser.TypeAnno, prequoted=False
  ) -> Code:
      if isinstance(anno, swagger_parser.Any):
          return "typing.Any"
      if isinstance(
          anno, (swagger_parser.String, swagger_parser.DateTime)
      ):
          return "str"
      if isinstance(anno, swagger_parser.Float):
          return "float"
      if isinstance(anno, swagger_parser.Int):
          return "int"
      if isinstance(anno, swagger_parser.Bool):
          return "bool"
      if isinstance(anno, swagger_parser.Ref):
          if anno.defn is None or (
              isinstance(anno.defn, swagger_parser.Class)
              and not anno.defn.params
          ):
              return "None"
          out = anno.name
          if not prequoted:
              return f'"{out}"'
          return out
      if isinstance(anno, swagger_parser.Dict):
          out = f"typing.Dict[str, {annotation(anno.values, True)}]"
          if not prequoted:
              return f'"{out}"'
          return out
      if isinstance(anno, swagger_parser.Sequence):
          out = f"typing.Sequence[{annotation(anno.items, True)}]"
          if not prequoted:
              return f'"{out}"'
          return out
      assert_never(anno)
  
imports: import os
  import typing
  import swagger_parser
  from typing_extensions import assert_never
label_desc: Use image node_id 1 for calling a global function with example usage: annotation(anno, prequoted) and returns: str, str, str, str, str, out, out, out, str, str, out, str, str, out, str, str, out, str