SlackLog models¶
SlackLog models represent the ChangeLog.txt after parsing.
- class slacklog.models.SlackLog[source]¶
Bases:
objectContainer for SlackLogEntry objects.
- entries¶
List of SlackLogEntry objects.
- startsWithSeparator¶
True if the log started with an entry separator.
- endsWithSeparator¶
True if the log ended with an entry separator.
- class slacklog.models.SlackLogEntry(timestamp: datetime, description: str, log: SlackLog, checksum: str = None, identifier: str = None, parent: str = None, timezone: tzinfo = None, twelveHourFormat: bool = None)[source]¶
Bases:
objectRepresents a single entry in a SlackLog.
- timestamp¶
Timestamp of the entry (with timezone).
- description¶
Description of the entry.
- log¶
Reference to the parent SlackLog.
- checksum¶
SHA512 checksum identifying the entry.
- identifier¶
SHA512 identifier including parent info.
- parent¶
Identifier of the parent entry.
- timezone¶
Original timezone of the entry.
- twelveHourFormat¶
True if the original timestamp was 12-hour format.
- pkgs¶
List of SlackLogPkg objects contained in this entry.