Skip to content

Commit 1696526

Browse files
Reverting test
1 parent cbf0c3b commit 1696526

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/event_handler_appsync/handlers/appsync_resolver_handler.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ class Post(BaseModel):
7979
# PROCESSING SINGLE RESOLVERS
8080
@app.resolver(type_name="Query", field_name="getPost")
8181
def get_post(post_id: str = "") -> dict:
82-
return Post(**posts[post_id]).model_dump_json()
82+
post = Post(**posts[post_id]).dict()
83+
return post
8384

8485

8586
@app.resolver(type_name="Query", field_name="allPosts")

0 commit comments

Comments
 (0)