code: def factory(cls, class_name):
          
          class_name = str(class_name.lstrip('_'))
          types = ParseResource.__subclasses__()
          while types:
              t = types.pop()
              if t.__name__ == class_name:
                  return t
              types.extend(t.__subclasses__())
          else:
              return type(class_name, (Object,), {})
docs: find proper Object subclass matching class_name
          system types like _User are mapped to types without underscore (parse_resr.user.User)
          If user don't declare matching type, class is created on the fly