Title: Try `getattr` first in `convert(mapping, from_attributes=True)` by jcrist · Pull Request #519 · msgspec/msgspec · GitHub
Open Graph Title: Try `getattr` first in `convert(mapping, from_attributes=True)` by jcrist · Pull Request #519 · msgspec/msgspec
X Title: Try `getattr` first in `convert(mapping, from_attributes=True)` by jcrist · Pull Request #519 · msgspec/msgspec
Description: A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML - Try `getattr` first in `convert(mapping, from_attributes=True)` by jcrist · Pull Request #519 · msgspec/msgspec
Open Graph Description: Previously if a mapping was passed to convert, values would only be extracted via PyObject_GetItem even if from_attributes=True. Some object types define __getitem__ but also store data via attribu...
X Description: Previously if a mapping was passed to convert, values would only be extracted via PyObject_GetItem even if from_attributes=True. Some object types define __getitem__ but also store data via attribu...
Opengraph URL: https://github.com/msgspec/msgspec/pull/519
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:372f5735-56c7-a76e-f302-f41d148e4a7e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB98:1F08:300AAB:44C95D:6A4D5EBC |
| html-safe-nonce | 92e8f7bd049312014941a880d1bc1e2167ccffdf9dca31ccb33f6f7a1e99bfb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjk4OjFGMDg6MzAwQUFCOjQ0Qzk1RDo2QTRENUVCQyIsInZpc2l0b3JfaWQiOiI0MzUxMTM4OTQxNjY0ODQ1NTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 55106eabe8c2a21df87baf4dcab126ec95607f1298abaa26fa25b4edbefc42f5 |
| hovercard-subject-tag | pull_request:1476771676 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/msgspec/msgspec/519/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/88145162bd7630318f02dd872c538fd8c79cc316088b0da2e75c2131c84013c9/msgspec/msgspec/pull/519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88145162bd7630318f02dd872c538fd8c79cc316088b0da2e75c2131c84013c9/msgspec/msgspec/pull/519 |
| og:image:alt | Previously if a mapping was passed to convert, values would only be extracted via PyObject_GetItem even if from_attributes=True. Some object types define __getitem__ but also store data via attribu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcrist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-cache |
| go-import | github.com/msgspec/msgspec git https://github.com/msgspec/msgspec.git |
| octolytics-dimension-user_id | 287455683 |
| octolytics-dimension-user_login | msgspec |
| octolytics-dimension-repository_id | 332952543 |
| octolytics-dimension-repository_nwo | msgspec/msgspec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 332952543 |
| octolytics-dimension-repository_network_root_nwo | msgspec/msgspec |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width