Skip to content

Use RelaxedContainerJSONEncoder & FlaskRelaxedContainerJSONProvider for json encoding where appropriate#4922

Open
risicle wants to merge 15 commits into
mainfrom
ris-relaxed-container-json-encoder
Open

Use RelaxedContainerJSONEncoder & FlaskRelaxedContainerJSONProvider for json encoding where appropriate#4922
risicle wants to merge 15 commits into
mainfrom
ris-relaxed-container-json-encoder

Conversation

@risicle

@risicle risicle commented Jul 23, 2026

Copy link
Copy Markdown
Member

This bumps notifications-utils to 124.2.0 and uses RelaxedContainerJSONEncoder to encode json payloads we're sending via requests. This should address any problems arising from InsensitiveDict no longer directly inheriting from dict.

It also sets FlaskRelaxedContainerJSONProvider our flask app's json_provider_class so we get the same robustness when returning json via e.g. jsonify.

There are also a couple of other random places we used json.dumps which I've replaced.

@risicle
risicle marked this pull request as ready for review July 23, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant