a gazillion things to implement cosmos db healthcheck
This commit is contained in:
parent
7af3b12c81
commit
91c79357f8
11 changed files with 421 additions and 15 deletions
13
anaxi/constants.py
Normal file
13
anaxi/constants.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import pathlib
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class PATHS:
|
||||
logging_file: pathlib.Path = pathlib.Path("anaxi.log")
|
||||
# Expand user is important. It will replace the user and give you the full
|
||||
# path. Stuff breaks without it.
|
||||
config_home_path: pathlib.Path = pathlib.Path("~/.anaxi/").expanduser()
|
||||
cosmos_db_config_file_path: pathlib.Path = config_home_path / pathlib.Path(
|
||||
"cosmos-db.yml"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue