Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Logging middleware accepts TestClient without scope["client"] #283

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

torarvid
Copy link
Member

Since PR encode/starlette#2377, we can no longer expect scope["client"] to return a tuple.

Since PR encode/starlette#2377, we can no longer expect
scope["client"] to return a tuple.
@torarvid
Copy link
Member Author

We see this issue here in trex

@torarvid torarvid merged commit dc11c08 into main Jan 12, 2024
6 checks passed
@torarvid torarvid deleted the torarvid/support-testclient-with-limited-scope branch January 12, 2024 09:43
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.

None yet

2 participants