mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
Rewrite all rest examples according to v3.0.0b3's changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import TYPE_CHECKING, Optional, Any
|
||||
|
||||
from enum import Enum
|
||||
from enum import IntEnum
|
||||
|
||||
from http import HTTPStatus
|
||||
|
||||
@@ -15,7 +15,7 @@ from ..._utils.json_decoder import JSONDecoder
|
||||
if TYPE_CHECKING:
|
||||
from requests.sessions import _Params
|
||||
|
||||
class _Error(Enum):
|
||||
class _Error(IntEnum):
|
||||
ERR_UNK = 10000
|
||||
ERR_GENERIC = 10001
|
||||
ERR_PARAMS = 10020
|
||||
|
||||
Reference in New Issue
Block a user