How to batch_get_item many items at once given a list of primary partition key values
问题 So, so I have a dynamodb table with a primary partition key column, foo_id and no primary sort key. I have a list of foo_id values, and want to get the observations associated with this list of ids. I figured the best way to do this (?) is to use batch_get_item() , but it's not working out for me. # python code import boto3 client = boto3.client('dynamodb') # ppk_values = list of `foo_id` values (strings) (< 100 in this example) x = client.batch_get_item( RequestItems={ 'my_table_name': {