From eabcaa38e26d2a56140ac2905e9dc2e6a14c24f6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 13 Mar 2025 19:25:18 +0100 Subject: [PATCH] feat: try improved config schema --- freqtrade/configuration/config_schema.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index 0dd158bcb..5376e693d 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -885,7 +885,16 @@ CONF_SCHEMA = { "type": "object", "properties": { "version": {"type": "number", "const": 1}, - "formatters": {"type": "object"}, + "formatters": { + "type": "object", + # In theory the below, but can be more flexible + # based on logging.config documentation + # "additionalProperties": { + # "type": "object", + # "properties": {"format": {"type": "string"}, "datefmt": {"type": "string"}}, + # "required": ["format"], + # }, + }, "handlers": {"type": "object"}, "root": {"type": "object"}, },