René's URL Explorer Experiment


Title: fix(api): use ID instead of name for GroupLabel & ProjectLabel _id_attr by ptalbert · Pull Request #2811 · python-gitlab/python-gitlab · GitHub

Open Graph Title: fix(api): use ID instead of name for GroupLabel & ProjectLabel _id_attr by ptalbert · Pull Request #2811 · python-gitlab/python-gitlab

X Title: fix(api): use ID instead of name for GroupLabel & ProjectLabel _id_attr by ptalbert · Pull Request #2811 · python-gitlab/python-gitlab

Description: Changes _id_attr is used when comparing RESTObject objects. Labels will be seen as equal when they have the same name even if they are from different groups or projects. Instead, use the label's ID as the _id_attr so that comparisions will only be equal if they truly represent the same gitlab label object. Documentation and testing Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated: Documentation in the matching docs section Unit tests and/or functional tests

Open Graph Description: Changes _id_attr is used when comparing RESTObject objects. Labels will be seen as equal when they have the same name even if they are from different groups or projects. Instead, use the label'...

X Description: Changes _id_attr is used when comparing RESTObject objects. Labels will be seen as equal when they have the same name even if they are from different groups or projects. Instead, use the label&...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/2811

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:560582bf-1738-db9b-b420-b9cd915e73ac
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idA61C:31BD28:409A70B:5A172D0:6971375C
html-safe-nonce31b84d1201ee2e783ab9e7da3a4c15e4a06be3d06be7f9eecee89f4be2b3ee7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjFDOjMxQkQyODo0MDlBNzBCOjVBMTcyRDA6Njk3MTM3NUMiLCJ2aXNpdG9yX2lkIjoiNTQ0ODY1OTQ5MTMwNzQ2ODYzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca50fcb11f3b8faa1c83990938c3e9c90bf0034ed75eefcd241f59cbe0ed265c1
hovercard-subject-tagpull_request:1743302517
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/python-gitlab/python-gitlab/pull/2811/checks
twitter:imagehttps://avatars.githubusercontent.com/u/6393288?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6393288?s=400&v=4
og:image:altChanges _id_attr is used when comparing RESTObject objects. Labels will be seen as equal when they have the same name even if they are from different groups or projects. Instead, use the label'...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0c91dba94f720b71e069760db74b45f0f69e50caa632dc4e976d5bf46c8242ee
turbo-cache-controlno-cache
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 full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6c1902093917264567791cc30776acd1b2490c9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F2811%2Fchecks
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-gitlab%2Fpython-gitlab%2Fpull%2F2811%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
python-gitlab https://patch-diff.githubusercontent.com/python-gitlab
python-gitlabhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues 26 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests 10 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
ptalberthttps://patch-diff.githubusercontent.com/ptalbert
python-gitlab:mainhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/tree/main
ptalbert:label_id_attrhttps://patch-diff.githubusercontent.com/ptalbert/python-gitlab/tree/label_id_attr
Conversation 8 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811
Commits 1 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/commits
Checks 15 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Files changed 1 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Sign in for the full log viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F2811%2Fchecks
fix(api): use ID instead of name for GroupLabel & ProjectLabel _id_attr https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2811/checks
Test on: pull_request https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753
unit (ubuntu-latest, 3.10, py310,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482540?pr=2811
unit (ubuntu-latest, 3.11, py311,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482600?pr=2811
unit (ubuntu-latest, 3.12, py312,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482551?pr=2811
unit (ubuntu-latest, 3.13, py313,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482533?pr=2811
unit (ubuntu-latest, 3.14, py314,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482762?pr=2811
unit (macos-latest, 3.14, py314,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482521?pr=2811
unit (windows-latest, 3.14, py314,smoke) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482619?pr=2811
functional (api_func_v4) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482479?pr=2811
functional (cli_func_v4) https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482478?pr=2811
coverage https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482472?pr=2811
Python wheel https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586482542?pr=2811
test https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938753/job/60586510831?pr=2811
Docs on: pull_request https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938754
sphinx https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938754/job/60586482583?pr=2811
twine-check https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938754/job/60586482595?pr=2811
Lint on: pull_request https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938779
lint https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions/runs/21066938779/job/60586482485?pr=2811
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.