Skip to content

Commit

Permalink
fix docslink + tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ankita Katiyar <[email protected]>
  • Loading branch information
ankatiyar committed Dec 23, 2024
1 parent 9a45382 commit 2b8e9ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ The Databricks API enables you to programmatically interact with Databricks serv

1. [Set up your Kedro project for deployment on Databricks](#set-up-your-project-for-deployment-to-databricks)
2. Create a JSON file containing your job's configuration.
3. Use the Jobs API's [`/create` endpoint](https://docs.databricks.com/workflows/jobs/jobs-api-updates.html#create) to create a new job.
3. Use the Jobs API's [`/create` endpoint](https://docs.databricks.com/en/reference/jobs-2.0-api.html#create) to create a new job.

Check warning on line 256 in docs/source/deployment/databricks/databricks_deployment_workflow.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/source/deployment/databricks/databricks_deployment_workflow.md#L256

[Kedro.Spellings] Did you really mean 'API's'?
Raw output
{"message": "[Kedro.Spellings] Did you really mean 'API's'?", "location": {"path": "docs/source/deployment/databricks/databricks_deployment_workflow.md", "range": {"start": {"line": 256, "column": 17}}}, "severity": "WARNING"}
4. Use the Jobs API's [`/runs/submit` endpoint](https://docs.databricks.com/workflows/jobs/jobs-api-updates.html#runs-submit) to run your newly created job.

### How to use the Databricks CLI to automatically deploy a Kedro project
Expand Down
6 changes: 0 additions & 6 deletions tests/framework/cli/test_starters.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,9 +861,6 @@ def test_git_repo(self, fake_kedro_cli, mock_determine_repo_dir, mock_cookiecutt
"template": "git+https://github.com/fake/fake.git",
"directory": None,
}
starters_version = mock_determine_repo_dir.call_args[1].pop("checkout", None)

assert starters_version in [version, "main"]
assert kwargs.items() <= mock_determine_repo_dir.call_args[1].items()
del kwargs["directory"]
assert kwargs.items() <= mock_cookiecutter.call_args[1].items()
Expand Down Expand Up @@ -910,9 +907,6 @@ def test_git_repo_custom_directory(
"template": "git+https://github.com/fake/fake.git",
"directory": "my_directory",
}
starters_version = mock_determine_repo_dir.call_args[1].pop("checkout", None)

assert starters_version in [version, "main"]
assert kwargs.items() <= mock_determine_repo_dir.call_args[1].items()
assert kwargs.items() <= mock_cookiecutter.call_args[1].items()

Expand Down

0 comments on commit 2b8e9ad

Please sign in to comment.