Docstrings are evaluated, while comments are not

This commit is contained in:
Matthias
2022-02-09 07:02:44 +01:00
parent 4e2f06fe9c
commit 45c03f1440
2 changed files with 4 additions and 5 deletions

View File

@@ -355,7 +355,7 @@ class PairHistory(BaseModel):
class Config:
json_encoders = {
datetime: lambda v: v.strftime(DATETIME_PRINT_FORMAT)
datetime: lambda v: v.strftime(DATETIME_PRINT_FORMAT),
}