code: def get(cls, parent=None, id=None, data=None):
          
          # TODO - allow fetching of parent based on child?
  
          if parent is not None:
              route = copy(parent.route)
          else:
              route = {}
  
          if id is not None and cls.ID_NAME is not None:
              route[cls.ID_NAME] = id
  
          obj = cls(key=parent.key, route=route, config=parent.config)
  
          if data:
              # This is used in "get all" queries
              obj.data = data
          else:
              obj.fetch()
  
          return obj
docs: Inherit info from parent and return new object