diff --git a/freqtrade/rpc/api_server/api_schemas.py b/freqtrade/rpc/api_server/api_schemas.py index 223f3cbf2..f416b532e 100644 --- a/freqtrade/rpc/api_server/api_schemas.py +++ b/freqtrade/rpc/api_server/api_schemas.py @@ -499,11 +499,6 @@ class PairHistory(BaseModel): data_start: str data_stop: str data_stop_ts: int - # TODO[pydantic]: The following keys were removed: `json_encoders`. - # Check https://docs.pydantic.dev/dev-v2/migration/#changes-to-config for more information. - model_config = ConfigDict(json_encoders={ - datetime: lambda v: v.strftime(DATETIME_PRINT_FORMAT), - }) class BacktestFreqAIInputs(BaseModel):