Skip to content

Commit

Permalink
Fix --load-version CLI argument (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriiDeriabinQB authored Dec 17, 2019
1 parent 209a28c commit aad73e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

## Bug fixes and other changes

* * Fixed a bug in the `invalidate_cache` method of `ParquetGCSDataSet` and `CSVGCSDataSet`.
* Fixed a bug in the `invalidate_cache` method of `ParquetGCSDataSet` and `CSVGCSDataSet`.
* `--load-version` now won't break if version value contains a colon.

## Breaking changes to the API

Expand Down
2 changes: 1 addition & 1 deletion kedro/template/{{ cookiecutter.repo_name }}/kedro_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _reformat_load_versions(ctx, param, value) -> Dict[str, str]:
load_versions_dict = {}

for load_version in value:
load_version_list = load_version.split(load_version_separator)
load_version_list = load_version.split(load_version_separator, 1)
if len(load_version_list) != 2:
raise ValueError(
"Expected the form of `load_version` to be "
Expand Down

0 comments on commit aad73e6

Please sign in to comment.