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
Here's an example:
from datetime import date, datetime, time from typing import Dict, List, Union PrimDict = Dict[str, Union[bool, int, float, str, date, datetime, time]] data: PrimDict = {}
And here's the output:
test_dict_assign.py:6: error: Incompatible types in assignment (expression has type Dict[str, Union[float, str, date, datetime, time]], variable has type Dict[str, Union[bool, int, float, str, date, datetime, time]])
The text was updated successfully, but these errors were encountered:
This sounds very similar to #3085. Does it still happen on master?
Sorry, something went wrong.
I just checked, it is already fixed on master. Feel free to reopen if you have additional problems of this kind.
No branches or pull requests
Here's an example:
And here's the output:
The text was updated successfully, but these errors were encountered: