Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

fix: support async authenticate() and propagate auth to SubRouters

#1331
Comparing
fix/async-auth-handler-support
(
2988e6a
) with
main
(
3e04c65
)
CodSpeed Performance Gauge
0%
Untouched
189
New
6

Benchmarks

195 total
test_inherited_auth_valid_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_inherited_auth_invalid_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_async_auth_handler_no_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.6 ms
test_async_auth_handler_invalid_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_async_auth_handler_valid_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_inherited_auth_no_token
integration_tests/test_async_authentication.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_json_get[/async/json/const-expected_json3]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 ms
test_invalid_authentication_header_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_serve_html[sync]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_global_middleware_applied_to_const_routes[/sync/dict/const]
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/sync/json/const-expected_json2]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 ms
test_sse_single_message
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_subrouter_global_dependency_injection
integration_tests/test_dependency_injection.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_invalid_authentication_header[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_http_request_info_get[/sync/http/param-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_delete[async]
integration_tests/test_delete_requests.py
CodSpeed Performance Gauge
+1%
3.1 ms3.1 ms
test_basic_get[/async/response/const-async response const get-async_const-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
3.3 ms3.3 ms
test_exception_handling[/async/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_global_middleware
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.6 ms2.5 ms
test_split_request_params_get_body[split_request_untyped-async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
+1%
2.8 ms2.7 ms
test_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_http_request_info_get[/async/http/param-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_sse_streaming_async_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
4 ms4 ms
test_sse_named_events
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms

Commits

Click on a commit to change the comparison range
Base
main
3e04c65
-0.01%
fix: support async authenticate() and propagate auth to SubRouters (#1296)
1857c3c
16 days ago
by sansyrox
+0.24%
fix: upgrade actions/checkout to v4 and harden discord notification
2988e6a
3 days ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs