add comment async/sync

This commit is contained in:
Diogo Sousa
2023-11-23 15:27:23 +00:00
parent f85d9fedc8
commit 931c8b40fc

View File

@@ -79,8 +79,11 @@ class FMPEquityHistoricalFetcher(
return FMPEquityHistoricalQueryParams(**transformed_params)
# TODO: Fix fetcher to allow async/sync methods or turn everything async
# @overloading the method does not work, it breaks the type hinting for the
# synchronous method implemented in other providers
@staticmethod
async def extract_data(
async def extract_data( # pylint: disable=invalid-overridden-method
query: FMPEquityHistoricalQueryParams,
credentials: Optional[Dict[str, str]],
**kwargs: Any,