Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 10, 2025
1 parent 313fec9 commit adac56b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 1 addition & 3 deletions vizro-core/src/vizro/integrations/kedro/_data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def pipelines_from_project(project_path: Union[str, Path]) -> Pipeline:
return pipelines


def datasets_from_catalog(
catalog: CatalogProtocol, *, pipeline: Pipeline = None
) -> dict[str, pd_DataFrameCallable]:
def datasets_from_catalog(catalog: CatalogProtocol, *, pipeline: Pipeline = None) -> dict[str, pd_DataFrameCallable]:
# This doesn't include things added to the catalog at run time but that is ok for our purposes.
config_resolver = catalog.config_resolver
kedro_datasets = config_resolver.config.copy()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ def test_datasets_from_catalog_with_pipeline(catalog_path):
[
kp.node(
func=lambda *args: None,
inputs=["pandas_excel", "something#csv", "not_dataframe", "not_in_catalog", "pandas_parquet", "parameters", "params:z"],
inputs=[
"pandas_excel",
"something#csv",
"not_dataframe",
"not_in_catalog",
"pandas_parquet",
"parameters",
"params:z",
],
outputs=None,
),
]
Expand Down

0 comments on commit adac56b

Please sign in to comment.