René's URL Explorer Experiment


Title: Not possible to create note in issue · Issue #1477 · python-gitlab/python-gitlab · GitHub

Open Graph Title: Not possible to create note in issue · Issue #1477 · python-gitlab/python-gitlab

X Title: Not possible to create note in issue · Issue #1477 · python-gitlab/python-gitlab

Description: Description of the problem, including code/CLI snippet I am unable to create notes. I am simply trying to do: project = ctx.projects.get(265) issue = project.issues.get(729) issue.notes.create({'body': 'note content'}) (Lifted pretty muc...

Open Graph Description: Description of the problem, including code/CLI snippet I am unable to create notes. I am simply trying to do: project = ctx.projects.get(265) issue = project.issues.get(729) issue.notes.create({'bo...

X Description: Description of the problem, including code/CLI snippet I am unable to create notes. I am simply trying to do: project = ctx.projects.get(265) issue = project.issues.get(729) issue.notes.create({...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/1477

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not possible to create note in issue","articleBody":"## Description of the problem, including code/CLI snippet\r\nI am unable to create notes. I am simply trying to do:\r\n```\r\n    project = ctx.projects.get(265)\r\n    issue = project.issues.get(729)\r\n    issue.notes.create({'body': 'note content'})\r\n```\r\n(Lifted pretty much strait from documentation)\r\n\r\n## Expected Behavior\r\nNote is posted\r\n\r\n## Actual Behavior\r\nAn exception is thrown:\r\n```\r\nTraceback (most recent call last):\r\n  File \"./turris-os-milestone-rename.py\", line 60, in \u003cmodule\u003e\r\n    main()\r\n  File \"./turris-os-milestone-rename.py\", line 20, in main\r\n    issue.notes.create({'body': 'note content'})\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/exceptions.py\", line 287, in wrapped_f\r\n    return f(*args, **kwargs)\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/mixins.py\", line 325, in create\r\n    return self._obj_cls(self, server_data)\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 62, in __init__\r\n    self._create_managers()\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 151, in _create_managers\r\n    manager = cls(self.manager.gitlab, parent=self)\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 290, in __init__\r\n    self._computed_path = self._compute_path()\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 305, in _compute_path\r\n    data = {\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 306, in \u003cdictcomp\u003e\r\n    self_attr: getattr(self._parent, parent_attr, None)\r\n  File \"/usr/lib/python3.8/site-packages/gitlab/base.py\", line 80, in __getattr__\r\n    value = self.__dict__[\"_attrs\"][name]\r\nTypeError: list indices must be integers or slices, not str\r\n```\r\n\r\n## Specifications\r\n\r\n  - python-gitlab version: 2.7.1\r\n  - API version you are using (v3/v4): v4\r\n  - Gitlab server version (or gitlab.com): 13.11.3","author":{"url":"https://github.com/Cynerd","@type":"Person","name":"Cynerd"},"datePublished":"2021-05-27T07:40:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/1477/python-gitlab/issues/1477"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0a75570d-b375-d91c-eba7-035ab2149971
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC3A:3F1336:908D8E3:BA7719F:69770B01
html-safe-noncefc8d25440b1f16c6ad430cb8140fdcf451e4300a3289fe599881daec841847d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzNBOjNGMTMzNjo5MDhEOEUzOkJBNzcxOUY6Njk3NzBCMDEiLCJ2aXNpdG9yX2lkIjoiMzAwMDUxODAwOTM0OTkzMzgyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf99d9294c979c5dbe755fa53e208156ac4317baa11bdb4379d9e35c4bed9077c
hovercard-subject-tagissue:903345319
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-gitlab/python-gitlab/1477/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9bbdcd903479aeb8e328500d50147eba5422a6a658057a2f2a61b656f53bbe57/python-gitlab/python-gitlab/issues/1477
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9bbdcd903479aeb8e328500d50147eba5422a6a658057a2f2a61b656f53bbe57/python-gitlab/python-gitlab/issues/1477
og:image:altDescription of the problem, including code/CLI snippet I am unable to create notes. I am simply trying to do: project = ctx.projects.get(265) issue = project.issues.get(729) issue.notes.create({'bo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCynerd
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
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
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-gitlab/python-gitlab/issues/1477#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F1477
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F1477
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/1477
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/1477
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/1477
python-gitlab https://github.com/python-gitlab
python-gitlabhttps://github.com/python-gitlab/python-gitlab
Notifications https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://github.com/python-gitlab/python-gitlab
Issues 26 https://github.com/python-gitlab/python-gitlab/issues
Pull requests 12 https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects 0 https://github.com/python-gitlab/python-gitlab/projects
Security 0 https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
Code https://github.com/python-gitlab/python-gitlab
Issues https://github.com/python-gitlab/python-gitlab/issues
Pull requests https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects https://github.com/python-gitlab/python-gitlab/projects
Security https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/1477
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/1477
#1486https://github.com/python-gitlab/python-gitlab/pull/1486
Not possible to create note in issuehttps://github.com/python-gitlab/python-gitlab/issues/1477#top
#1486https://github.com/python-gitlab/python-gitlab/pull/1486
supporthttps://github.com/python-gitlab/python-gitlab/issues?q=state%3Aopen%20label%3A%22support%22
https://github.com/Cynerd
https://github.com/Cynerd
Cynerdhttps://github.com/Cynerd
on May 27, 2021https://github.com/python-gitlab/python-gitlab/issues/1477#issue-903345319
supporthttps://github.com/python-gitlab/python-gitlab/issues?q=state%3Aopen%20label%3A%22support%22
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.