https://bugs.kde.org/show_bug.cgi?id=494716
Bug ID: 494716
Summary: Can't call some methods in Scripting DBus API in
Python because they are overloaded
Classification: Plasma
Product: kwin
Version: 6.2.0
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
`loadScript` and `loadDeclarativeScript` methods have two overloads, so it's
impossible to call the two-argument variant with the `pydbus` lib in Python,
because the package automatically generates a class for the interface, but the
language doesn't support overloads. A similar problem exists in Java.
It would be more convenient if the two-args variants are renamed to
`loadScriptWithName` (maybe also keep the overloads for backward
compatibility).
--
You are receiving this mail because:
You are watching all bug changes.