diff --git a/src/server/BreCal/database/enums.py b/src/server/BreCal/database/enums.py index 7cab2d0..04516fc 100644 --- a/src/server/BreCal/database/enums.py +++ b/src/server/BreCal/database/enums.py @@ -11,10 +11,6 @@ class ParticipantType(IntFlag): PORT_ADMINISTRATION = 32 TUG = 64 - @classmethod - def _missing_(cls, value): - return cls.undefined - class ShipcallType(IntEnum): """determines the type of a shipcall, as this changes the applicable validation rules""" undefined = 0 @@ -66,7 +62,3 @@ class ParticipantFlag(IntFlag): """ undefined = 0 BSMD = 1 - - @classmethod - def _missing_(cls, value): - return cls.undefined