mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-23 05:25:43 +00:00
adding latest working
This commit is contained in:
@@ -28,7 +28,6 @@ class Config:
|
||||
self._missing_config = True
|
||||
return {}
|
||||
|
||||
# TODO: fix the return error
|
||||
def get_value(
|
||||
self, key: str, default: Any, mask: bool, coerce: bool = False
|
||||
) -> Any:
|
||||
@@ -40,6 +39,12 @@ class Config:
|
||||
# no config file, look for env vars
|
||||
return self._get_env_value(env_key, default, coerce)
|
||||
|
||||
def _get_config_value_key_split_once(self):
|
||||
pass
|
||||
|
||||
def _get_config_value_key_split_twice(self):
|
||||
pass
|
||||
|
||||
def _get_config_value(
|
||||
self, env_key: str, key: str, default: Any, mask: bool, coerce: bool = False
|
||||
) -> Any:
|
||||
|
||||
2
panaetius/logging.py
Normal file
2
panaetius/logging.py
Normal file
@@ -0,0 +1,2 @@
|
||||
import logging
|
||||
from logging.handlers import RotatingFileHandler
|
||||
Reference in New Issue
Block a user