log2timeline / l2tscaffolder

Scaffolders for bootstrapping development of open source forensics tools.
http://l2tscaffolder.readthedocs.io/
Apache License 2.0
6 stars 9 forks source link

Fixing a small signature mismatch #86

Closed jkppr closed 2 years ago

jkppr commented 2 years ago

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.