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

Fix failing Pyright test #340

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Fix failing Pyright test #340

merged 1 commit into from
Dec 19, 2023

Commits on Dec 19, 2023

  1. Only set Content-Type when it is available

    Without this change, there is a new check in Pyright version 1.1.341
    that fails:
    
        Argument of type "str | None" cannot be assigned to parameter "val" of type "_HeaderTypeParam" in function "__setitem__"
    victorlin committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    6bca234 View commit details
    Browse the repository at this point in the history