Base
Module superwise.models.base
This module contain BaseModel class
Classes
BaseModel(**kwargs)
Base model
Description:
Constructor of BaseModel class
Descendants
- superwise.models.data_entity.DataEntity
- superwise.models.data_entity.DataEntitySummary
- superwise.models.dataset.Dataset
- superwise.models.model.Model
- superwise.models.notification.Notification
- superwise.models.project.Project
- superwise.models.role.Role
- superwise.models.segment.Segment
- superwise.models.transaction.Transaction
- superwise.models.validation_error.ValidationError
- superwise.models.version.Version
Methods
from_datetime(self, date)
Description:
Convert datetime helper
Args:
date
: a datetime.datetime object
Return:
string of date in iso format
get_properties(self)
Description:
Get properties of model as a dictionary
Args:
date
: a datetime.datetime object
Return:
dictionary of model properties