This commit is contained in:
Diogo Sousa
2023-07-28 23:36:47 +01:00
parent 2115cbee92
commit f5bb665a20
2 changed files with 2 additions and 2 deletions

View File

@@ -428,5 +428,5 @@ __provider_interface = ProviderInterface()
def get_provider_interface() -> ProviderInterface:
"""Get the provider interface."""
"""Get the provider interface, this only needs to be created once."""
return __provider_interface

View File

@@ -23,7 +23,7 @@ class Query:
provider_choices: ProviderChoices,
standard_params: StandardParams,
extra_params: ExtraParams,
provider_interface: Optional[ProviderInterface] = None,
provider_interface: Optional[ProviderInterface] = None
) -> None:
"""Initialize Query class."""
self.cc = cc