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

Skip prompt on completion hook #888

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Oct 19, 2023

Changes

The first stab at this was added in #837 but only included the NoPrompt check in MustAccountClient. I renamed it to SkipPrompt (in preparation for another option that skips bundle load) and made it work for MustWorkspaceClient as well.

Tests

Manually confirmed that the completion hook no longer prompts for a profile (when called directly with databricks __complete).

@pietern pietern requested a review from andrewnester October 19, 2023 11:07
@pietern pietern enabled auto-merge October 19, 2023 11:07
@pietern pietern added this pull request to the merge queue Oct 19, 2023
@pietern pietern removed this pull request from the merge queue due to a manual request Oct 19, 2023
@pietern pietern added this pull request to the merge queue Oct 19, 2023
Merged via the queue into main with commit 5a53b11 Oct 19, 2023
@pietern pietern deleted the sync-skip-prompt-on-completion branch October 19, 2023 12:42
pietern added a commit that referenced this pull request Oct 23, 2023
CLI:
 * Never load authentication configuration from bundle for sync command ([#889](#889)).
 * Fixed requiring positional arguments for API URL parameters ([#878](#878)).

Bundles:
 * Add support for validating CLI version when loading a jsonschema object ([#883](#883)).
 * Do not emit wheel wrapper error when python_wheel_wrapper setting is true ([#894](#894)).
 * Resolve configuration before performing verification ([#890](#890)).
 * Fix wheel task not working with with 13.x clusters ([#898](#898)).

Internal:
 * Skip prompt on completion hook ([#888](#888)).
 * New YAML loader to support configuration location ([#828](#828)).

Dependency updates:
 * Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 ([#896](#896)).
@pietern pietern mentioned this pull request Oct 23, 2023
github-merge-queue bot pushed a commit that referenced this pull request Oct 23, 2023
CLI:
* Never load authentication configuration from bundle for sync command
([#889](#889)).
* Fixed requiring positional arguments for API URL parameters
([#878](#878)).

Bundles:
* Add support for validating CLI version when loading a jsonschema
object ([#883](#883)).
* Do not emit wheel wrapper error when python_wheel_wrapper setting is
true ([#894](#894)).
* Resolve configuration before performing verification
([#890](#890)).
* Fix wheel task not working with with 13.x clusters
([#898](#898)).

Internal:
* Skip prompt on completion hook
([#888](#888)).
* New YAML loader to support configuration location
([#828](#828)).

Dependency updates:
* Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
([#896](#896)).
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.

2 participants