Title: gh-124176: Add special support for dataclasses to `create_autospec` by sobolevn · Pull Request #124429 · python/cpython · GitHub
Open Graph Title: gh-124176: Add special support for dataclasses to `create_autospec` by sobolevn · Pull Request #124429 · python/cpython
X Title: gh-124176: Add special support for dataclasses to `create_autospec` by sobolevn · Pull Request #124429 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Now creating autospecs from dataclass types is easier. We inspect all fields and add them to __dir__, so mock's spec will know about future dataclass instance fields. Issue: Improve UX for mo...
X Description: Now creating autospecs from dataclass types is easier. We inspect all fields and add them to __dir__, so mock's spec will know about future dataclass instance fields. Issue: Improve UX fo...
Opengraph URL: https://github.com/python/cpython/pull/124429
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:e9a2d0ed-4dc4-504f-f05d-52b34d99ba82 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A658:2F08F:155BC35:1D55332:6A55D4FB |
| html-safe-nonce | 9fad6d9d5093131bcebcaf43de6c181aada595396f7acc125d0536123724dc6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjU4OjJGMDhGOjE1NUJDMzU6MUQ1NTMzMjo2QTU1RDRGQiIsInZpc2l0b3JfaWQiOiI1NjgwOTYxMzMxNjI2NjI4MzQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 53cc20e6b297abc4c1f74df100f094cc94e25d1433c756fc1c3ec4b7e12bfa4c |
| hovercard-subject-tag | pull_request:2088756450 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/124429/checks |
| twitter:image | https://opengraph.githubassets.com/7aff2033ee47ce85185da3c33af8f09433dfa43f673930175c9cbd7a4c069cba/python/cpython/pull/124429 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7aff2033ee47ce85185da3c33af8f09433dfa43f673930175c9cbd7a4c069cba/python/cpython/pull/124429 |
| og:image:alt | Now creating autospecs from dataclass types is easier. We inspect all fields and add them to __dir__, so mock's spec will know about future dataclass instance fields. Issue: Improve UX for mo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width