code: def edit_process(self, update_request, process_type_id):
          
          route_values = {}
          if process_type_id is not None:
              route_values['processTypeId'] = self._serialize.url('process_type_id', process_type_id, 'str')
          content = self._serialize.body(update_request, 'UpdateProcessModel')
          response = self._send(http_method='PATCH',
                                location_id='02cc6a73-5cfb-427d-8c8e-b49fb086e8af',
                                version='5.0-preview.2',
                                route_values=route_values,
                                content=content)
          return self._deserialize('ProcessInfo', response)
docs: EditProcess.
          [Preview API] Edit a process of a specific ID.
          :param :class:`<UpdateProcessModel> <azure.devops.v5_0.work_item_tracking_process.models.UpdateProcessModel>` update_request:
          :param str process_type_id:
          :rtype: :class:`<ProcessInfo> <azure.devops.v5_0.work_item_tracking_process.models.ProcessInfo>`