mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
feat: try improved config schema
This commit is contained in:
@@ -885,7 +885,16 @@ CONF_SCHEMA = {
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"version": {"type": "number", "const": 1},
|
"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"},
|
"handlers": {"type": "object"},
|
||||||
"root": {"type": "object"},
|
"root": {"type": "object"},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user