msyavuz commented on code in PR #43459:
URL: https://github.com/apache/superset/pull/43459#discussion_r3880251537
##########
superset/commands/dataset/update.py:
##########
@@ -384,7 +384,7 @@ def _validate_expressions(
)
exceptions.append(
ValidationError(
- message,
+ [message],
Review Comment:
Same bare-`LazyString` shape exists in
`superset/commands/report/exceptions.py` (~15 sites) and
`database/exceptions.py:42` — e.g. `POST /api/v1/report/` with a bad `database`
still returns a scalar `{"message": {"database": "..."}}`; worth a follow-up
issue rather than widening this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]