From 8b9206390a7fb9e78c49f998b49da0b5047e09dd Mon Sep 17 00:00:00 2001 From: Ran Isenberg <60175085+ran-isenberg@users.noreply.github.com> Date: Sat, 26 Apr 2025 07:02:32 -0700 Subject: [PATCH 1/2] docs: fix wrong highlights --- docs/core/event_handler/appsync_events.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/core/event_handler/appsync_events.md b/docs/core/event_handler/appsync_events.md index 82e87f60eda..30754289be9 100644 --- a/docs/core/event_handler/appsync_events.md +++ b/docs/core/event_handler/appsync_events.md @@ -241,7 +241,7 @@ We use `asyncio` module to support async functions, and we ensure reliable execu === "working_with_async_resolvers.py" - ```python hl_lines="5 6 13" + ```python hl_lines="6 11 14" --8<-- "examples/event_handler_appsync_events/src/working_with_async_resolvers.py" ``` @@ -251,7 +251,7 @@ You can access to the original Lambda event or context for additional informatio === "accessing_event_and_context.py" - ```python hl_lines="5 6 13" + ```python hl_lines="5 6 14" --8<-- "examples/event_handler_appsync_events/src/accessing_event_and_context.py" ``` @@ -363,13 +363,13 @@ You can test your event handlers by passing a mocked or actual AppSync Events La === "getting_started_with_testing_publish.py" - ```python hl_lines="5 6 13" + ```python --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_publish.py" ``` === "getting_started_with_testing_publish_event.json" - ```python hl_lines="5 6 13" + ```python --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_publish_event.json" ``` @@ -377,12 +377,12 @@ You can test your event handlers by passing a mocked or actual AppSync Events La === "getting_started_with_testing_subscribe.py" - ```python hl_lines="5 6 13" + ```python --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_subscribe.py" ``` === "getting_started_with_testing_subscribe_event.json" - ```python hl_lines="5 6 13" + ```python --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_subscribe_event.json" ``` From 320d57610a5e2402ff7336a41a8d25882c14a3d2 Mon Sep 17 00:00:00 2001 From: Ran Isenberg <60175085+ran-isenberg@users.noreply.github.com> Date: Sat, 26 Apr 2025 07:04:52 -0700 Subject: [PATCH 2/2] Update appsync_events.md --- docs/core/event_handler/appsync_events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/event_handler/appsync_events.md b/docs/core/event_handler/appsync_events.md index 30754289be9..ae1340184d5 100644 --- a/docs/core/event_handler/appsync_events.md +++ b/docs/core/event_handler/appsync_events.md @@ -369,7 +369,7 @@ You can test your event handlers by passing a mocked or actual AppSync Events La === "getting_started_with_testing_publish_event.json" - ```python + ```json --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_publish_event.json" ``` @@ -383,6 +383,6 @@ You can test your event handlers by passing a mocked or actual AppSync Events La === "getting_started_with_testing_subscribe_event.json" - ```python + ```json --8<-- "examples/event_handler_appsync_events/src/getting_started_with_testing_subscribe_event.json" ```