Transaction
Module superwise.models.transaction
This module implement Transaction model
Classes
Transaction(id: Optional[int] = None, model_id: Optional[int] = None, model_name: Optional[str] = None, version_id: Union[str, int, None] = None, origin_url: Optional[str] = None, transaction_id: str = None, integration_type: Optional[str] = None, file_type: Optional[str] = None, status: Optional[str] = None, created_at: int = None, details: Optional[str] = None, num_of_records: Optional[str] = None, is_reviewed: bool = None, metadata: dict = None, **kwargs)
Transaction model
Description:
Constructor for Transaction class
Args:
id
: id of model
model_id
: id of model
model_name
: name of the model
version_id
: id of the version
origin_url
: url of source file (Optional[str])
transaction_id
: transaction id (str)
integration_type
: Optional[str]
file_type
: Optional[str]
status
: Optional[str]
created_at
: timestamp (int)
details
: Optional[str]
num_of_records
: Optional[str]
is_reviewed
: bool
Ancestors (in MRO)
- superwise.models.base.BaseModel