Skip to content

Commit

Permalink
Rename list_exporters to list_data_exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Dec 22, 2023
1 parent fd40b3e commit 5040649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sdgx/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def list_cachers():

@click.command()
@cli_wrapper
def list_exporters():
def list_data_exporters():
for model_name, model_cls in DataExporterManager().registed_exporters.items():
print(f"{model_name} is registed as class: {model_cls}.")

Expand All @@ -428,7 +428,7 @@ def cli():
cli.add_command(list_data_connectors)
cli.add_command(list_data_processors)
cli.add_command(list_cachers)
cli.add_command(list_exporters)
cli.add_command(list_data_exporters)


if __name__ == "__main__":
Expand Down
4 changes: 2 additions & 2 deletions tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
fit,
list_cachers,
list_data_connectors,
list_data_exporters,
list_data_processors,
list_exporters,
list_models,
sample,
)
Expand All @@ -22,7 +22,7 @@
list_cachers,
list_data_connectors,
list_data_processors,
list_exporters,
list_data_exporters,
list_models,
],
)
Expand Down

0 comments on commit 5040649

Please sign in to comment.