code: def get_named_type(type_):  # noqa: F811
      
      if type_:
          unwrapped_type = type_
          while is_wrapping_type(unwrapped_type):
              unwrapped_type = cast(GraphQLWrappingType, unwrapped_type)
              unwrapped_type = unwrapped_type.of_type
          return cast(GraphQLNamedType, unwrapped_type)
      return None
docs: Unwrap possible wrapping type