René's URL Explorer Experiment


Title: fix(graph_search): avoid KeyError in BFS when a node has no outgoing edges by Saadanjum0 · Pull Request #506 · faif/python-patterns · GitHub

Open Graph Title: fix(graph_search): avoid KeyError in BFS when a node has no outgoing edges by Saadanjum0 · Pull Request #506 · faif/python-patterns

X Title: fix(graph_search): avoid KeyError in BFS when a node has no outgoing edges by Saadanjum0 · Pull Request #506 · faif/python-patterns

Description: A collection of design patterns/idioms in Python. Contribute to faif/python-patterns development by creating an account on GitHub.

Open Graph Description: find_shortest_path_bfs indexed self.graph[value] directly while expanding the BFS queue. Any node that is reachable in the graph but is not present as a dict key — a leaf node with no outgoing edge...

X Description: find_shortest_path_bfs indexed self.graph[value] directly while expanding the BFS queue. Any node that is reachable in the graph but is not present as a dict key — a leaf node with no outgoing edge...

Opengraph URL: https://github.com/faif/python-patterns/pull/506

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:e4a925d9-6484-c99f-da87-0cae6a0fa0ab
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idC8DE:8923C:15B743:1E0552:6AFB8C14
html-safe-nonce12d0b690e5712921341d9cebdecb54703fecc6a6606a54c25344f33738307700
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOERFOjg5MjNDOjE1Qjc0MzoxRTA1NTI6NkFGQjhDMTQiLCJ2aXNpdG9yX2lkIjoiNjAzNTE5NTYzNDU5MTY5MzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac366b2b9194e602a43bf43bd545582e8649b3ce03eee7d39ff6a0a560ade3ee06
hovercard-subject-tagpull_request:4797969279
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/faif/python-patterns/pull/506/checks
twitter:imagehttps://opengraph.githubassets.com/e0395d1ffbc2cd34e197bfed4092d8e6752833742fac10bee87062cfec9925b8/faif/python-patterns/pull/506
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e0395d1ffbc2cd34e197bfed4092d8e6752833742fac10bee87062cfec9925b8/faif/python-patterns/pull/506
og:image:altfind_shortest_path_bfs indexed self.graph[value] directly while expanding the BFS queue. Any node that is reachable in the graph but is not present as a dict key — a leaf node with no outgoing edge...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSaadanjum0
hostnamegithub.com
expected-hostnamegithub.com
None9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735
turbo-cache-controlno-cache
go-importgithub.com/faif/python-patterns git https://github.com/faif/python-patterns.git
octolytics-dimension-user_id1304661
octolytics-dimension-user_loginfaif
octolytics-dimension-repository_id4578002
octolytics-dimension-repository_nwofaif/python-patterns
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id4578002
octolytics-dimension-repository_network_root_nwofaif/python-patterns
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
release05d967182208691fc7f2e6af52e82fa7fabf6bd5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/faif/python-patterns/pull/506/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F506%2Fchecks
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%2Ffaif%2Fpython-patterns%2Fpull%2F506%2Fchecks
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%2Fchecks&source=header-repo&source_repo=faif%2Fpython-patterns
Reloadhttps://github.com/faif/python-patterns/pull/506/checks
Reloadhttps://github.com/faif/python-patterns/pull/506/checks
Reloadhttps://github.com/faif/python-patterns/pull/506/checks
faifhttps://github.com/faif
python-patternshttps://github.com/faif/python-patterns
Codehttps://github.com/faif/python-patterns
Issues9 (9)https://github.com/faif/python-patterns/issues
Pull requests3 (3)https://github.com/faif/python-patterns/pulls
Actionshttps://github.com/faif/python-patterns/actions
Projectshttps://github.com/faif/python-patterns/projects
Wikihttps://github.com/faif/python-patterns/wiki
Security and qualityhttps://github.com/faif/python-patterns/security
Insightshttps://github.com/faif/python-patterns/pulse
https://github.com/faif/python-patterns
faifhttps://github.com/faif
faif:masterhttps://github.com/faif/python-patterns/tree/master
Saadanjum0:fix/graph-search-bfs-keyerrorhttps://github.com/Saadanjum0/python-patterns/tree/fix/graph-search-bfs-keyerror
Conversationhttps://github.com/faif/python-patterns/pull/506
Commits1 (1)https://github.com/faif/python-patterns/pull/506/commits
Checkshttps://github.com/faif/python-patterns/pull/506/checks
Files changedhttps://github.com/faif/python-patterns/pull/506/files
fix(graph_search): avoid KeyError in BFS when a node has no outgoing edgeshttps://github.com/faif/python-patterns/pull/506/checks#top
faifhttps://github.com/faif
faif:masterhttps://github.com/faif/python-patterns/tree/master
Saadanjum0:fix/graph-search-bfs-keyerrorhttps://github.com/Saadanjum0/python-patterns/tree/fix/graph-search-bfs-keyerror
Please reload this pagehttps://github.com/faif/python-patterns/pull/506/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F506%2Fchecks
Python CI on: pull_request https://github.com/faif/python-patterns/actions/runs/37904734700
Lint, type-check, and test https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869748845?pr=506
Test on Python 3.10 https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869749240?pr=506
Test on Python 3.11 https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869749182?pr=506
Test on Python 3.12 https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869749472?pr=506
Test on Python 3.13 https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869749392?pr=506
Test on Python 3.14 https://github.com/faif/python-patterns/actions/runs/37904734700/job/113869749274?pr=506
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.