The changes in the pull request #64 include updates to several files:
src/kedro_databricks/init.py:
Added InitController class to manage Databricks initialization, configuration, run script creation, and path substitution.
Introduced has_databricks_cli utility function to check if the Databricks CLI is installed.
Removed hardcoded templates and replaced them with resource-based templates.
src/kedro_databricks/plugin.py:
Replaced direct function calls with methods from the InitController class.
Updated initialization logic to use the new InitController.
src/kedro_databricks/utils.py:
Added has_databricks_cli function to check for Databricks CLI installation.
tests/unit/test_init.py:
Updated tests to use InitController methods.
Added new tests to cover the functionality provided by InitController.
These changes refactor the initialization and configuration process for Databricks integration, adding a more structured and maintainable approach through the InitController class.
The changes in the pull request #64 include updates to several files:
src/kedro_databricks/init.py:
src/kedro_databricks/plugin.py:
src/kedro_databricks/utils.py:
tests/unit/test_init.py: