Skip to content

Commit ba3b6ef

Browse files
committed
add testing database conn dynamodb
1 parent d76c93d commit ba3b6ef

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ class TodoUpdate(BaseModel):
4949

5050
@app.get("/")
5151
def read_root():
52-
return dynamodb.list_tables()
52+
valor = "uma string vinda de"
53+
return {
54+
"item1": valor,
55+
"item2": "uma string normal",
56+
"item3": dynamodb
57+
}
5358

5459
@app.get('/todos',response_model=List[Todo])
5560
def get_todos():

0 commit comments

Comments
 (0)