Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

refactor: modernize typing and defaults across core API

#1299Merged
Comparing
Sachin-Bhat:refactor/pep_604_compliance
(
a296193
) with
main
(
2630311
)
CodSpeed Performance Gauge
0%
Untouched
190

Benchmarks

190 total
test_default_url_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_invalid_authentication_header_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_no_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_no_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_template[async]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_basic_get[/async/response-async response get-async-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.2 ms3.1 ms
test_basic_get[/async/dict-async dict get-async-dict]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3 ms3 ms
test_file_download[async]
integration_tests/test_file_download.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_405_method_not_allowed_content_type
integration_tests/test_status_code.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_docs_handler
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_add_subrouter_paths
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_basic_get[/sync/dict-sync dict get-sync-dict]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
4.4 ms4.4 ms
test_response_in_before_middleware
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_typeddict_body_injection_sync
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_openapi_typeddict_request_body
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_openapi_typeddict_with_request
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_put_with_param[sync]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_put[async]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
0%
3 ms3 ms
test_split_request_params_get_method[split_request_typed-async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_serve_html[async]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_basic_get[/sync/response-sync response get-sync-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_web_socket_raw_benchmark
integration_tests/test_web_sockets.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_serve_html[sync]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sub_router[post]
integration_tests/test_subrouter.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms

Commits

Click on a commit to change the comparison range
Base
main
2630311
-0.17%
fix: restore mutable defaults for Config/DependencyMap and handle PEP 604 unions in param coercion
a296193
12 days ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs