Skip to content

Commit

Permalink
Merge pull request #19 from Muhammadali-Akbarov/enhancement/version
Browse files Browse the repository at this point in the history
hotfix enum
  • Loading branch information
Muhammadali-Akbarov authored Nov 4, 2024
2 parents 9938f7d + 454cbd9 commit 5d76fd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions payme/const.py
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -27,7 +27,7 @@ def __str__(self):
return str(self.value)


class Networks(StrEnum):
class Networks(str, Enum):
"""
Payme networks
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5d76fd9

Please sign in to comment.