Bug report
What's wrong
While using PyCharm, lambda type in Schema results in Expected type 'FunctionType', got '() -> Dict[str, Union[str, Any]]' instead

How is that should be
Is this warning correct? The code runs perfectly fine but maybe the Type maybe be wrong here. On this SO post they mentioned using the from typing import Callable for type hinting a lambda.
System information
❯ python3 --version
Python 3.8.5
❯ sw_vers
ProductName: macOS
ProductVersion: 11.0
BuildVersion: 20A5354i
PyCharm 2020.2.1
Bug report
What's wrong
While using PyCharm,

lambdatype inSchemaresults in Expected type 'FunctionType', got '() -> Dict[str, Union[str, Any]]' insteadHow is that should be
Is this warning correct? The code runs perfectly fine but maybe the Type maybe be wrong here. On this SO post they mentioned using the
from typing import Callablefor type hinting a lambda.System information
PyCharm 2020.2.1