old_contents: from typing import Generic, TypeVar, Type, Any, Tuple
  
  from pydantic.generics import GenericModel
  
  DataT = TypeVar('DataT')
  
  
  class Response(GenericModel, Generic[DataT]):
      data: DataT
  
      @classmethod
      def __concrete_name__(cls: Type[Any], params: Tuple[Type[Any], ...]) -> str:
          return f'{params[0].__name__.title()}Response'
  
  
  print(Response[int](data=1))
  print(Response[str](data='a'))
  
new_contents: from typing import Generic, TypeVar, Type, Any, Tuple
  
  from pydantic.generics import GenericModel
  
  DataT = TypeVar('DataT')
  
  
  class Response(GenericModel, Generic[DataT]):
      data: DataT
  
      @classmethod
      def __concrete_name__(cls: Type[Any], params: Tuple[Type[Any], ...]) -> str:
          return f'{params[0].__name__.title()}Response'
  
  
  print(repr(Response[int](data=1)))
  print(repr(Response[str](data='a')))
  
subject: Print name classes for `__concrete_name__` example (#3470)