#NEWLINE# def update( self , sid , **kwargs ) : #NEWLINE# #INDENT# '\n        Update a :class:`Reservation` with the given parameters.\n\n        :param sid: Reservation sid to update.\n        :param reservation_status: Either accepted or rejected. Specifying\n            accepted means the Worker has received the Task and will process\n            it. Work Distribution Service will no longer consider this task\n            eligible for assignment, and no other Worker will receive this\n            Task. Specifying rejected means the Worker has refused the\n            assignment and Work Distribution Service will attempt to assign\n            this Task to the next eligible Worker.\n        :param worker_activity_sid: If rejecting a reservation, change the\n            worker that is tied to this reservation to the supplied activity.\n            If not provided, the WorkerPreviousActivitySid on the Reservation\n            will be used.\n        ' #NEWLINE# return self . update_instance ( sid , self )