Added pyjapc._types.Enum to represent a returned Enum datatype.
1 unresolved thread
1 unresolved thread
@isinkare - could you take a look at this please? This is a new feature and would be part of a 2.1.0 release.
Merge request reports
Activity
- pyjapc/_types.py 0 → 100644
16 return self 17 18 @property 19 def value(self): 20 return self[0] 21 22 @property 23 def name(self): 24 return self[1] 25 26 @property 27 def meaning(self) -> str: 28 return self._extra[0] 29 30 @property 31 def editable(self) -> bool: changed this line in version 2 of the diff
added 1 commit
- ff01be09 - Refined the implementation to expose a normal namedtuple.
So this represents a fair amount of complexity which would be better handled by an update to the PyJAPC API as part of https://issues.cern.ch/browse/ACCPY-683. For that reason, I'm going to reject/close this MR.
Please register or sign in to reply