ask_amy.database package

Submodules

ask_amy.database.database module

class ask_amy.database.database.DynamoDB(table_name, endpoint_url=None)

Bases: object

NAME = 'key'
SESSION_DATA = 'dialog_fields'
create_table(read_capacity_units=1, write_capacity_units=1)
delete_item(user_id, name)
get_attribute(attributes, path)
get_item(user_id, name)
load(user_id)
query_by_userid(user_id)
save(user_id, fields_to_persist, session_data)
update_data(user_id, name, attribute, value)

Module contents