René's URL Explorer Experiment


Title: How to create two (or more) interfaces with the same name · Issue #103 · python-sdbus/python-sdbus · GitHub

Open Graph Title: How to create two (or more) interfaces with the same name · Issue #103 · python-sdbus/python-sdbus

X Title: How to create two (or more) interfaces with the same name · Issue #103 · python-sdbus/python-sdbus

Description: I have a case where I have to create two interfaces with the same name, but with different properties (these interfaces are exposed on different paths). Basically I have two options: a) create one class which will return properties based...

Open Graph Description: I have a case where I have to create two interfaces with the same name, but with different properties (these interfaces are exposed on different paths). Basically I have two options: a) create one ...

X Description: I have a case where I have to create two interfaces with the same name, but with different properties (these interfaces are exposed on different paths). Basically I have two options: a) create one ...

Opengraph URL: https://github.com/python-sdbus/python-sdbus/issues/103

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to create two (or more) interfaces with the same name","articleBody":"I have a case where I have to create two interfaces with the same name, but with different properties (these interfaces are exposed on different paths). Basically I have two options: a) create one class which will return properties based on exposed path (some props are optional) b) create two classes with the same interface name. Unfortunately, both these solutions are not possible right now.\n\nIn case of option a) the limitation seems to be imposed by libsystemd. It's not possible to define property as \"optional\", i.e. when property is not available, the `org.freedesktop.DBus.Properties.GetAll` does not return value for such property and `org.freedesktop.DBus.Properties.Get` returns `org.freedesktop.DBus.Error.InvalidArgs: No such property 'Name'`. The problem is that the `sd_bus_emit_interfaces_added_strv()` function collects all properties internally and in case when property value getter fails, the entire sd_bus_emit_interfaces_ added_* call fails. There are some possibilities like libsystemd-specific `PropertyExplicitFlag` flag, but this conflicts with `PropertyEmitsChangeFlag`. So, such approach is not ideal.\n\nFor option b) the problem is with `sdbus` internals where `parse_properties_changed` uses global `DBUS_INTERFACE_NAME_TO_CLASS` mapping... Would it be possible to remove internal mapping in favor of user provided list of interfaces? This function takes `interface` argument but does not use it...","author":{"url":"https://github.com/arkq","@type":"Person","name":"arkq"},"datePublished":"2025-04-15T13:15:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/103/python-sdbus/issues/103"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:59b530ea-ac5b-9b3a-0d35-a7f0c0b71710
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD850:354483:475C16:632740:698DF489
html-safe-nonce714d5031dc3cf6a91ceb46f4470a13cbaff3d0d9decf4b954643da7074934f5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODUwOjM1NDQ4Mzo0NzVDMTY6NjMyNzQwOjY5OERGNDg5IiwidmlzaXRvcl9pZCI6IjYzOTIxODM0MTMwNDI3MDU1NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9bb4f251ea1abcd840053d535fc3105b1e53738c6511027d1dc8749881b653ec
hovercard-subject-tagissue:2996401647
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-sdbus/python-sdbus/103/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fc44b65387e333e40d6c0614a864388e5a7a561c9554998d2a672f6ba897711f/python-sdbus/python-sdbus/issues/103
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc44b65387e333e40d6c0614a864388e5a7a561c9554998d2a672f6ba897711f/python-sdbus/python-sdbus/issues/103
og:image:altI have a case where I have to create two interfaces with the same name, but with different properties (these interfaces are exposed on different paths). Basically I have two options: a) create one ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearkq
hostnamegithub.com
expected-hostnamegithub.com
Noneae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34
turbo-cache-controlno-preview
go-importgithub.com/python-sdbus/python-sdbus git https://github.com/python-sdbus/python-sdbus.git
octolytics-dimension-user_id88226657
octolytics-dimension-user_loginpython-sdbus
octolytics-dimension-repository_id311269257
octolytics-dimension-repository_nwopython-sdbus/python-sdbus
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id311269257
octolytics-dimension-repository_network_root_nwopython-sdbus/python-sdbus
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
releasee545f5becd5b3ce9b429b68c3f994ad93c680ddb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-sdbus%2Fpython-sdbus%2Fissues%2F103
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-sdbus%2Fpython-sdbus%2Fissues%2F103
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-sdbus%2Fpython-sdbus
Reloadhttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103
Reloadhttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103
Reloadhttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103
python-sdbus https://patch-diff.githubusercontent.com/python-sdbus
python-sdbushttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus
Please reload this pagehttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-sdbus%2Fpython-sdbus
Fork 23 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-sdbus%2Fpython-sdbus
Star 105 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-sdbus%2Fpython-sdbus
Code https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus
Issues 4 https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues
Pull requests 1 https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/pulls
Discussions https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/discussions
Actions https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/actions
Projects 0 https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/projects
Security 0 https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/security
Insights https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/pulse
Code https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus
Issues https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues
Pull requests https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/pulls
Discussions https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/discussions
Actions https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/actions
Projects https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/projects
Security https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/security
Insights https://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-sdbus/python-sdbus/issues/103
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-sdbus/python-sdbus/issues/103
How to create two (or more) interfaces with the same namehttps://patch-diff.githubusercontent.com/python-sdbus/python-sdbus/issues/103#top
https://github.com/arkq
https://github.com/arkq
arkqhttps://github.com/arkq
on Apr 15, 2025https://github.com/python-sdbus/python-sdbus/issues/103#issue-2996401647
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.