class documentation

class DocumentFactory: (source)

Constructor: DocumentFactory(**kwargs)

View In Hierarchy

Factory class for creating documents based on the type of process.

Method __init__ Initialize the DocumentFactory object.
Method create_document Create a document based on the type of process.
Method validate_data Validate the input data.
Instance Variable data Undocumented
Instance Variable type_process Undocumented
def __init__(self, **kwargs): (source)

Initialize the DocumentFactory object. Parameters: kwargs (dict): Keyword arguments containing the data for creating the document.

def create_document(self): (source)

Create a document based on the type of process. Returns: object: The created document object.

def validate_data(self, kwargs): (source)

Validate the input data. Parameters: kwargs (dict): The input data.

Undocumented

type_process = (source)

Undocumented