update expression attribute test

This commit is contained in:
Chris Keogh 2017-09-22 15:50:08 +12:00
commit d0f38407a1
2 changed files with 13 additions and 6 deletions

View file

@ -412,8 +412,8 @@ class Table(BaseModel):
return None
def query(self, hash_key, range_comparison, range_objs, limit,
exclusive_start_key, scan_index_forward, projection_expression, index_name=None, **filter_kwargs):
exclusive_start_key, scan_index_forward, projection_expression,
index_name=None, **filter_kwargs):
results = []
if index_name:
all_indexes = (self.global_indexes or []) + (self.indexes or [])