diff --git a/pyproject.toml b/pyproject.toml index c6cc053a..9d7a12c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ dependencies = [ [project.optional-dependencies] test = [ "pytest >= 7.0.1", - "pytest-asyncio >= 0.20.1", "pytest-timeout >= 1.4.2", "pytest-cov >= 4.0.0", "mock >= 4.0.3" diff --git a/src/powerapi/database/base_db.py b/src/powerapi/database/base_db.py index 61bacc9b..624fdec7 100644 --- a/src/powerapi/database/base_db.py +++ b/src/powerapi/database/base_db.py @@ -73,15 +73,13 @@ class BaseDB: This class define the interface needed to fetch/save reports from/to a database. """ - def __init__(self, report_type: type[Report], exceptions: list[type[Exception]] = None, is_async: bool = False): + def __init__(self, report_type: type[Report], exceptions: list[type[Exception]] = None): """ :param report_type: The type of report expected :param exceptions: List of exception type raised by the database module - :param is_async: Whether the database use asyncio or not """ self.report_type = report_type self.exceptions = exceptions or [] - self.is_async = is_async def connect(self): """