Skip to content

Middleware cleanups #10902

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

Merged
merged 20 commits into from
May 20, 2025
Merged
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
bdraco committed May 20, 2025
commit d9ea1ca43e4ce177e5358053ae08e4a838dab27b
3 changes: 1 addition & 2 deletions tests/test_client_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,7 @@ def get_hash(self, request: ClientRequest) -> str:
data = "{}"

# Simulate authentication hash without using real crypto
signature = f"SIGNATURE-{self.secretkey}-{len(data)}-{data[:10]}"
return signature
return f"SIGNATURE-{self.secretkey}-{len(data)}-{data[:10]}"

async def __call__(
self, request: ClientRequest, handler: ClientHandlerType
Expand Down
Loading