title: What is the best generic type hint for a dataclass in python?
body: <p>I have started using dataclasses and I have some specific one lets say for example:</p>
  <pre><code>from dataclasses import dataclass
  
  @dataclass
  class Person:
      name: str
      age: int
      job:str
      
  @dataclass
  class Animal:
      name: str
      age: int
  </code></pre>
  <p>I then have an abstract class like an interface</p>
  <pre><code>import abc
  from typing import List, Dict
  
  
  class NameFinder:
      @abc.abstractmethod
      def get_name(self, name: str,being ) :
          pass
  
  class PersonName(NameFinder):
      def get_name(self, name:str, person:Person):
          return person.name
  
  class AnimalName(NameFinder):
      def get_name(self, name:str, animal:Animal):
          return animal.name
  </code></pre>
  <p>what is a good generic type hint i can use in the abstract class as placeholder for both the Person and the Animal classes?</p>