From 69c7e29109b8efe449360b3fe7a0031db56ab554 Mon Sep 17 00:00:00 2001 From: Arnas Bradauskas Date: Thu, 26 Oct 2023 15:30:13 +0300 Subject: [PATCH] Removed unnecessary method --- traveltimepy/dto/common.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/traveltimepy/dto/common.py b/traveltimepy/dto/common.py index febc99e..84030b7 100644 --- a/traveltimepy/dto/common.py +++ b/traveltimepy/dto/common.py @@ -110,9 +110,6 @@ class Property(str, Enum): class PropertyProto(int, Enum): DISTANCE = 1 - def __int__(self): - return self.value - class FullRange(BaseModel): enabled: bool