-
-
Save xsteadfastx/f542392cdd936faed1ee908a8e1e38a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Dict, Union | |
QueryDict = Dict[str, Union[str, int, None]] | |
def foo(extra_query: QueryDict = None): | |
f = {"a":1, "b":2} | |
if extra_query: | |
f.update(extra_query) | |
foo(extra_query={"c": 3}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the error is: