Skip to content

[Fix] Fix Model Serving Test#781

Merged
parthban-db merged 3 commits intomainfrom
parthban-db/fix-model-serving-test
Oct 7, 2024
Merged

[Fix] Fix Model Serving Test#781
parthban-db merged 3 commits intomainfrom
parthban-db/fix-model-serving-test

Conversation

@parthban-db
Copy link
Copy Markdown
Contributor

Changes

Fix Model Serving Tests.

  • Added preffered auth_type so that test will not use other auth_types first.
  • Patch function that reads .databrickscfg.
  • Unsetting already existing environment variables.

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

@parthban-db parthban-db requested a review from tanmay-db October 7, 2024 10:02
Copy link
Copy Markdown
Contributor

@tanmay-db tanmay-db left a comment

Choose a reason for hiding this comment

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

synced offline, LGTM

@parthban-db parthban-db enabled auto-merge October 7, 2024 11:47
@parthban-db parthban-db added this pull request to the merge queue Oct 7, 2024
Merged via the queue into main with commit b8c102d Oct 7, 2024
@parthban-db parthban-db deleted the parthban-db/fix-model-serving-test branch October 7, 2024 11:54
parthban-db added a commit that referenced this pull request Oct 7, 2024
### Bug Fixes

 * Fix Model Serving Test ([#781](#781)).
 * Include package name for external types when deserializing responses ([#786](#786)).

### Internal Changes

 * Refactor ApiClient into `_BaseClient` and `ApiClient` ([#785](#785)).
 * Update to latest OpenAPI spec ([#787](#787)).
 * revert Support Models in `dbutils.fs` operations ([#750](#750)) ([#778](#778)).

### API Changes:

 * Added [w.disable_legacy_dbfs](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/disable_legacy_dbfs.html) workspace-level service.
 * Added `default_source_code_path` and `resources` fields for `databricks.sdk.service.apps.App`.
 * Added `resources` field for `databricks.sdk.service.apps.CreateAppRequest`.
 * Added `resources` field for `databricks.sdk.service.apps.UpdateAppRequest`.

OpenAPI SHA: bc17b474818138f19b78a7bea0675707dead2b87, Date: 2024-10-07
github-merge-queue bot pushed a commit that referenced this pull request Oct 7, 2024
### Bug Fixes

* Fix Model Serving Test
([#781](#781)).
* Include package name for external types when deserializing responses
([#786](#786)).


### Internal Changes

* Refactor ApiClient into `_BaseClient` and `ApiClient`
([#785](#785)).
* Update to latest OpenAPI spec
([#787](#787)).
* revert Support Models in `dbutils.fs` operations
([#750](#750))
([#778](#778)).


### API Changes:

* Added
[w.disable_legacy_dbfs](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/disable_legacy_dbfs.html)
workspace-level service.
* Added `default_source_code_path` and `resources` fields for
`databricks.sdk.service.apps.App`.
* Added `resources` field for
`databricks.sdk.service.apps.CreateAppRequest`.
* Added `resources` field for
`databricks.sdk.service.apps.UpdateAppRequest`.

OpenAPI SHA: bc17b474818138f19b78a7bea0675707dead2b87, Date: 2024-10-07
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