René's URL Explorer Experiment


Title: python-ivi/ivi/ivi.py, class PropertyCollection does not expect any arguments · Issue #76 · python-ivi/python-ivi · GitHub

Open Graph Title: python-ivi/ivi/ivi.py, class PropertyCollection does not expect any arguments · Issue #76 · python-ivi/python-ivi

X Title: python-ivi/ivi/ivi.py, class PropertyCollection does not expect any arguments · Issue #76 · python-ivi/python-ivi

Description: Hi, see: ivi.py#L142: PropertyCollection __init__ expects zero arguments. However, further below in class IviContainer#L337, it is called with *args and **kwargs. This causes a TypeError when called via the super constructor of any deriv...

Open Graph Description: Hi, see: ivi.py#L142: PropertyCollection __init__ expects zero arguments. However, further below in class IviContainer#L337, it is called with *args and **kwargs. This causes a TypeError when calle...

X Description: Hi, see: ivi.py#L142: PropertyCollection __init__ expects zero arguments. However, further below in class IviContainer#L337, it is called with *args and **kwargs. This causes a TypeError when calle...

Opengraph URL: https://github.com/python-ivi/python-ivi/issues/76

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python-ivi/ivi/ivi.py, class PropertyCollection does not expect any arguments","articleBody":"Hi,\r\n\r\nsee: [ivi.py#L142](https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L142): `PropertyCollection __init__` expects zero arguments.\r\n\r\nHowever, further below in [class IviContainer#L337](https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L337), it is called with `*args and **kwargs`.\r\n\r\nThis causes a `TypeError` when called via the super constructor of any derived classe and when extra kwargs are proviced there.\r\n\r\nInterestingly, this error does only appear when the extra kwargs are consumed first `kwargs.pop()` in [class Driver#L1581](https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L1581).\r\n\r\n==\u003e IIRC, this works only by accident, because the order in which the base classes are initialized is not defined programmatically and thus it is not assured that the kwargs.pop() comes before `PropertyCollections __init__`.\r\n\r\n==\u003e Fix: From [class IviContainer#L337](https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L337) remove the *args and **kwargs:  `super(IviContainer, self).__init__()`\r\n","author":{"url":"https://github.com/ul-gh","@type":"Person","name":"ul-gh"},"datePublished":"2019-03-05T21:10:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/76/python-ivi/issues/76"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5393b5e-6f1c-75d5-d7a2-d27f2489f180
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD3BC:1B7F5F:17BDE1:20F4C9:6977684C
html-safe-nonce2da98cd43b52f3b779bdd3321c1ea32e86a418e252cb331349bb640a02f3c044
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0JDOjFCN0Y1RjoxN0JERTE6MjBGNEM5OjY5Nzc2ODRDIiwidmlzaXRvcl9pZCI6IjQyMzEyOTUzNjg0MjM5MzY3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac48ab0caa0767f474ec9c64ec6de966ccbd84344c0e1784fe93248c4599781247
hovercard-subject-tagissue:417502744
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-ivi/python-ivi/76/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e5f1a593c8208304cec348806a72eaa2999fa3a2f784b4c69ef8667147fd0ed0/python-ivi/python-ivi/issues/76
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e5f1a593c8208304cec348806a72eaa2999fa3a2f784b4c69ef8667147fd0ed0/python-ivi/python-ivi/issues/76
og:image:altHi, see: ivi.py#L142: PropertyCollection __init__ expects zero arguments. However, further below in class IviContainer#L337, it is called with *args and **kwargs. This causes a TypeError when calle...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameul-gh
hostnamegithub.com
expected-hostnamegithub.com
None425384cc392ce2ddd1a7a0c1e7043ab4192d4c04452a2ed7f2f38d2fa9293b5a
turbo-cache-controlno-preview
go-importgithub.com/python-ivi/python-ivi git https://github.com/python-ivi/python-ivi.git
octolytics-dimension-user_id6889594
octolytics-dimension-user_loginpython-ivi
octolytics-dimension-repository_id6012233
octolytics-dimension-repository_nwopython-ivi/python-ivi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id6012233
octolytics-dimension-repository_network_root_nwopython-ivi/python-ivi
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
release72de26f7ca9bdb0559ebf1e63e6c685ee2c520ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues/76#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-ivi%2Fpython-ivi%2Fissues%2F76
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-ivi%2Fpython-ivi%2Fissues%2F76
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-ivi%2Fpython-ivi
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues/76
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues/76
Reloadhttps://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues/76
python-ivi https://patch-diff.githubusercontent.com/python-ivi
python-ivihttps://patch-diff.githubusercontent.com/python-ivi/python-ivi
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-ivi
Fork 130 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-ivi
Star 233 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-ivi%2Fpython-ivi
Code https://patch-diff.githubusercontent.com/python-ivi/python-ivi
Issues 32 https://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues
Pull requests 14 https://patch-diff.githubusercontent.com/python-ivi/python-ivi/pulls
Actions https://patch-diff.githubusercontent.com/python-ivi/python-ivi/actions
Projects 0 https://patch-diff.githubusercontent.com/python-ivi/python-ivi/projects
Wiki https://patch-diff.githubusercontent.com/python-ivi/python-ivi/wiki
Security 0 https://patch-diff.githubusercontent.com/python-ivi/python-ivi/security
Insights https://patch-diff.githubusercontent.com/python-ivi/python-ivi/pulse
Code https://patch-diff.githubusercontent.com/python-ivi/python-ivi
Issues https://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues
Pull requests https://patch-diff.githubusercontent.com/python-ivi/python-ivi/pulls
Actions https://patch-diff.githubusercontent.com/python-ivi/python-ivi/actions
Projects https://patch-diff.githubusercontent.com/python-ivi/python-ivi/projects
Wiki https://patch-diff.githubusercontent.com/python-ivi/python-ivi/wiki
Security https://patch-diff.githubusercontent.com/python-ivi/python-ivi/security
Insights https://patch-diff.githubusercontent.com/python-ivi/python-ivi/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-ivi/python-ivi/issues/76
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-ivi/python-ivi/issues/76
python-ivi/ivi/ivi.py, class PropertyCollection does not expect any argumentshttps://patch-diff.githubusercontent.com/python-ivi/python-ivi/issues/76#top
https://github.com/ul-gh
https://github.com/ul-gh
ul-ghhttps://github.com/ul-gh
on Mar 5, 2019https://github.com/python-ivi/python-ivi/issues/76#issue-417502744
ivi.py#L142https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L142
class IviContainer#L337https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L337
class Driver#L1581https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L1581
class IviContainer#L337https://github.com/python-ivi/python-ivi/blob/cfa45ceade0758debe4bc24ba4c8195222cad1e2/ivi/ivi.py#L337
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.