Skip to content

Commit

Permalink
update docs link + styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ankatiyar committed Sep 29, 2022
1 parent 5af187d commit 6088e00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/deployment/databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Then press `Confirm` button. Your cluster will be restarted to apply the changes

Congratulations, you are now ready to run your Kedro project from the Databricks!

[Create your Databricks notebook](https://docs.databricks.com/notebooks/notebooks-manage.html#create-a-notebook) and remember to [attach it to the cluster](https://docs.databricks.com/notebooks/notebooks-manage.html#attach) you have just configured.
[Create your Databricks notebook](https://docs.databricks.com/notebooks/notebooks-manage.html#create-a-notebook) and remember to [attach it to the cluster](https://docs.databricks.com/notebooks/notebooks-manage.html#attach-a-notebook-to-a-cluster) you have just configured.

In your newly-created notebook, put each of the below code snippets into a separate cell, then [run all cells](https://docs.databricks.com/notebooks/notebooks-use.html#run-notebooks):

Expand Down
8 changes: 4 additions & 4 deletions tests/io/test_data_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,13 +653,13 @@ def test_replacing_nonword_characters(self):
assert "ds3__csv" in catalog.datasets.__dict__
assert "jalapeño" in catalog.datasets.__dict__

def test_no_version_cloud(self):
def test_no_versions_cloud_protocol(self):
"""Check the error if no versions are available for load from cloud storage"""
version = Version(load=None, save=None)
ds = CSVDataSet("s3://bucket/file.csv", version=version)
versioned_dataset = CSVDataSet("s3://bucket/file.csv", version=version)
pattern = re.escape(
f"Did not find any versions for {ds} "
f"Did not find any versions for {versioned_dataset} "
f"This could be due to insufficient permission."
)
with pytest.raises(DataSetError, match=pattern):
ds.load()
versioned_dataset.load()

0 comments on commit 6088e00

Please sign in to comment.