We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not totally sure how to fix the issue with binding a TypeVar with Union types across the same function signature:
$ mypy ./examples examples/timedelta_serializer.py:81: error: Dict entry 0 has incompatible type "Type[timedelta]": "Callable[[int], timedelta]"; expected "Type[Any]": "Callable[[Union[str, int, float, bool, datetime, Dict[Any, Any]]], Any]" [dict-item] timedelta: from_seconds, ^ examples/timedelta_serializer.py:90: error: Dict entry 0 has incompatible type "str": "Callable[[int], timedelta]"; expected "str": "Callable[[Union[str, int, float, bool, datetime, Dict[Any, Any]]], Any]" [dict-item] "duration": from_seconds, ^ Found 2 errors in 1 file (checked 6 source files)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not totally sure how to fix the issue with binding a TypeVar with Union types across the same function signature:
The text was updated successfully, but these errors were encountered: