diff --git a/jarvis_tasks/config.py b/jarvis_tasks/config.py new file mode 100644 index 0000000..5f90acc --- /dev/null +++ b/jarvis_tasks/config.py @@ -0,0 +1,9 @@ +"""Task config.""" +from jarvis_core.config import Config + + +class TaskConfig(Config): + REQUIRED = ["token", "client_id", "mongo", "twitter"] + OPTIONAL = { + "log_level": "WARNING" + } diff --git a/poetry.lock b/poetry.lock index 936bdb0..f038eab 100644 --- a/poetry.lock +++ b/poetry.lock @@ -200,7 +200,7 @@ plugins = ["setuptools"] [[package]] name = "jarvis-core" -version = "0.2.1" +version = "0.3.0" description = "" category = "main" optional = false @@ -218,7 +218,7 @@ umongo = "^3.1.0" type = "git" url = "https://git.zevaryx.com/stark-industries/jarvis/jarvis-core.git" reference = "main" -resolved_reference = "1139c406fbb049b313c653b9fafae4c7aa3ffde6" +resolved_reference = "b8db789590bc2b5148e19f15e86167403b3e8cc3" [[package]] name = "jedi"