Skip to content

Commit

Permalink
shorten keys of convert functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mafrahm committed Feb 13, 2024
1 parent 37a792f commit 702f6da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/get_das_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def convert_top(data: dict) -> str:


convert_functions = {
"convert_default": convert_default,
"convert_top": convert_top,
"default": convert_default,
"top": convert_top,
}


Expand Down Expand Up @@ -188,7 +188,7 @@ def print_das_info(
"--convert",
dest="convert",
help="function that converts info into code",
default="convert_default",
default="default",
choices=list(convert_functions),
)
args = parser.parse_args()
Expand Down

0 comments on commit 702f6da

Please sign in to comment.