Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

feat: add Depends() callable dependency injection

#1378Closed
Comparing
feat/callable-depends
(
8bdc15f
) with
main
(
3e04c65
)
CodSpeed Performance Gauge
0%
Untouched
189

Benchmarks

189 total
test_exception_handling[/sync/get/no_dec-get]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
3.6 ms3.6 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.6 ms2.5 ms
test_json_get[/async/json-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/async/json/const-expected_json3]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_json_body_typed[sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
+1%
2.9 ms2.9 ms
test_sse_basic_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 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_json_get[/sync/json/const-expected_json2]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 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_invalid_authentication_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/sync/json-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 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_exception_handling[/sync/put/no_dec-put]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
2.7 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_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_form_data[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_exception_handling[/sync/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_basic_get[/async/str-async str get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_token_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_exception_handling[/async/put/no_dec-put]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_http_request_info_get[/async/http/param-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_invalid_authentication_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_header[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_basic_get[/async/dict/const-async dict const get-async_const-dict]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_split_request_params_get_combined_failure[sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms

Commits

Click on a commit to change the comparison range
Base
main
3e04c65
+0.15%
feat: add Depends() callable dependency injection
2de30ea
9 days ago
by sansyrox
-0.03%
[pre-commit.ci] auto fixes from pre-commit.com hooks
9bfdcda
9 days ago
by pre-commit-ci[bot]
+0.15%
fix: handle missing __name__ in Depends repr and cleanup on partial failure
a909e9a
9 days ago
by sansyrox
-0.14%
[pre-commit.ci] auto fixes from pre-commit.com hooks
8bdc15f
9 days ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs