def get_item_attribute_map(self, attributes, item_key=ITEM, pythonic_key=True):
    '\n        Builds up a dynamodb compatible AttributeValue map\n        '
    if pythonic_key:
        item_key = item_key
    attr_map = {item_key: {}}
    for (key, value) in attributes.items():
        if isinstance(value, dict):
            attr_map[item_key][key] = value
        else:
            attr_map[item_key][key] = {self.get_attribute_type(key): value}
    return attr_map
Builds up a dynamodb compatible AttributeValue map
def get_item_attribute_map(self, attributes, item_key=ITEM, pythonic_key=True):
    '\n        \n        '
    if pythonic_key:
        item_key = item_key
    attr_map = {item_key: {}}
    for (key, value) in attributes.items():
        if isinstance(value, dict):
            attr_map[item_key][key] = value
        else:
            attr_map[item_key][key] = {self.get_attribute_type(key): value}
    return attr_map