10 lines
176 B
Python
10 lines
176 B
Python
from enum import Enum
|
|
|
|
|
|
class UnitMagneticFieldStrengthFormat(str, Enum):
|
|
TESLA = 'tesla'
|
|
GAUSS = 'gauss'
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|