The function PromptInfoWithDefault in the BaseOutputHandler class had an return type annotation that was not matching the documented return value type in the comment beneath. Also this resulted in a signature mismatch error with our internal linter since the function is overwritten in the OutputHandlerClick class with the correct return value annotation.
Updating the return type annotation for the PromptInfoWithDefault in the BaseOutputHandler class from str to object fixes the issue.
The function
PromptInfoWithDefault
in theBaseOutputHandler
class had an return type annotation that was not matching the documented return value type in the comment beneath. Also this resulted in a signature mismatch error with our internal linter since the function is overwritten in theOutputHandlerClick
class with the correct return value annotation.Updating the return type annotation for the
PromptInfoWithDefault
in theBaseOutputHandler
class fromstr
toobject
fixes the issue.