Skip to content

Commit

Permalink
get_table_names returns sorted table names
Browse files Browse the repository at this point in the history
  • Loading branch information
prakaa committed Sep 3, 2024
1 parent 15e5c64 commit 1d726e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isp_workbook_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ def get_table_names(self) -> list[str]:
>>> names = workbook.get_table_names()
>>> sorted(names)[0:3]
>>> names[0:3]
['additional_projects_summary', 'anticipated_projects_summary', 'batteries_summary']
Returns:
List of the tables that there is configuration information for extracting from the workbook.
"""
return self.table_names
return sorted(self.table_names)

def get_table_from_config(
self, table_config, config_checks: bool = True
Expand Down

0 comments on commit 1d726e9

Please sign in to comment.