The user will ask for /path/to/the/parent/new/member-list
    Where member-list is the list where the parent saves the children order
    So in the test model MinimalMongoTree the only factory will be /new/children

async def factory(self, request, path = "/", as_ = None):
    """
    The user will ask for /path/to/the/parent/new/member-list
    Where member-list is the list where the parent saves the children order
    So in the test model MinimalMongoTree the only factory will be /new/children
    """
    counter, time = perf_counter(), process_time()
    if not path.startswith("/"):
      path = "/{}".format(path)

    resp = await self.resolve_path(path)
    if resp:
      if "path" not in request.json:
        request.json["path"] = path

      method = getattr(resp["model"], resp["model"].factories[as_] if hasattr(resp["model"], "factories") and as_ in resp["model"].factories else "create_child")
      result = await method(request, as_)
      code = result.code if issubclass(result.__class__, ErrorSchema) else 201
      result = result.to_plain_dict()

      result['pref_counter'] = (perf_counter() - counter) * 1000
      result['process_time'] = (process_time() - time) * 1000
      return response.json(result, code)
    else:
      error = self.models.ErrorSchema()
      error.load({"message": "{} not found".format(path), "code": 404})
      return response.json(error.to_plain_dict(), 404)