diff --git a/kedro-datasets/kedro_datasets/api/__init__.py b/kedro-datasets/kedro_datasets/api/__init__.py index b8dcef6a8..d5e36b0ab 100644 --- a/kedro-datasets/kedro_datasets/api/__init__.py +++ b/kedro-datasets/kedro_datasets/api/__init__.py @@ -3,8 +3,13 @@ It uses the python requests library: https://requests.readthedocs.io/en/latest/ """ +from typing import Any + import lazy_loader as lazy +# https://github.com/pylint-dev/pylint/issues/4300#issuecomment-1043601901 +APIDataSet: Any + __getattr__, __dir__, __all__ = lazy.attach( __name__, submod_attrs={"api_dataset": ["APIDataSet"]} ) diff --git a/kedro-datasets/kedro_datasets/pandas/__init__.py b/kedro-datasets/kedro_datasets/pandas/__init__.py index ae63b076f..6f59421eb 100644 --- a/kedro-datasets/kedro_datasets/pandas/__init__.py +++ b/kedro-datasets/kedro_datasets/pandas/__init__.py @@ -1,7 +1,25 @@ """``AbstractDataSet`` implementations that produce pandas DataFrames.""" +from typing import Any + import lazy_loader as lazy +# https://github.com/pylint-dev/pylint/issues/4300#issuecomment-1043601901 +CSVDataSet: Any +DeltaTableDataSet: Any +ExcelDataSet: Any +FeatherDataSet: Any +GBQQueryDataSet: Any +GBQTableDataSet: Any +GenericDataSet: Any +HDFDataSet: Any +JSONDataSet: Any +ParquetDataSet: Any +SQLQueryDataSet: Any +SQLTableDataSet: Any +XMLDataSet: Any + + __getattr__, __dir__, __all__ = lazy.attach( __name__, submod_attrs={