Skip to content

Fix Documentation: Event Handler REST API CORS example #1018

Closed
@joel-aws

Description

@joel-aws

In the example for CORS, line 3 should read:

from aws_lambda_powertools.event_handler.api_gateway import APIGatewayRestResolver, CORSConfig

Or CORSConfig should be added to __init__.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions