diff --git a/chalice/deployer.py b/chalice/deployer.py index 82988132e..49ee66072 100644 --- a/chalice/deployer.py +++ b/chalice/deployer.py @@ -409,7 +409,7 @@ def _add_error_responses(self, http_method, node, route_entry, client): client.put_integration_response(**integration_response_args) def _add_options_preflight_request(self, node, http_methods): - # type: (Dict[str, Any]) -> None + # type: (Dict[str, Any], List[str]) -> None # If CORs is configured we also need to set up # an OPTIONS method for them for preflight requests. # TODO: We should probably warn/error if they've also configured