Debian Codegraph @

doc/samples/uptodate_callable.py

raw symbols SCIP
1
2 def fake_get_value_from_db():
3 return 5
4
5 def check_outdated():
6 total = fake_get_value_from_db()
7 return total > 10
8
9
10 def task_put_more_stuff_in_db():
11 def put_stuff(): pass
12 return {'actions': [put_stuff],
13 'uptodate': [check_outdated],
14 }