René's URL Explorer Experiment


Title: TypeError: list indices must be integers or slices, not str · Issue #281 · python-consul/python-consul · GitHub

Open Graph Title: TypeError: list indices must be integers or slices, not str · Issue #281 · python-consul/python-consul

X Title: TypeError: list indices must be integers or slices, not str · Issue #281 · python-consul/python-consul

Description: With 1.1.0, calling catalog.node results in: index, node_data = self.consul_api.catalog.node(node, dc=datacenter) File "/nix/store/syk8xm6qgz0hqxb3gnazx9gvw70sh9ny-python3-3.8.6-env/lib/python3.8/site-packages/consul/base.py", line 1390,...

Open Graph Description: With 1.1.0, calling catalog.node results in: index, node_data = self.consul_api.catalog.node(node, dc=datacenter) File "/nix/store/syk8xm6qgz0hqxb3gnazx9gvw70sh9ny-python3-3.8.6-env/lib/python3.8/s...

X Description: With 1.1.0, calling catalog.node results in: index, node_data = self.consul_api.catalog.node(node, dc=datacenter) File "/nix/store/syk8xm6qgz0hqxb3gnazx9gvw70sh9ny-python3-3.8.6-env/lib/python...

Opengraph URL: https://github.com/python-consul/python-consul/issues/281

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: list indices must be integers or slices, not str","articleBody":"\r\nWith 1.1.0, calling catalog.node results in:\r\n```\r\n    index, node_data = self.consul_api.catalog.node(node, dc=datacenter)\r\n  File \"/nix/store/syk8xm6qgz0hqxb3gnazx9gvw70sh9ny-python3-3.8.6-env/lib/python3.8/site-packages/consul/base.py\", line 1390, in node\r\n    params['token'] = token\r\nTypeError: list indices must be integers or slices, not str\r\n```\r\n\r\nIt seems this line was missed in bb2647b271a28680c313cec015f1c09d63a803ca - editing to use `.append` instead fixes the issue:\r\n```diff\r\n1390c1390\r\n\u003c                 params['token'] = token\r\n---\r\n\u003e                 params.append(('token', token))\r\n```","author":{"url":"https://github.com/dramaturg","@type":"Person","name":"dramaturg"},"datePublished":"2020-12-17T08:47:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/281/python-consul/issues/281"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0af63edd-8249-5dad-0abc-898ea8de260c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEAD0:1168A1:1D6BD04:28BCF64:69778C23
html-safe-nonce56ca55863c353f0ff12bf8d46ed25043acc081b6c18a127b93eecf242e66227b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUQwOjExNjhBMToxRDZCRDA0OjI4QkNGNjQ6Njk3NzhDMjMiLCJ2aXNpdG9yX2lkIjoiNjgyMjA5Mjk5MjA3NzU5NzczMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb2ac6c84c62b562810da7132013ddd6bd39354af0593077f2960e5f2632ddbcb
hovercard-subject-tagissue:769709961
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-consul/python-consul/281/issue_layout
twitter:imagehttps://opengraph.githubassets.com/73730df7befd3cfcba81534d04d9977bd12d954d29a8bd229296a0ad8842ff2f/python-consul/python-consul/issues/281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/73730df7befd3cfcba81534d04d9977bd12d954d29a8bd229296a0ad8842ff2f/python-consul/python-consul/issues/281
og:image:altWith 1.1.0, calling catalog.node results in: index, node_data = self.consul_api.catalog.node(node, dc=datacenter) File "/nix/store/syk8xm6qgz0hqxb3gnazx9gvw70sh9ny-python3-3.8.6-env/lib/python3.8/s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedramaturg
hostnamegithub.com
expected-hostnamegithub.com
Nonefd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69
turbo-cache-controlno-preview
go-importgithub.com/python-consul/python-consul git https://github.com/python-consul/python-consul.git
octolytics-dimension-user_id143416393
octolytics-dimension-user_loginpython-consul
octolytics-dimension-repository_id24473148
octolytics-dimension-repository_nwopython-consul/python-consul
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24473148
octolytics-dimension-repository_network_root_nwopython-consul/python-consul
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
releaseacb9f387e67b45e2eeb6a57ef561ec67eb21d805
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-consul/python-consul/issues/281#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-consul%2Fpython-consul%2Fissues%2F281
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-consul%2Fpython-consul%2Fissues%2F281
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-consul%2Fpython-consul
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/issues/281
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/issues/281
Reloadhttps://patch-diff.githubusercontent.com/python-consul/python-consul/issues/281
python-consul https://patch-diff.githubusercontent.com/python-consul
python-consulhttps://patch-diff.githubusercontent.com/python-consul/python-consul
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Fork 218 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Star 460 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-consul%2Fpython-consul
Code https://patch-diff.githubusercontent.com/python-consul/python-consul
Issues 60 https://patch-diff.githubusercontent.com/python-consul/python-consul/issues
Pull requests 30 https://patch-diff.githubusercontent.com/python-consul/python-consul/pulls
Actions https://patch-diff.githubusercontent.com/python-consul/python-consul/actions
Projects 0 https://patch-diff.githubusercontent.com/python-consul/python-consul/projects
Wiki https://patch-diff.githubusercontent.com/python-consul/python-consul/wiki
Security 0 https://patch-diff.githubusercontent.com/python-consul/python-consul/security
Insights https://patch-diff.githubusercontent.com/python-consul/python-consul/pulse
Code https://patch-diff.githubusercontent.com/python-consul/python-consul
Issues https://patch-diff.githubusercontent.com/python-consul/python-consul/issues
Pull requests https://patch-diff.githubusercontent.com/python-consul/python-consul/pulls
Actions https://patch-diff.githubusercontent.com/python-consul/python-consul/actions
Projects https://patch-diff.githubusercontent.com/python-consul/python-consul/projects
Wiki https://patch-diff.githubusercontent.com/python-consul/python-consul/wiki
Security https://patch-diff.githubusercontent.com/python-consul/python-consul/security
Insights https://patch-diff.githubusercontent.com/python-consul/python-consul/pulse
TypeError: list indices must be integers or slices, not strhttps://patch-diff.githubusercontent.com/python-consul/python-consul/issues/281#top
https://github.com/dramaturg
https://github.com/dramaturg
dramaturghttps://github.com/dramaturg
on Dec 17, 2020https://github.com/python-consul/python-consul/issues/281#issue-769709961
bb2647bhttps://github.com/python-consul/python-consul/commit/bb2647b271a28680c313cec015f1c09d63a803ca
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.