-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support x-databricks-path-style overrides at the operation level (#562)
## Changes In order to support multiple styles of request under a single service, we introduce support for overriding x-databricks-path-style at the Operation level. This will allow RPC- and REST-style operations to exist under a single service. To determine the path style for a method, we check for a method-level override, falling back to the service-level setting. If neither is set, the path style is assumed to be "rest". ## Tests Tested by regenerating the Python SDK using a spec I edited by hand to include this extension at the operation level. The generated code was as I expected (using the operation ID to derive name in the Clusters service, which is normally an RPC style service). - [ ] `make test` passing - [ ] `make fmt` applied - [ ] relevant integration tests applied
- Loading branch information
Showing
4 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters