else:
return self.date_created + timedelta(0, self.expires)
+class BootmanSequenceRecord(Entity):
+ sequence = Field(String, primary_key=True, default=None)
+ action = Field(String, default=None)
+ date_created = Field(DateTime,default=datetime.now)
+
class ActionRecord(Entity):
@classmethod
def get_latest_by(cls, **kwargs):
# NOTE: in case an exception is thrown while trying to perform an action.
error_string = Field(String, default=None)
+ log_path = Field(String, default=None)
+
#issue = ManyToOne('IssueRecord')
# NOTE: this is the parent relation to fb records. first create the
# action record, then append to this value all of the findbad records we