Title: Add return type annotation for Construct.sizeof by laomaiweng · Pull Request #1117 · construct/construct · GitHub
Open Graph Title: Add return type annotation for Construct.sizeof by laomaiweng · Pull Request #1117 · construct/construct
X Title: Add return type annotation for Construct.sizeof by laomaiweng · Pull Request #1117 · construct/construct
Description: The default implementation of Construct.sizeof unconditionally raises a SizeofError, because it is meant to be overridden in subclasses. This confuses some type checkers (e.g., pyright) which incor...
Open Graph Description: The default implementation of Construct.sizeof unconditionally raises a SizeofError, because it is meant to be overridden in subclasses. This confuses some type checkers (e.g., pyright) which incor...
X Description: The default implementation of Construct.sizeof unconditionally raises a SizeofError, because it is meant to be overridden in subclasses. This confuses some type checkers (e.g., pyright) which incor...
Opengraph URL: https://github.com/construct/construct/pull/1117
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:b92e8962-7f45-83b8-b6bf-3d42227ddab6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0C6:FE92F:163380:1D0BF8:698E693C |
| html-safe-nonce | e1e128106cac37b90978c2e2f268b07585e85455b4537de8316930a3e1ae2596 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEM2OkZFOTJGOjE2MzM4MDoxRDBCRjg6Njk4RTY5M0MiLCJ2aXNpdG9yX2lkIjoiNjA0MjI3NTMyNjU0MDU0MDIyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d409e0ce44f4c3dec3c390eaa94a25bca8a746c71e360e3207d754e28fcca706 |
| hovercard-subject-tag | pull_request:2702168031 |
| 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/construct/construct/1117/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f40c273bbe7bb60f103f62ada21cadc58157b953c34f772ca4c1cbc1fa08e3a7/construct/construct/pull/1117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f40c273bbe7bb60f103f62ada21cadc58157b953c34f772ca4c1cbc1fa08e3a7/construct/construct/pull/1117 |
| og:image:alt | The default implementation of Construct.sizeof unconditionally raises a SizeofError, because it is meant to be overridden in subclasses. This confuses some type checkers (e.g., pyright) which incor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | laomaiweng |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| turbo-cache-control | no-preview |
| go-import | github.com/construct/construct git https://github.com/construct/construct.git |
| octolytics-dimension-user_id | 1703836 |
| octolytics-dimension-user_login | construct |
| octolytics-dimension-repository_id | 4218694 |
| octolytics-dimension-repository_nwo | construct/construct |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 1196772 |
| octolytics-dimension-repository_parent_nwo | MostAwesomeDude/construct |
| octolytics-dimension-repository_network_root_id | 1196772 |
| octolytics-dimension-repository_network_root_nwo | MostAwesomeDude/construct |
| 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 | c5daa44975c44e187dd9ea0d761c37973489d508 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width