We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 649b786 commit 1aff65bCopy full SHA for 1aff65b
1 file changed
cryptomarket/dataclasses/fee.py
@@ -1,15 +1,12 @@
1
from dataclasses import dataclass
2
-from typing import Any, Dict, List
3
-
4
-from cryptomarket.dataclasses.orderBookLevel import OrderBookLevel
5
+from typing import Any, Dict, Optional
6
7
@dataclass
8
class Fee:
9
- fee: str
10
- network_fee: str
11
- amount: str
12
- currency: str
+ fee: Optional[str]
+ network_fee: Optional[str]
+ amount: Optional[str]
+ currency: Optional[str]
13
14
@classmethod
15
def from_dict(cls, data: Dict[str, Any]):
0 commit comments