René's URL Explorer Experiment


Title: Protobuf stubs update using mypy-protobuf by nipunn1313 · Pull Request #4785 · python/typeshed · GitHub

Open Graph Title: Protobuf stubs update using mypy-protobuf by nipunn1313 · Pull Request #4785 · python/typeshed

X Title: Protobuf stubs update using mypy-protobuf by nipunn1313 · Pull Request #4785 · python/typeshed

Description: This uses mypy-protobuf to check in up to date stubs for google.protobuf proto files. The PR is split into two commits, one which checks in a script for generating these stubs, and second for the generated .pyi stubs. The current stubs were manually added from a very-old version of mypy-protobuf years ago (before mypy-protobuf was even open source). This PR updates them, and streamlines the process for updating them again in the future. With each release of protobuf, typeshed will have to update the stubs. Fixes nipunn1313/mypy-protobuf#158 Fixes #2521 Ultimately, much of this can be resolved by integrating mypy-protobuf with protobuf itself, but that's not currently on the horizon - tracked in both nipunn1313/mypy-protobuf#95 protocolbuffers/protobuf#2638 (comment)

Open Graph Description: This uses mypy-protobuf to check in up to date stubs for google.protobuf proto files. The PR is split into two commits, one which checks in a script for generating these stubs, and second for the g...

X Description: This uses mypy-protobuf to check in up to date stubs for google.protobuf proto files. The PR is split into two commits, one which checks in a script for generating these stubs, and second for the g...

Opengraph URL: https://github.com/python/typeshed/pull/4785

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:05347b83-aeae-49d5-74ef-2d6fe0796f61
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4E8:145630:35AE38E:4778CFC:6B0049B9
html-safe-nonce7bc0d6cab1f3244501797182f4414ad00f303da4eeb35ede1888ee583bd25d21
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEU4OjE0NTYzMDozNUFFMzhFOjQ3NzhDRkM6NkIwMDQ5QjkiLCJ2aXNpdG9yX2lkIjoiNDI2NTA1ODQ4MTI4MDY2NjA0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac42800a39c414b376229269d5f7cb4865c7cce3c9bbc34d7db97bb7e47a559242
hovercard-subject-tagpull_request:525401360
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/typeshed/pull/4785/files
twitter:imagehttps://avatars.githubusercontent.com/u/1300387?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1300387?s=400&v=4
og:image:altThis uses mypy-protobuf to check in up to date stubs for google.protobuf proto files. The PR is split into two commits, one which checks in a script for generating these stubs, and second for the g...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/4785/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4785%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4785%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/4785/files
Reloadhttps://github.com/python/typeshed/pull/4785/files
Reloadhttps://github.com/python/typeshed/pull/4785/files
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
nipunn1313:protoc_updatehttps://github.com/nipunn1313/typeshed/tree/protoc_update
Conversation 7 https://github.com/python/typeshed/pull/4785
Commits 3 https://github.com/python/typeshed/pull/4785/commits
Checks 0 https://github.com/python/typeshed/pull/4785/checks
Files changed https://github.com/python/typeshed/pull/4785/files
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
Protobuf stubs update using mypy-protobuf https://github.com/python/typeshed/pull/4785/files#top
Show all changes 3 commits https://github.com/python/typeshed/pull/4785/files
c8a89c9 Add script to generate protoc stubs using mypy-protobuf generated stubs nipunn1313 Nov 22, 2020 https://github.com/python/typeshed/pull/4785/commits/c8a89c95cf48f8a67786ed687e6be7637086b848
380d11f Use generate_proto_stubs to generate stubs for protobuf 3.14.0 nipunn1313 Nov 23, 2020 https://github.com/python/typeshed/pull/4785/commits/380d11fa1c142d00a4d4078e8fcc8dd51a42d110
6794ed2 Skip _pb2.pyi from flake8,black,isort,pytype nipunn1313 Nov 23, 2020 https://github.com/python/typeshed/pull/4785/commits/6794ed2d3f2d8379d4bb66da07d19e7e174210a3
Clear filters https://github.com/python/typeshed/pull/4785/files
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
.flake8 https://github.com/python/typeshed/pull/4785/files#diff-6951dbb399883798a226c1fb496fdb4183b1ab48865e75eddecf6ceb6cf46442
pyproject.toml https://github.com/python/typeshed/pull/4785/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
generate_proto_stubs.sh https://github.com/python/typeshed/pull/4785/files#diff-a1962d726c22bb45d66f6ea4feba7204bd5a7b36810007129f385d3e413d43ec
pytype_exclude_list.txt https://github.com/python/typeshed/pull/4785/files#diff-cb0e039b9adc044209e9fea928c26c2a255ed429a2da768b0439fc0fdccb0282
any_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-057c0fa7736c2b49ece2333c9fa6a50e1c7715b5fcfa6b0f80540c8ef230862e
any_test_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-36146235fa0a67c73a6278cd3657aad5b0a672b580502a98f64bac458487da7d
api_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-7a2118d52221fb9c8f776c36f75dcf176e2c686ba2451ac86e5031d4e82b1c72
plugin_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-619a4d84d586082921da67c4a8a91c0477c88f74cd224c5c210dc4e020027a58
descriptor_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-a4746b7e07726627ba7628bdfbfe617f4554671d28c16378e04f083fbeb161e4
duration_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-a0d492c508da270101bf298569348fc5b36a3e9f5f009f27bc9771e398200237
empty_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-1f96e2f82402665a6b201878b47de9186591b979b88d0d0543a6518f19b478d4
field_mask_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-3c9fac01a912708d51483c57d4fb345cdc75ce2aab9d3f79ecdf302e8609f18e
map_proto2_unittest_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-7790d2a8910e327ded1b5f8272cfc60adcb28f882386dd73742bad0c8865436e
map_unittest_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-6e766d03c0a192c1fc8c51a486aeffb04174b41aad045e1d15538c0eb387a42c
source_context_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-24dfdd4a60f4cba00353cf439d6d95926d8aa4f4e209258548f48cd150516c36
struct_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-f93be5e7c489dbd9707022b2f63b4fabd57e0ecdad811a5b4df70b13b0773705
test_messages_proto2_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-13f8438374c793e92142eb3bf515e29f3d91c03d366e0cd956ed618f3be204a3
test_messages_proto3_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-0dd467f439c43ed05d502f2ceabf78629bf394bf6d58054bb39163182a6c8351
timestamp_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-9c75bfdd7adc95f7ed301f08df28c14c02d6609c357273123ae135562bd68f05
type_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-66746380ac4039b5070e2ed7570c5f61613992ea507d26f2bf4854f3eb769848
unittest_arena_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-f6244ec8a61d815e14508b9cab00e6b6f878e04501bc35dca01b8640f58fbfe7
unittest_custom_options_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-3208b87818eba7e0b7841272c5a23f93fac0145ebf1063034f97d1ab81e33811
unittest_import_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-b07b22e8b7ecd944cfb91af1bf7b66bed89a5f106327f8328bc875c250491407
unittest_import_public_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-1893f752d9fd06329ab640be6c1e913f01956f0936af4e31f0d86cc633b3f221
unittest_mset_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-bb1588feb1e0745344c7764fb8c58693fe9154b02714a20170c594897635b98b
unittest_mset_wire_format_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-ce1720f25943434b5301404a5a342416e87e92f58a2f93e9ac4e4244a87aa290
unittest_no_arena_import_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-d2f40d9a52b7f7b5a8a495386aac8aeaa345dfb40968ccb7e398657171daa21d
unittest_no_arena_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-6cf1fefea8be13cbbb42067f9fc00fb62edc00996dfba25acbcebbba2b7847d8
unittest_no_generic_services_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-ea06beab659327159678b41d3cae746991fc8517d8dd9e1f4a927332261c593a
unittest_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-328c07f017a31da756c9b78484dbeab4ec7757a29092a2ba2c9afe2d4bc63a50
unittest_proto3_arena_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-15f2b45e02a5daed905446610c4d8738c68e3287303ff4d6533b35fb13d68fac
json_format_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-1a0e5b8f8f3612b305c431ec363538bd09f17520e495dcb7fc7274c9980b25f5
json_format_proto3_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-0c1df848faa17d8707a321637a15bf9514973837dcfe3bd35ee2222b8b83ead5
wrappers_pb2.pyi https://github.com/python/typeshed/pull/4785/files#diff-d48b216f7dc2a8be58d3e9bb6627ea1288a96de12c1176717168829c6af201a6
.flake8https://github.com/python/typeshed/pull/4785/files#diff-6951dbb399883798a226c1fb496fdb4183b1ab48865e75eddecf6ceb6cf46442
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/.flake8
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/4785/files#diff-6951dbb399883798a226c1fb496fdb4183b1ab48865e75eddecf6ceb6cf46442
pyproject.tomlhttps://github.com/python/typeshed/pull/4785/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/4785/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
scripts/generate_proto_stubs.shhttps://github.com/python/typeshed/pull/4785/files#diff-a1962d726c22bb45d66f6ea4feba7204bd5a7b36810007129f385d3e413d43ec
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/scripts/generate_proto_stubs.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 25, 2020https://github.com/python/typeshed/pull/4785/files#r530048727
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
nipunn1313https://github.com/nipunn1313
Nov 25, 2020https://github.com/python/typeshed/pull/4785/files#r530374064
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 25, 2020https://github.com/python/typeshed/pull/4785/files#r530517516
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
tests/pytype_exclude_list.txthttps://github.com/python/typeshed/pull/4785/files#diff-cb0e039b9adc044209e9fea928c26c2a255ed429a2da768b0439fc0fdccb0282
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/tests/pytype_exclude_list.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/4785/files#diff-cb0e039b9adc044209e9fea928c26c2a255ed429a2da768b0439fc0fdccb0282
third_party/2and3/google/protobuf/any_pb2.pyihttps://github.com/python/typeshed/pull/4785/files#diff-057c0fa7736c2b49ece2333c9fa6a50e1c7715b5fcfa6b0f80540c8ef230862e
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/third_party/2and3/google/protobuf/any_pb2.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
third_party/2and3/google/protobuf/any_test_pb2.pyihttps://github.com/python/typeshed/pull/4785/files#diff-36146235fa0a67c73a6278cd3657aad5b0a672b580502a98f64bac458487da7d
View file https://github.com/python/typeshed/blob/20446030c5f6f41bc3f97586b5e4c879968c94f2/third_party/2and3/google/protobuf/any_test_pb2.pyi
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
third_party/2and3/google/protobuf/api_pb2.pyihttps://github.com/python/typeshed/pull/4785/files#diff-7a2118d52221fb9c8f776c36f75dcf176e2c686ba2451ac86e5031d4e82b1c72
View file https://github.com/nipunn1313/typeshed/blob/6794ed2d3f2d8379d4bb66da07d19e7e174210a3/third_party/2and3/google/protobuf/api_pb2.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/4785/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/typeshed/pull/4785/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.