Add public config dir getter

basic_buy_bot
Tyler Goodlet 2023-05-31 17:50:56 -04:00
parent e82538eded
commit 848577488e
1 changed files with 9 additions and 0 deletions

View File

@ -187,6 +187,15 @@ def _conf_fn_w_ext(
return f'{name}.toml' return f'{name}.toml'
def get_conf_dir() -> Path:
'''
Return the user configuration directory ``Path``
on the local filesystem.
'''
return _config_dir
def get_conf_path( def get_conf_path(
conf_name: str = 'brokers', conf_name: str = 'brokers',