Skip to content
New issue

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

Exploring generic Policy.header_fetch_parse for python#2333 #36

Closed
wants to merge 4 commits into from

Conversation

Avasam
Copy link
Owner

@Avasam Avasam commented Dec 1, 2023

Exploring generic Policy.header_fetch_parse for python#2333

@Avasam Avasam changed the title Exploring generic Policy.header_fetch_parse for #2333 Exploring generic Policy.header_fetch_parse for python#2333 Dec 1, 2023

This comment has been minimized.

Copy link

github-actions bot commented Dec 7, 2023

Diff from mypy_primer, showing the effect of this PR on open source code:

spack (https://github.com/spack/spack)
+ lib/spack/spack/oci/oci.py:142: error: Argument 1 to "endpoint" of "ImageReference" has incompatible type "Optional[Any]"; expected "str"  [arg-type]

twine (https://github.com/pypa/twine)
+ twine/commands/check.py:73: error: Item "None" of "Any | None" has no attribute "params"  [union-attr]

urllib3 (https://github.com/urllib3/urllib3)
+ src/urllib3/contrib/emscripten/fetch.py:389: error: Argument "headers" to "EmscriptenResponse" has incompatible type "dict[str, Any | None]"; expected "dict[str, str]"  [arg-type]

@Avasam Avasam closed this Feb 29, 2024
@Avasam Avasam deleted the _HeaderType branch February 29, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant