Skip to content

Commit

Permalink
[FIX] fastapi: save_http_session should invalidate routing
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Feb 27, 2025
1 parent 2af1abb commit 2b1bb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi/models/fastapi_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _registered_endpoint_rule_keys(self):
def _routing_impacting_fields(self) -> Tuple[str]:
"""The list of fields requiring to refresh the mount point of the pp
into odoo if modified"""
return ("root_path",)
return ("root_path", "save_http_session")

Check warning on line 127 in fastapi/models/fastapi_endpoint.py

View check run for this annotation

Codecov / codecov/patch

fastapi/models/fastapi_endpoint.py#L127

Added line #L127 was not covered by tests

#
# end of endpoint.route.sync.mixin methods implementation
Expand Down

0 comments on commit 2b1bb0e

Please sign in to comment.