This commit is contained in:
Matthias 2021-05-22 17:15:35 +02:00
parent 0693458507
commit 765c824bfc
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@ Module that define classes to convert Crypto-currency to FIAT
e.g BTC to USD
"""
import logging
import datetime
import logging
from typing import Dict
from cachetools.ttl import TTLCache
from pycoingecko import CoinGeckoAPI
from requests.exceptions import RequestException
@ -27,7 +27,7 @@ class CryptoToFiatConverter:
_coingekko: CoinGeckoAPI = None
_cryptomap: Dict = {}
_backoff: int = 0
_backoff: float = 0.0
def __new__(cls):
"""

View File

@ -1,9 +1,9 @@
# pragma pylint: disable=missing-docstring, too-many-arguments, too-many-ancestors,
# pragma pylint: disable=protected-access, C0103
import datetime
from unittest.mock import MagicMock
import datetime
import pytest
from requests.exceptions import RequestException