export-dynamodb icon indicating copy to clipboard operation
export-dynamodb copied to clipboard

Why is "cur_total" twice as much as it should be?

Open wtfzambo opened this issue 4 years ago • 0 comments

I was reading through the source code of this package cause I needed to copy something, when I realized that:

cur_total = (len(items) + raw_data['Count'])

Why is this defined like this? It effectively makes the count of total items retrieved twice as much as it actually is, since items = raw_data['Items'].

wtfzambo avatar Oct 14 '19 15:10 wtfzambo