When I deployed after giving type annotation to my existing implementation as below, Internal Server Error occurred at all endpoints.
@app.route('/')
def index() -> Dict[str, str]:
return {'hello': 'world'}
My deployment is done via a pipeline based on the definition generated by chalice generate-pipeline command.
Though I created a new environment to try to reproduce my issue, I could not make it reproduced. (I mean I could access to my API normally even if the method has type annotation.)
If I re-deploy the code that was deleted the type annotation via the existing pipeline, I can access normally without facing an Internal Server Error.
Submitting a reproduction code is difficult for me, but is there anything I can confirm else?