Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ormar-orm/ormar
/ avg
Function
avg
benchmarks/test_benchmark_aggregate.py:21–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
async
def
test_avg(aio_benchmark, num_models: int, authors_in_db: list[Author]):
20
@aio_benchmark
21
async
def
avg():
22
return
await Author.objects.avg(
"score"
)
23
24
average = avg()
25
assert 0 <= average <= 100
Callers
1
test_avg
Function · 0.85
Calls
1
avg
Method · 0.45
Tested by
no test coverage detected