def update( self, version: int, actions: List[types.OrderUpdateAction], *, force_update: bool = False, ) -> types.Order: update_action = types.ProjectUpdate(version=version, actions=actions) return self._client._post( endpoint="", params={}, data_object=update_action, request_schema_cls=schemas.ProjectUpdateSchema, response_schema_cls=schemas.ProjectSchema, force_update=force_update, )
def post_load(self, data, **kwargs): return types.ProjectUpdate(**data)