Skip to content

Commit 944dc0c

Browse files
committed
chore: remove items
1 parent d1f5765 commit 944dc0c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/core/event_handler/api_gateway.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,6 @@ imports (ie: `from .routers import health`).
879879
│ ├── main.py # Main lambda handler (app.py, index.py, handler.py)
880880
│ └── routers # routers module
881881
│ ├── __init__.py # this file makes "routers" a "Python package"
882-
│ ├── items.py # "items" submodule, e.g. from .routers import items
883882
│ ├── health.py # "health" submodule, e.g. from .routers import health
884883
│ └── users.py # "users" submodule, e.g. from .routers import users
885884
├── template.yaml # SAM template.yml
@@ -927,11 +926,6 @@ imports (ie: `from .routers import health`).
927926
Properties:
928927
Path: /health/status
929928
Method: GET
930-
ItemsPath:
931-
Type: Api
932-
Properties:
933-
Path: /items
934-
Method: GET
935929
UserPath:
936930
Type: Api
937931
Properties:
@@ -962,13 +956,12 @@ imports (ie: `from .routers import health`).
962956
from aws_lambda_powertools.logging.correlation_paths import API_GATEWAY_HTTP
963957
from aws_lambda_powertools.utilities.typing import LambdaContext
964958

965-
from .routers import health, items, users
959+
from .routers import health, users
966960

967961
tracer = Tracer()
968962
logger = Logger()
969963
app = ApiGatewayResolver(proxy_type=ProxyEventType.ALBEvent)
970964
app.include_router(health.router, prefix="/health")
971-
app.include_router(items.router)
972965
app.include_router(users.router)
973966

974967

0 commit comments

Comments
 (0)