Skip to content

Commit e335bc4

Browse files
committed
chore(python): remove use of StrEnum (python >=3.11)
1 parent af645a9 commit e335bc4

File tree

1 file changed

+2
-2
lines changed
  • clients/algoliasearch-client-python/algoliasearch/http

1 file changed

+2
-2
lines changed

clients/algoliasearch-client-python/algoliasearch/http/verb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from enum import StrEnum
1+
from enum import Enum
22

33

4-
class Verb(StrEnum):
4+
class Verb(str, Enum):
55
GET = "GET"
66
POST = "POST"
77
PUT = "PUT"

0 commit comments

Comments
 (0)