Title: Support @no_type_checks to ignore annotations for a function · Issue #557 · python/mypy · GitHub
Open Graph Title: Support @no_type_checks to ignore annotations for a function · Issue #557 · python/mypy
X Title: Support @no_type_checks to ignore annotations for a function · Issue #557 · python/mypy
Description: Add a typing.no_type_checks function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors: from typing import no_type_checks @no_type_checks def foo(x: {'x': 2}, y...
Open Graph Description: Add a typing.no_type_checks function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors: from typing import no_type_check...
X Description: Add a typing.no_type_checks function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors: from typing import no_type_check...
Opengraph URL: https://github.com/python/mypy/issues/557
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support @no_type_checks to ignore annotations for a function","articleBody":"Add a `typing.no_type_checks` function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors:\n\n```\nfrom typing import no_type_checks\n\n@no_type_checks\ndef foo(x: {'x': 2}, y: 1+2):\n 1 + 'x'\n```\n\nSee PEP 484 discussion: https://github.com/ambv/typehinting/issues/26\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2015-01-17T20:24:34Z","url":"https://github.com/python/mypy/issues/557"}
| 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:08625d18-8839-30ab-c4a7-c71a05aa9439 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC12:30263F:1C578E2:26534EE:6B00098A |
| html-safe-nonce | b8cbc9084ae9b174fc51a51d3a37494531427fdfa33d819739b50e526a270a58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzEyOjMwMjYzRjoxQzU3OEUyOjI2NTM0RUU6NkIwMDA5OEEiLCJ2aXNpdG9yX2lkIjoiMjM5MjUwMzc3NjI5NzYzOTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b4c4abe0131c88855bb88e7546b6db52fb211ee7e8c7016d40daaf54aa38a410 |
| hovercard-subject-tag | issue:54673932 |
| 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/mypy/557/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bff08a83fb71d5cc5f2b7b08415f10cd4564e8b6116370f4578a6544ae91a66c/python/mypy/issues/557 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bff08a83fb71d5cc5f2b7b08415f10cd4564e8b6116370f4578a6544ae91a66c/python/mypy/issues/557 |
| og:image:alt | Add a typing.no_type_checks function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors: from typing import no_type_check... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width