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

Fixed redeclared test_streaming_response_read_partial test #335

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

nfx
Copy link
Contributor

@nfx nfx commented Sep 4, 2023

Name the test how it should have been named. Python compiler didn't catch this because of the weak typing.

Name the test how it should have been named

Signed-off-by: Serge Smertin <259697+nfx@users.noreply.github.com>
@nfx nfx requested a review from a team September 4, 2023 07:04
@nfx nfx changed the title Fixed redeclared 'test_streaming_response_read_partial' test Fixed redeclared test_streaming_response_read_partial test Sep 4, 2023
@mgyucht mgyucht added this pull request to the merge queue Sep 4, 2023
Merged via the queue into main with commit 01b08dc Sep 4, 2023
8 checks passed
@mgyucht mgyucht deleted the fix/redeclare branch September 4, 2023 07:10
pietern added a commit that referenced this pull request Sep 4, 2023
* Fixed redeclared `test_streaming_response_read_partial` test ([#335](#335)).
* Fixed `Incorrect type` warning ([#336](#336)).
* Add notebook installation instructions ([#334](#334)).

API Changes:

* Renamed permissions APIs to no longer include the service name, for example:
  * `get_job_permission_levels` -> `get_permission_levels`
  * `get_job_permissions` -> `get_permissions`
  * `set_job_permissions` -> `set_permissions`
  * `update_job_permissions` -> `update_permissions`
* Changed `create()` method for [w.volumes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/volumes.html) workspace-level service with new required argument order.
* Added `supports_elastic_disk` field for `databricks.sdk.service.compute.NodeType`.
* Changed `create()` method for [w.dashboards](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/dashboards.html) workspace-level service with new required argument order.
* Added [w.dashboard_widgets](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/dashboard_widgets.html) workspace-level service.
* Added [w.query_visualizations](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/query_visualizations.html) workspace-level service.
* Changed `name` field for `databricks.sdk.service.sql.CreateDashboardRequest` to be required.
* Added `dashboard_filters_enabled` field for `databricks.sdk.service.sql.CreateDashboardRequest`.
* Added `run_as_role` field for `databricks.sdk.service.sql.CreateDashboardRequest`.
* Added `run_as_role` field for `databricks.sdk.service.sql.Query`.
* Added `run_as_role` field for `databricks.sdk.service.sql.QueryPostContent`.
* Removed `dashboard_id` field for `databricks.sdk.service.sql.WidgetOptions`.
* Changed `position` field for `databricks.sdk.service.sql.WidgetOptions` to `databricks.sdk.service.sql.WidgetPosition` dataclass.
* Removed `text` field for `databricks.sdk.service.sql.WidgetOptions`.
* Added `description` field for `databricks.sdk.service.sql.WidgetOptions`.
* Added `title` field for `databricks.sdk.service.sql.WidgetOptions`.
* Added `databricks.sdk.service.sql.CreateQueryVisualizationRequest` dataclass.
* Added `databricks.sdk.service.sql.CreateWidget` dataclass.
* Added `databricks.sdk.service.sql.DeleteDashboardWidgetRequest` dataclass.
* Added `databricks.sdk.service.sql.DeleteQueryVisualizationRequest` dataclass.
* Added `databricks.sdk.service.sql.RunAsRole` dataclass.
* Added `databricks.sdk.service.sql.WidgetPosition` dataclass.

OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04
@pietern pietern mentioned this pull request Sep 4, 2023
github-merge-queue bot pushed a commit that referenced this pull request Sep 4, 2023
* Fixed redeclared `test_streaming_response_read_partial` test
([#335](#335)).
* Fixed `Incorrect type` warning
([#336](#336)).
* Add notebook installation instructions
([#334](#334)).

API Changes:

* Renamed permissions APIs to no longer include the service name, for
example:
  * `get_job_permission_levels` -> `get_permission_levels`
  * `get_job_permissions` -> `get_permissions`
  * `set_job_permissions` -> `set_permissions`
  * `update_job_permissions` -> `update_permissions`
* Changed `create()` method for
[w.volumes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/volumes.html)
workspace-level service with new required argument order.
* Added `supports_elastic_disk` field for
`databricks.sdk.service.compute.NodeType`.
* Changed `create()` method for
[w.dashboards](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/dashboards.html)
workspace-level service with new required argument order.
* Added
[w.dashboard_widgets](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/dashboard_widgets.html)
workspace-level service.
* Added
[w.query_visualizations](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/query_visualizations.html)
workspace-level service.
* Changed `name` field for
`databricks.sdk.service.sql.CreateDashboardRequest` to be required.
* Added `dashboard_filters_enabled` field for
`databricks.sdk.service.sql.CreateDashboardRequest`.
* Added `run_as_role` field for
`databricks.sdk.service.sql.CreateDashboardRequest`.
* Added `run_as_role` field for `databricks.sdk.service.sql.Query`.
* Added `run_as_role` field for
`databricks.sdk.service.sql.QueryPostContent`.
* Removed `dashboard_id` field for
`databricks.sdk.service.sql.WidgetOptions`.
* Changed `position` field for
`databricks.sdk.service.sql.WidgetOptions` to
`databricks.sdk.service.sql.WidgetPosition` dataclass.
* Removed `text` field for `databricks.sdk.service.sql.WidgetOptions`.
* Added `description` field for
`databricks.sdk.service.sql.WidgetOptions`.
* Added `title` field for `databricks.sdk.service.sql.WidgetOptions`.
* Added `databricks.sdk.service.sql.CreateQueryVisualizationRequest`
dataclass.
* Added `databricks.sdk.service.sql.CreateWidget` dataclass.
* Added `databricks.sdk.service.sql.DeleteDashboardWidgetRequest`
dataclass.
* Added `databricks.sdk.service.sql.DeleteQueryVisualizationRequest`
dataclass.
* Added `databricks.sdk.service.sql.RunAsRole` dataclass.
* Added `databricks.sdk.service.sql.WidgetPosition` dataclass.

OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04
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