This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
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 derived classe and when extra kwargs are proviced there.
Interestingly, this error does only appear when the extra kwargs are consumed first kwargs.pop() in class Driver#L1581.
==> 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__.
==> Fix: From class IviContainer#L337 remove the *args and **kwargs: super(IviContainer, self).__init__()
Reactions are currently unavailable
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 derived classe and when extra kwargs are proviced there.
Interestingly, this error does only appear when the extra kwargs are consumed first kwargs.pop() in class Driver#L1581.
==> 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__.
==> Fix: From class IviContainer#L337 remove the *args and **kwargs: super(IviContainer, self).__init__()