Convert option type to a enum

This commit is contained in:
moshferatu 2024-02-08 03:22:07 -08:00
parent 02cfa6d7cc
commit 632294a89a

View File

@ -1,2 +1,5 @@
CALL = 'C'
PUT = 'P'
from enum import Enum
class OptionType(Enum):
CALL = 'CALL'
PUT = 'PUT'