Describe the bug
epics_signal_rw requires/expects (str, enum) type even when the epics enum is empty, resulting in a TypeError when attempt to connect.
To Reproduce
Connect to an epics pv that has empty enum.
One example would be the xpress3 erase signal (BLXXI-XX-XSP3-01:ERASE)
Expected behavior
We expected to be able to use:
class EraseEnum(int, Enum):
or int when pv enum is empty or of an unknown type.
Describe the bug epics_signal_rw requires/expects
(str, enum)
type even when the epics enum is empty, resulting in a TypeError when attempt to connect.To Reproduce Connect to an epics pv that has empty enum.
One example would be the xpress3 erase signal (BLXXI-XX-XSP3-01:ERASE)
Expected behavior We expected to be able to use:
or int when pv enum is empty or of an unknown type.
Additional context dodal PR/discussion where I ran into this issue