Skip to content

Commit

Permalink
add comment for default circuit maintenance status
Browse files Browse the repository at this point in the history
  • Loading branch information
snitass committed Jan 3, 2025
1 parent 0e3fa39 commit bb7432f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circuit_maintenance_parser/parsers/pccw.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class SubjectParserPCCW(EmailSubjectParser):
This parser extracts maintenance ID, status and summary from the email subject line.
"""

# Only completion notification doesn't come with ICal. Other such as planned outage, urgent maintenance,
# amendment and cacellation notifications come with ICal. Hence, maintenance status is set to COMPLETED.
DEFAULT_STATUS: ClassVar[Status] = Status.COMPLETED

def parse_subject(self, subject: str) -> List[Dict]:
Expand Down

0 comments on commit bb7432f

Please sign in to comment.