From 454cbd93e7db8454e1d6e8aaca3063162fbd8dbb Mon Sep 17 00:00:00 2001 From: muhammadalive Date: Mon, 4 Nov 2024 16:14:45 +0500 Subject: [PATCH] hotfix enum --- payme/const.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/payme/const.py b/payme/const.py index b1f0d3a..26ed981 100644 --- a/payme/const.py +++ b/payme/const.py @@ -1,10 +1,10 @@ """ Payme enumerations """ -from enum import StrEnum +from enum import Enum -class Methods(StrEnum): +class Methods(str, Enum): """ The enumeration of create transaction methods. @@ -27,7 +27,7 @@ def __str__(self): return str(self.value) -class Networks(StrEnum): +class Networks(str, Enum): """ Payme networks """ diff --git a/setup.py b/setup.py index 8189e6d..198811b 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='payme-pkg', - version='3.0.2', + version='3.0.3', license='MIT', author="Muhammadali Akbarov", author_email='muhammadali17abc@gmail.com',