Skip to content

@command does not work in python 3.12 #74

@d-perl

Description

@d-perl

The resulting function fails an isinstance for WrappedMethod so _get_single_mapping does not add it to the Mapping

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Create a Controller with a @command method in python 3.12
  2. Observe that there is no PV created for it

this is also reflected in tests/backends/epics/test_gui.py::test_get_components

Acceptance Criteria

  • The @command decorator can be used in python 3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions