Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix databricks entry point #191

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Fix databricks entry point #191

merged 2 commits into from
Dec 4, 2023

Conversation

DimedS
Copy link
Contributor

@DimedS DimedS commented Dec 1, 2023

Motivation and Context

To deploy kedro projects in Databricks, we need to use specific entry point, our manual using databricks_run name and in starter we put special code in databricks_run.py file. This PR changes common entry point pattern used in all starters to specific for Databricks:
databricks_run = "{{ cookiecutter.python_package }}.databricks_run:main"

How has this been tested?

The new entry point configuration has been tested manually on Databricks.
Deployment was made using Databricks job, following this manual

Checklist

  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Assigned myself to the PR
  • Added tests to cover my changes

Signed-off-by: Dmitry Sorokin <[email protected]>
@DimedS DimedS self-assigned this Dec 1, 2023
@DimedS DimedS linked an issue Dec 1, 2023 that may be closed by this pull request
@DimedS DimedS marked this pull request as ready for review December 4, 2023 10:00
Copy link
Contributor

@noklam noklam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DimedS DimedS merged commit 8beb4b7 into main Dec 4, 2023
36 checks passed
@DimedS DimedS deleted the 2671-fix-entry-point-databricks branch December 4, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Databricks documentation about logging
3 participants