Skip to content

Commit 4ab12e0

Browse files
committed
Better docstring
1 parent 1c7fcd0 commit 4ab12e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/beancount_multitool/get_beancount_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ def get_beancount_config(config: dict) -> dict:
1515
dict
1616
config["beancount"]
1717
18+
Raises
19+
------
20+
KeyError
21+
if "beancount" key does not exist.
1822
"""
1923
if "beancount" in config:
2024
return config["beancount"]

0 commit comments

Comments
 (0)