Closed
Description
We got mypy errors after the release 6 hours ago:
communication/slack/tasks.py:39: error: "CaseInsensitiveDict?[builtins.str]" has no attribute "update"
This is when we do (simplified):
session = requests.Session()
session.headers.update({"Authorization": f"Bearer {access_token}"})
Also part of the docs: https://docs.python-requests.org/en/master/user/advanced/
I think the CaseInsensitiveDict
should also contain the .update()
method. Will open a PR in a second.
Metadata
Metadata
Assignees
Labels
No labels