code: def list_field_remove(doc, field, value):
          
          if not isinstance(doc[field], list):
              raise CloudantDocumentException(102, field)
          doc[field].remove(value)
docs: Removes a value from a list field in a locally cached Document object.
  
          :param Document doc: Locally cached Document object that can be a
              Document, DesignDocument or dict.
          :param str field: Name of the field list to remove from.
          :param value: Value to remove from the field list.