René's URL Explorer Experiment


Title: feat: avoid importing grpc when explicitly disabled by daniel-sanche · Pull Request #416 · googleapis/python-logging · GitHub

Open Graph Title: feat: avoid importing grpc when explicitly disabled by daniel-sanche · Pull Request #416 · googleapis/python-logging

X Title: feat: avoid importing grpc when explicitly disabled by daniel-sanche · Pull Request #416 · googleapis/python-logging

Description: This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-logging - feat: avoid importing grpc when explicitly disabled by daniel-sanche · Pull Request #416 · googleapis/python-logging

Open Graph Description: Checks for the DISABLE_GRPC env var before importing grpc code. We can avoid importing a bunch of code if it is not needed Fixes #12

X Description: Checks for the DISABLE_GRPC env var before importing grpc code. We can avoid importing a bunch of code if it is not needed Fixes #12

Opengraph URL: https://github.com/googleapis/python-logging/pull/416

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8ed19289-93f3-ee18-de63-8bbd809c983a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4FE:1EE5:1E6C4F9:2B8B2B1:6A4FD1C9
html-safe-nonce6b66343f21b8d08ee2ce6a20024c5e3c777833756d63f1d72a3e5b84426e8526
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEZFOjFFRTU6MUU2QzRGOToyQjhCMkIxOjZBNEZEMUM5IiwidmlzaXRvcl9pZCI6IjMwMTYyMTk4OTQ0MDIyNDA5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2efba748dbcc1a51779cd22855d444a0b1c9ac08f0e0054fec90fe932707385b
hovercard-subject-tagpull_request:755654500
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/python-logging/416/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/91346dd394a3a6d1a1c313fcbf432c4fd6a88b7cb3d577b3cd0d9c382fd5e9a8/googleapis/python-logging/pull/416
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/91346dd394a3a6d1a1c313fcbf432c4fd6a88b7cb3d577b3cd0d9c382fd5e9a8/googleapis/python-logging/pull/416
og:image:altChecks for the DISABLE_GRPC env var before importing grpc code. We can avoid importing a bunch of code if it is not needed Fixes #12
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaniel-sanche
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-cache
go-importgithub.com/googleapis/python-logging git https://github.com/googleapis/python-logging.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992562
octolytics-dimension-repository_nwogoogleapis/python-logging
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992562
octolytics-dimension-repository_network_root_nwogoogleapis/python-logging
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-logging/pull/416#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-logging%2Fpull%2F416
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-logging%2Fpull%2F416
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fpython-logging
Reloadhttps://github.com/googleapis/python-logging/pull/416
Reloadhttps://github.com/googleapis/python-logging/pull/416
Reloadhttps://github.com/googleapis/python-logging/pull/416
Please reload this pagehttps://github.com/googleapis/python-logging/pull/416
googleapis https://github.com/googleapis
python-logginghttps://github.com/googleapis/python-logging
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Fork 59 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Star 142 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Code https://github.com/googleapis/python-logging
Issues 0 https://github.com/googleapis/python-logging/issues
Pull requests 0 https://github.com/googleapis/python-logging/pulls
Actions https://github.com/googleapis/python-logging/actions
Projects https://github.com/googleapis/python-logging/projects
Security and quality 0 https://github.com/googleapis/python-logging/security
Insights https://github.com/googleapis/python-logging/pulse
Code https://github.com/googleapis/python-logging
Issues https://github.com/googleapis/python-logging/issues
Pull requests https://github.com/googleapis/python-logging/pulls
Actions https://github.com/googleapis/python-logging/actions
Projects https://github.com/googleapis/python-logging/projects
Security and quality https://github.com/googleapis/python-logging/security
Insights https://github.com/googleapis/python-logging/pulse
daniel-sanchehttps://github.com/daniel-sanche
v3.0.0https://github.com/googleapis/python-logging/tree/v3.0.0
lazy-importhttps://github.com/googleapis/python-logging/tree/lazy-import
Conversationhttps://github.com/googleapis/python-logging/pull/416
Commits3 (3)https://github.com/googleapis/python-logging/pull/416/commits
Checkshttps://github.com/googleapis/python-logging/pull/416/checks
Files changedhttps://github.com/googleapis/python-logging/pull/416/files
feat: avoid importing grpc when explicitly disabledhttps://github.com/googleapis/python-logging/pull/416#top
daniel-sanchehttps://github.com/daniel-sanche
v3.0.0https://github.com/googleapis/python-logging/tree/v3.0.0
lazy-importhttps://github.com/googleapis/python-logging/tree/lazy-import
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Oct 11, 2021https://github.com/googleapis/python-logging/pull/416#issue-1023153785
#12https://github.com/googleapis/python-logging/issues/12
Please reload this pagehttps://github.com/googleapis/python-logging/pull/416
https://github.com/daniel-sanche
avoid grpc import when disabledhttps://github.com/googleapis/python-logging/pull/416/commits/fa1b27823668140c6f50a933be2a33d02e5621b1
fa1b278https://github.com/googleapis/python-logging/pull/416/commits/fa1b27823668140c6f50a933be2a33d02e5621b1
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
October 11, 2021 22:04https://github.com/googleapis/python-logging/pull/416#event-5445799007
https://github.com/apps/product-auto-label
product-auto-labelhttps://github.com/apps/product-auto-label
api: logging https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22
Oct 11, 2021https://github.com/googleapis/python-logging/pull/416#event-5445799136
https://github.com/apps/blunderbuss-gcf
blunderbuss-gcfhttps://github.com/apps/blunderbuss-gcf
daniel-sanchehttps://github.com/daniel-sanche
Oct 11, 2021https://github.com/googleapis/python-logging/pull/416#event-5445799166
https://github.com/apps/google-cla
google-clahttps://github.com/apps/google-cla
cla: yes https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Oct 11, 2021https://github.com/googleapis/python-logging/pull/416#event-5445799300
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Oct 11, 2021https://github.com/googleapis/python-logging/pull/416#event-5445799875
https://github.com/apps/gcf-owl-bot
🦉 Updates from OwlBothttps://github.com/googleapis/python-logging/pull/416/commits/4d6d1e0a61bf8273ec4739e7d8408c2abd704ab8
4d6d1e0https://github.com/googleapis/python-logging/pull/416/commits/4d6d1e0a61bf8273ec4739e7d8408c2abd704ab8
https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdhttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
https://github.com/tseaver
tseaverhttps://github.com/tseaver
Oct 12, 2021 https://github.com/googleapis/python-logging/pull/416#pullrequestreview-777608125
View reviewed changes https://github.com/googleapis/python-logging/pull/416/files/4d6d1e0a61bf8273ec4739e7d8408c2abd704ab8
https://github.com/daniel-sanche
Merge branch 'v3.0.0' into lazy-importhttps://github.com/googleapis/python-logging/pull/416/commits/e1491b8ddd0a190615d1006b63977b4fe165679c
e1491b8https://github.com/googleapis/python-logging/pull/416/commits/e1491b8ddd0a190615d1006b63977b4fe165679c
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
ab570efhttps://github.com/googleapis/python-logging/commit/ab570eff66c04d3efeb65a2c7e764a04d50753af
Oct 15, 2021https://github.com/googleapis/python-logging/pull/416#event-5471720463
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
October 15, 2021 19:59https://github.com/googleapis/python-logging/pull/416#event-5471720522
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Dec 10, 2021 https://github.com/googleapis/python-logging/pull/416#ref-pullrequest-1077311121
chore: merge v3.0.0 staging branch into main #455 https://github.com/googleapis/python-logging/pull/455
daniel-sanchehttps://github.com/daniel-sanche
Jan 27, 2022 https://github.com/googleapis/python-logging/pull/416#ref-commit-3d3acf3
https://github.com/daniel-sanche
feat: avoid importing grpc when explicitly disabled (https://github.com/googleapis/python-logging/commit/3d3acf326dc2c39a796452a9471bc1c6543cd16a
#416https://github.com/googleapis/python-logging/pull/416
)https://github.com/googleapis/python-logging/commit/3d3acf326dc2c39a796452a9471bc1c6543cd16a
3d3acf3https://github.com/googleapis/python-logging/commit/3d3acf326dc2c39a796452a9471bc1c6543cd16a
daniel-sanchehttps://github.com/daniel-sanche
Jan 27, 2022 https://github.com/googleapis/python-logging/pull/416#ref-commit-818213e
https://github.com/daniel-sanche
feat: avoid importing grpc when explicitly disabled (https://github.com/googleapis/python-logging/commit/818213e143d6a1941211a48e0b23069a426ac300
#416https://github.com/googleapis/python-logging/pull/416
)https://github.com/googleapis/python-logging/commit/818213e143d6a1941211a48e0b23069a426ac300
818213ehttps://github.com/googleapis/python-logging/commit/818213e143d6a1941211a48e0b23069a426ac300
https://github.com/apps/release-please
release-pleasehttps://github.com/apps/release-please
Jan 27, 2022 https://github.com/googleapis/python-logging/pull/416#ref-pullrequest-1114166156
chore(main): release 3.0.0 #473 https://github.com/googleapis/python-logging/pull/473
https://github.co/hiddenchars
https://github.com/googleapis/python-logging/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-logging%2Fpull%2F416
https://github.com/tseaver
tseaver https://github.com/tseaver
https://github.com/googleapis/python-logging/pull/416/files/4d6d1e0a61bf8273ec4739e7d8408c2abd704ab8
https://github.com/daniel-sanche
daniel-sanche https://github.com/daniel-sanche
api: logging https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22
cla: yes https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Please reload this pagehttps://github.com/googleapis/python-logging/pull/416
https://github.com/daniel-sanche
https://github.com/tseaver
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.