Skip to main content

TimingMixin

This class provides a mixin for tracking the creation, access, and modification timestamps of an object. It includes internal methods to initialize these times to the current moment and update them as the object is interacted with or changed.

Attributes

AttributeTypeDescription
created_timedatetimeTimestamp representing when the instance was first initialized.
accessed_timedatetimeTimestamp tracking the most recent time the instance was accessed or initialized.
modified_timedatetimeTimestamp tracking the most recent time the instance was modified or initialized.