Title: functional syntax for enum not implemented · Issue #574 · python/typeshed · GitHub
Open Graph Title: functional syntax for enum not implemented · Issue #574 · python/typeshed
X Title: functional syntax for enum not implemented · Issue #574 · python/typeshed
Description: https://docs.python.org/3/library/enum.html#functional-api I'm getting Too many arguments for "Enum" from mypy. I'm guessing it needs an __init__ function? Not sure how this should be handled. It's dynamic, so I take it there's no real w...
Open Graph Description: https://docs.python.org/3/library/enum.html#functional-api I'm getting Too many arguments for "Enum" from mypy. I'm guessing it needs an __init__ function? Not sure how this should be handled. It's...
X Description: https://docs.python.org/3/library/enum.html#functional-api I'm getting Too many arguments for "Enum" from mypy. I'm guessing it needs an __init__ function? Not sure how this shoul...
Opengraph URL: https://github.com/python/typeshed/issues/574
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"functional syntax for enum not implemented","articleBody":"https://docs.python.org/3/library/enum.html#functional-api\n\nI'm getting `Too many arguments for \"Enum\"` from mypy. I'm guessing it needs an `__init__` function?\n\nNot sure how this should be handled. It's dynamic, so I take it there's no real way to provide type safety for this syntax? But maybe something should be done to not throw an error when it is used?\n","author":{"url":"https://github.com/dlinnemeyer","@type":"Person","name":"dlinnemeyer"},"datePublished":"2016-09-26T19:14:48Z","url":"https://github.com/python/typeshed/issues/574"}
| 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:6705f169-3132-5a8c-4a56-f8de7bea6361 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94BC:3A7693:21D27ED:2DDA893:6B002198 |
| html-safe-nonce | 5008bad64d805c4191ff24f46e2ff1fb92e82b89c6b0c77ba1e77e6b3b4a8cac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEJDOjNBNzY5MzoyMUQyN0VEOjJEREE4OTM6NkIwMDIxOTgiLCJ2aXNpdG9yX2lkIjoiMzEwMjEwODkzMjQxMjI4NTMzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bb81b015394fe7008045a077c1955b995ac68651a51a539916a1f214e532428 |
| hovercard-subject-tag | issue:179313188 |
| 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/574/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c80dfcdd5e4989c3c9e5d95e75e9538eeda3866307c64daa69126510e8872db4/python/typeshed/issues/574 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c80dfcdd5e4989c3c9e5d95e75e9538eeda3866307c64daa69126510e8872db4/python/typeshed/issues/574 |
| og:image:alt | https://docs.python.org/3/library/enum.html#functional-api I'm getting Too many arguments for "Enum" from mypy. I'm guessing it needs an __init__ function? Not sure how this should be handled. It's... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dlinnemeyer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width