-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
B-NightlyBranch: NightlyBranch: NightlyO-OtherOS: Other / Unknown / UniversalOS: Other / Unknown / UniversalT-BugTag: Bug, error, or unintended behaviorTag: Bug, error, or unintended behaviorWIPProgress: This is work in progressProgress: This is work in progress
Description
Currently, there is no way to have rust implementations for abstract python classes.
Asked here: PyO3/pyo3#991
Offending code:
class HardwareComponent(_abc.ABC):
"""Represents a basic hardware component."""
@_abc.abstractproperty
def uuid(self) -> str:
"""The UUID of this hardware component."""
...Metadata
Metadata
Assignees
Labels
B-NightlyBranch: NightlyBranch: NightlyO-OtherOS: Other / Unknown / UniversalOS: Other / Unknown / UniversalT-BugTag: Bug, error, or unintended behaviorTag: Bug, error, or unintended behaviorWIPProgress: This is work in progressProgress: This is work in progress