def update_by_key(
     self,
     key: str,
     version: int,
     actions: List[types.ReviewUpdateAction],
     expand: OptionalListStr = None,
     *,
     force_update: bool = False,
 ) -> types.Review:
     query_params = {}
     if expand:
         query_params["expand"] = expand
     update_action = types.ReviewUpdate(version=version, actions=actions)
     return self._client._post(
         f"reviews/key={key}",
         params=query_params,
         data_object=update_action,
         request_schema_cls=schemas.ReviewUpdateSchema,
         response_schema_cls=schemas.ReviewSchema,
         force_update=force_update,
     )
 def post_load(self, data):
     return types.ReviewUpdate(**data)