Skip to content

Commit 5cf0488

Browse files
author
FelixAbrahamsson
committed
refactor: position adjustment as str enum
1 parent a5a3250 commit 5cf0488

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kmm/position_adjustment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from enum import Enum
22

33

4-
class PositionAdjustment(Enum):
5-
MEASURING_INSTRUMENT = 0
6-
WIRE_CAMERA = 1
4+
class PositionAdjustment(str, Enum):
5+
MEASURING_INSTRUMENT = 'measuring_instrument'
6+
WIRE_CAMERA = 'wire_camera'

0 commit comments

Comments
 (0)