Title: Missing update method on the CaseInsensitiveDict · Issue #7632 · python/typeshed · GitHub
Open Graph Title: Missing update method on the CaseInsensitiveDict · Issue #7632 · python/typeshed
X Title: Missing update method on the CaseInsensitiveDict · Issue #7632 · python/typeshed
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...
Open Graph 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 = r...
X 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 (simp...
Opengraph URL: https://github.com/python/typeshed/issues/7632
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing update method on the CaseInsensitiveDict","articleBody":"We got mypy errors after the release 6 hours ago:\r\n\r\n```\r\ncommunication/slack/tasks.py:39: error: \"CaseInsensitiveDict?[builtins.str]\" has no attribute \"update\"\r\n```\r\n\r\nThis is when we do (simplified):\r\n```python\r\nsession = requests.Session()\r\nsession.headers.update({\"Authorization\": f\"Bearer {access_token}\"})\r\n```\r\n\r\nAlso part of the docs: https://docs.python-requests.org/en/master/user/advanced/\r\n\r\nI think the `CaseInsensitiveDict` should also contain the `.update()` method. Will open a PR in a second.","author":{"url":"https://github.com/Fokko","@type":"Person","name":"Fokko"},"datePublished":"2022-04-16T07:28:25Z","url":"https://github.com/python/typeshed/issues/7632"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:612d9986-859e-269c-6982-5dea2a1fe13a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D32A:163716:252B55D:32A96F6:6B0037B3 |
| html-safe-nonce | 9d843cf2b9d0f8dba1f74bc85b393e3c4cebcaf736ce3f4abbcf6576b20da93c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzJBOjE2MzcxNjoyNTJCNTVEOjMyQTk2RjY6NkIwMDM3QjMiLCJ2aXNpdG9yX2lkIjoiNDA0NjM4ODg4NDM1Mzg1NzQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7d984554cf365c5bb4f9d82b9b51642d7ebc3d42390330ee22f39bd9af0b246 |
| hovercard-subject-tag | issue:1206042473 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/7632/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b50524da1e53503c76f41867b9a9ff4b003f7e4e82204b56df846f6a7928d1b1/python/typeshed/issues/7632 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b50524da1e53503c76f41867b9a9ff4b003f7e4e82204b56df846f6a7928d1b1/python/typeshed/issues/7632 |
| og:image:alt | 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 = r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fokko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width