Skip to content

Commit

Permalink
formatted function names to camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
benne238 committed Jun 29, 2021
1 parent 3951832 commit b9d4945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webqueue2api/parser/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, queue: str, number: int, headers_only: bool = False) -> None:
self.department = self.__get_most_recent_header_by_type("Department")
self.building = self.__get_most_recent_header_by_type("Building")
self.date_received = format_date_string(self.__get_most_recent_header_by_type("Date"))
if not headers_only: self.content = self.__parseSections()
if not headers_only: self.content = self.__parse_sections()
self.json_data = self.__generate_json_data()

def __generate_json_data(self) -> dict:
Expand Down Expand Up @@ -216,7 +216,7 @@ def __parse_headers(self) -> list:

return headers

def __parseSections(self) -> list:
def __parse_sections(self) -> list:
# Convert list of lines to single string
raw_item_as_string = "".join(self.__raw_item)

Expand Down Expand Up @@ -261,7 +261,7 @@ def __add_initial_message_headers(self, initial_message: dict) -> dict:

return initial_message

def __getSortedSections(self, sectionsList: list) -> list:
def __get_sorted_sections(self, sectionsList: list) -> list:
"""Sorts the sections chronologically by datetime
Example:
Expand Down

0 comments on commit b9d4945

Please sign in to comment.