Debian Codegraph @

examples/listmodel.py

raw symbols SCIP
1 # Example how to fill a list model with data from Python.
2 def get_data():
3 return [
4 {'name': 'Alpha', 'team': 'red'},
5 {'name': 'Beta', 'team': 'blue'},
6 {'name': 'Gamma', 'team': 'green'},
7 {'name': 'Delta', 'team': 'yellow'},
8 {'name': 'Epsilon', 'team': 'orange'},
9 ]