We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eebe812 commit 8d9482eCopy full SHA for 8d9482e
tests/test_ogm.py
@@ -144,7 +144,7 @@ def testGraph(self):
144
g.foods.query(name=food.name).what(expand(in_(Eats)))) \
145
.what(Animal.name).all())
146
147
- for food_name, food_color in g.query(Food.name, Food.color):
+ for food_name, food_color in g.query(Food.name, Food.color).all():
148
print(food_name, food_color) # 'pea green' # 'cheese yellow'
149
150
# FIXME While it is nicer to use files, parser should be more
0 commit comments