Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/msiemens/tinydb
/ test_callable_in_path_with_map
Function
test_callable_in_path_with_map
tests/test_queries.py:40–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
39
40
def
test_callable_in_path_with_map():
41
double =
lambda
x: x + x
42
query = Query().value.map(double) == 10
43
assert query({
'value'
: 5})
44
assert not query({
'value'
: 10})
45
46
47
def
test_callable_in_path_with_chain():
Callers
nothing calls this directly
Calls
2
Query
Class · 0.90
map
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…