supertokens / supertokens-python

Python SDK for SuperTokens
https://supertokens.com
Other
129 stars 38 forks source link

Fix uncaught exception in `session_exception_handler` for fastapi>0.77.0 #531

Open denizs opened 1 month ago

denizs commented 1 month ago

Summary of change

This PR makes this project compatible with fastapi versions later than 0.77.0, form which on a content arg is required when instantiating JSONResponses. See the change log.

Related issues

Test Plan

I'm not sure how to test this, since I can't this project to run locally. This seems to be primarily related with some outdated dependencies.

Documentation changes

Since this change restores expected behavior, I assume this is not required.

Checklist for important updates