Skip to content

Commit

Permalink
always use n dependency in dependencies kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
jvllmr committed Sep 6, 2024
1 parent 5c6be3f commit 101e0fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/data/gen_code_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def gen_router(n=2, last=False, use_lib=True):
elts=[
ast.Call(
func=ast.Name(id="Depends", ctx=ast.Load()),
args=[ast.Name(id="dependency50", ctx=ast.Load())],
args=[
ast.Name(id=f"dependency{n}", ctx=ast.Load())
],
keywords=[],
)
]
Expand Down

1 comment on commit 101e0fb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 101e0fb Previous: e2264e4 Ratio
tests/test_lib.py::test_basic[False] 0.04725895809675009 iter/sec (stddev: 1.1820229932011) 0.3658144300960487 iter/sec (stddev: 0.12521375781641175) 7.74

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.