Skip to content

Commit

Permalink
[KED-1820] Rename iris-example and pyspark-with-example starters (ked…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorena Bălan committed Jul 2, 2020
1 parent 9129a14 commit 90ed5b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/source/02_getting_started/05_starters.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ The Kedro team maintains the following starters:
+----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| Alias | Link to starter | Description |
+======================+========================================================================+===========================================================================================+
| iris-example | https://github.com/quantumblacklabs/kedro-starter-iris-example | Provide an example iris-classification pipeline built with Kedro |
| pandas-iris | https://github.com/quantumblacklabs/kedro-starter-pandas-iris | Provide an example iris-classification pipeline built with Kedro |
+----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| pyspark | https://github.com/quantumblacklabs/kedro-starter-pyspark | Provide initial configuration and initialisation code for a Kedro pipeline using PySpark |
+----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| pyspark-with-example | https://github.com/quantumblacklabs/kedro-starter-pyspark-with-example | Provide all features in the basic PySpark starter, plus an example pipeline to train |
| pyspark-iris | https://github.com/quantumblacklabs/kedro-starter-pyspark-iris | Provide all features in the basic PySpark starter, plus an example pipeline to train |
| | | a machine learning model with Spark primitives |
+----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
```
Expand Down
4 changes: 2 additions & 2 deletions kedro/framework/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@

# pylint: disable=line-too-long
_STARTER_ALIASES = {
"pandas-iris": "git+https://github.com/quantumblacklabs/kedro-starter-pandas-iris.git",
"pyspark": "git+https://github.com/quantumblacklabs/kedro-starter-pyspark.git",
"pyspark-with-example": "git+https://github.com/quantumblacklabs/kedro-starter-pyspark-with-example.git",
"iris-example": "git+https://github.com/quantumblacklabs/kedro-starter-iris-example.git",
"pyspark-iris": "git+https://github.com/quantumblacklabs/kedro-starter-pyspark-iris.git",
}


Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
readme = f.read()

doc_html_files = [
name.replace("kedro/", "", 1) for name in glob("kedro/framework/html/**/*", recursive=True)
name.replace("kedro/", "", 1)
for name in glob("kedro/framework/html/**/*", recursive=True)
]

template_files = []
Expand Down
4 changes: 2 additions & 2 deletions tests/framework/cli/test_cli_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,8 @@ def test_new_with_invalid_starter_path_should_raise(self, cli_runner):
"alias,expected_starter",
[
(
"pyspark-with-example",
"git+https://github.com/quantumblacklabs/kedro-starter-pyspark-with-example.git",
"pyspark-iris",
"git+https://github.com/quantumblacklabs/kedro-starter-pyspark-iris.git",
),
],
)
Expand Down

0 comments on commit 90ed5b1

Please sign in to comment.