Spaces:
Configuration error
Configuration error
from app import add_data_to_dynamodb, get_data_from_dynamodb | |
test_data = { | |
'id': '123', | |
'title': 'Example Title', | |
'keywords': 'example, test, boto3', | |
'createdAt': '2024-09-25T12:34:56' | |
} | |
add_data_to_dynamodb(test_data) | |
retrieved_data = get_data_from_dynamodb('123') | |
print(retrieved_data) | |