models.doc_error module

class models.doc_error.DocError(document_id=None, error_string=None)[source]

Bases: object

Implementation of the ‘DocError’ model.

DocError are document error incurred in yoda service while tagging.

Attributes:

document_id (string): DocumentId is document which caused the error. error_string (string): ErrorString is the error converted to string.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.