From 4d1f57801833d94330a7238885821ff0fc82ad25 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 27 May 2026 15:42:14 +0200 Subject: [PATCH 01/14] Manual trigger for SDK update to v0.138.0 --- .codegen/_openapi_sha | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 0373270428..e6ee8871a2 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -0555d6a59265799ed8ea12f355eee662e739430d \ No newline at end of file +87b666fa172b01444d306112309b6109c096f98b \ No newline at end of file diff --git a/go.mod b/go.mod index 78aab94c29..6a19e1fb4e 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/charmbracelet/huh v1.0.0 // MIT github.com/charmbracelet/lipgloss v1.1.0 // MIT github.com/charmbracelet/x/ansi v0.11.7 // MIT - github.com/databricks/databricks-sdk-go v0.136.0 // Apache-2.0 + github.com/databricks/databricks-sdk-go v0.138.0 // Apache-2.0 github.com/google/jsonschema-go v0.4.3 // MIT github.com/google/uuid v1.6.0 // BSD-3-Clause github.com/gorilla/websocket v1.5.3 // BSD-2-Clause diff --git a/go.sum b/go.sum index 1fee01a918..bdb1b62a6b 100644 --- a/go.sum +++ b/go.sum @@ -69,8 +69,8 @@ github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22r github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= github.com/danieljoos/wincred v1.2.3/go.mod h1:6qqX0WNrS4RzPZ1tnroDzq9kY3fu1KwE7MRLQK4X0bs= -github.com/databricks/databricks-sdk-go v0.136.0 h1:7TF+fDS9jpwBqnVy0foZ/ej7zL0h1EezuHfYxGYvhNE= -github.com/databricks/databricks-sdk-go v0.136.0/go.mod h1:C5LNgGe6hGuRrTwoxFmuup3XtQQEaqtq0e+K8IFDIS4= +github.com/databricks/databricks-sdk-go v0.138.0 h1:VfIs+7zLNt84OayPk04NctIbay9XRzovMsPH+UAR6+8= +github.com/databricks/databricks-sdk-go v0.138.0/go.mod h1:C5LNgGe6hGuRrTwoxFmuup3XtQQEaqtq0e+K8IFDIS4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= From 5d3358ab98449b4a10afd5d05117d7dbd1ac8e2a Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 11:24:29 +0200 Subject: [PATCH 02/14] Invoke bazel by path instead of name in universe --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2e12751a85..8fb132bd58 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -760,7 +760,7 @@ tasks: echo "UNIVERSE_SKIP_CHECKOUT set; using current {{.UNIVERSE_DIR}} HEAD" fi - echo "Building genkit..." - - cd {{.UNIVERSE_DIR}} && bazel build //openapi/genkit + - cd {{.UNIVERSE_DIR}} && ./tools/bazel build //openapi/genkit - echo "Generating CLI code..." - "{{.UNIVERSE_DIR}}/bazel-bin/openapi/genkit/genkit_/genkit update-sdk" - "cat .gitattributes.manual .gitattributes > .gitattributes.tmp && mv .gitattributes.tmp .gitattributes" From 4c515a241bd11a311a16374c2369433c7e263c44 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 11:36:37 +0200 Subject: [PATCH 03/14] Auto-generated files --- .github/workflows/tagging.yml | 0 NEXT_CHANGELOG.md | 2 + cmd/workspace/apps/apps.go | 4 + .../feature-engineering.go | 12 ++- cmd/workspace/genie/genie.go | 1 + cmd/workspace/lakeview/lakeview.go | 75 +++++++++++++++++++ cmd/workspace/postgres/postgres.go | 65 ++++++++-------- internal/genkit/tagging.py | 0 8 files changed, 121 insertions(+), 38 deletions(-) mode change 100644 => 100755 .github/workflows/tagging.yml mode change 100644 => 100755 internal/genkit/tagging.py diff --git a/.github/workflows/tagging.yml b/.github/workflows/tagging.yml old mode 100644 new mode 100755 diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 2297f807b7..ef62062e78 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -12,3 +12,5 @@ * Preserve `.designer.ipynb` suffix when translating notebook task paths so Lakeflow Designer files referenced from a `notebook_task` resolve correctly in the workspace ([#5370](https://github.com/databricks/cli/pull/5370)). ### Dependency updates + +### API Changes diff --git a/cmd/workspace/apps/apps.go b/cmd/workspace/apps/apps.go index 15e6d75bc6..1e1a88df32 100755 --- a/cmd/workspace/apps/apps.go +++ b/cmd/workspace/apps/apps.go @@ -98,6 +98,8 @@ func newCreate() *cobra.Command { // TODO: complex arg: active_deployment // TODO: complex arg: app_status cmd.Flags().StringVar(&createReq.App.BudgetPolicyId, "budget-policy-id", createReq.App.BudgetPolicyId, ``) + cmd.Flags().IntVar(&createReq.App.ComputeMaxInstances, "compute-max-instances", createReq.App.ComputeMaxInstances, `Maximum number of app instances.`) + cmd.Flags().IntVar(&createReq.App.ComputeMinInstances, "compute-min-instances", createReq.App.ComputeMinInstances, `Minimum number of app instances.`) cmd.Flags().Var(&createReq.App.ComputeSize, "compute-size", `Supported values: [LARGE, MEDIUM]`) // TODO: complex arg: compute_status cmd.Flags().StringVar(&createReq.App.Description, "description", createReq.App.Description, `The description of the app.`) @@ -1691,6 +1693,8 @@ func newUpdate() *cobra.Command { // TODO: complex arg: active_deployment // TODO: complex arg: app_status cmd.Flags().StringVar(&updateReq.App.BudgetPolicyId, "budget-policy-id", updateReq.App.BudgetPolicyId, ``) + cmd.Flags().IntVar(&updateReq.App.ComputeMaxInstances, "compute-max-instances", updateReq.App.ComputeMaxInstances, `Maximum number of app instances.`) + cmd.Flags().IntVar(&updateReq.App.ComputeMinInstances, "compute-min-instances", updateReq.App.ComputeMinInstances, `Minimum number of app instances.`) cmd.Flags().Var(&updateReq.App.ComputeSize, "compute-size", `Supported values: [LARGE, MEDIUM]`) // TODO: complex arg: compute_status cmd.Flags().StringVar(&updateReq.App.Description, "description", updateReq.App.Description, `The description of the app.`) diff --git a/cmd/workspace/feature-engineering/feature-engineering.go b/cmd/workspace/feature-engineering/feature-engineering.go index a9d665fc17..70543465f4 100755 --- a/cmd/workspace/feature-engineering/feature-engineering.go +++ b/cmd/workspace/feature-engineering/feature-engineering.go @@ -302,10 +302,13 @@ func newCreateMaterializedFeature() *cobra.Command { cmd.Flags().Var(&createMaterializedFeatureJson, "json", `either inline JSON string or @path/to/file.json with request body`) cmd.Flags().StringVar(&createMaterializedFeatureReq.MaterializedFeature.CronSchedule, "cron-schedule", createMaterializedFeatureReq.MaterializedFeature.CronSchedule, `The quartz cron expression that defines the schedule of the materialization pipeline.`) - cmd.Flags().StringVar(&createMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, "materialized-feature-id", createMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, `Unique identifier for the materialized feature.`) + // TODO: complex arg: cron_schedule_trigger + cmd.Flags().StringVar(&createMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, "materialized-feature-id", createMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, `Server-assigned unique identifier for the materialized feature.`) // TODO: complex arg: offline_store_config // TODO: complex arg: online_store_config cmd.Flags().Var(&createMaterializedFeatureReq.MaterializedFeature.PipelineScheduleState, "pipeline-schedule-state", `The schedule state of the materialization pipeline. Supported values: [ACTIVE, PAUSED, SNAPSHOT]`) + // TODO: complex arg: streaming_mode + // TODO: complex arg: table_trigger cmd.Use = "create-materialized-feature FEATURE_NAME" cmd.Short = `Create a materialized feature.` @@ -1185,10 +1188,13 @@ func newUpdateMaterializedFeature() *cobra.Command { cmd.Flags().Var(&updateMaterializedFeatureJson, "json", `either inline JSON string or @path/to/file.json with request body`) cmd.Flags().StringVar(&updateMaterializedFeatureReq.MaterializedFeature.CronSchedule, "cron-schedule", updateMaterializedFeatureReq.MaterializedFeature.CronSchedule, `The quartz cron expression that defines the schedule of the materialization pipeline.`) - cmd.Flags().StringVar(&updateMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, "materialized-feature-id", updateMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, `Unique identifier for the materialized feature.`) + // TODO: complex arg: cron_schedule_trigger + cmd.Flags().StringVar(&updateMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, "materialized-feature-id", updateMaterializedFeatureReq.MaterializedFeature.MaterializedFeatureId, `Server-assigned unique identifier for the materialized feature.`) // TODO: complex arg: offline_store_config // TODO: complex arg: online_store_config cmd.Flags().Var(&updateMaterializedFeatureReq.MaterializedFeature.PipelineScheduleState, "pipeline-schedule-state", `The schedule state of the materialization pipeline. Supported values: [ACTIVE, PAUSED, SNAPSHOT]`) + // TODO: complex arg: streaming_mode + // TODO: complex arg: table_trigger cmd.Use = "update-materialized-feature MATERIALIZED_FEATURE_ID UPDATE_MASK FEATURE_NAME" cmd.Short = `Update a materialized feature.` @@ -1197,7 +1203,7 @@ func newUpdateMaterializedFeature() *cobra.Command { Update a materialized feature (pause/resume). Arguments: - MATERIALIZED_FEATURE_ID: Unique identifier for the materialized feature. + MATERIALIZED_FEATURE_ID: Server-assigned unique identifier for the materialized feature. UPDATE_MASK: Provide the materialization feature fields which should be updated. Currently, only the pipeline_state field can be updated. FEATURE_NAME: The full name of the feature in Unity Catalog.` diff --git a/cmd/workspace/genie/genie.go b/cmd/workspace/genie/genie.go index 0376b71791..57b130bb10 100755 --- a/cmd/workspace/genie/genie.go +++ b/cmd/workspace/genie/genie.go @@ -2065,6 +2065,7 @@ func newUpdateSpace() *cobra.Command { cmd.Flags().StringVar(&updateSpaceReq.Description, "description", updateSpaceReq.Description, `Optional description.`) cmd.Flags().StringVar(&updateSpaceReq.Etag, "etag", updateSpaceReq.Etag, `ETag returned by a previous GET or UPDATE.`) + cmd.Flags().StringVar(&updateSpaceReq.ParentPath, "parent-path", updateSpaceReq.ParentPath, `Parent workspace folder path to move this Genie space under.`) cmd.Flags().StringVar(&updateSpaceReq.SerializedSpace, "serialized-space", updateSpaceReq.SerializedSpace, `The contents of the Genie Space in serialized string form (full replacement).`) cmd.Flags().StringVar(&updateSpaceReq.Title, "title", updateSpaceReq.Title, `Optional title override.`) cmd.Flags().StringVar(&updateSpaceReq.WarehouseId, "warehouse-id", updateSpaceReq.WarehouseId, `Optional warehouse override.`) diff --git a/cmd/workspace/lakeview/lakeview.go b/cmd/workspace/lakeview/lakeview.go index c3cf12a974..0f4695039f 100755 --- a/cmd/workspace/lakeview/lakeview.go +++ b/cmd/workspace/lakeview/lakeview.go @@ -47,6 +47,7 @@ func New() *cobra.Command { cmd.AddCommand(newListSubscriptions()) cmd.AddCommand(newMigrate()) cmd.AddCommand(newPublish()) + cmd.AddCommand(newRevert()) cmd.AddCommand(newTrash()) cmd.AddCommand(newUnpublish()) cmd.AddCommand(newUpdate()) @@ -1065,6 +1066,80 @@ func newPublish() *cobra.Command { return cmd } +// start revert command + +// Slice with functions to override default command behavior. +// Functions can be added from the `init()` function in manually curated files in this directory. +var revertOverrides []func( + *cobra.Command, + *dashboards.RevertDashboardRequest, +) + +func newRevert() *cobra.Command { + cmd := &cobra.Command{} + + var revertReq dashboards.RevertDashboardRequest + var revertJson flags.JsonFlag + + cmd.Flags().Var(&revertJson, "json", `either inline JSON string or @path/to/file.json with request body`) + + cmd.Use = "revert DASHBOARD_ID" + cmd.Short = `Revert dashboard.` + cmd.Long = `Revert dashboard. + + Revert a dashboard's definition in draft mode to the last published version. + + Arguments: + DASHBOARD_ID: UUID identifying the dashboard.` + + cmd.Annotations = make(map[string]string) + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" + + cmd.Args = func(cmd *cobra.Command, args []string) error { + check := root.ExactArgs(1) + return check(cmd, args) + } + + cmd.PreRunE = root.MustWorkspaceClient + cmd.RunE = func(cmd *cobra.Command, args []string) (err error) { + ctx := cmd.Context() + w := cmdctx.WorkspaceClient(ctx) + + if cmd.Flags().Changed("json") { + diags := revertJson.Unmarshal(&revertReq) + if diags.HasError() { + return diags.Error() + } + if len(diags) > 0 { + err := cmdio.RenderDiagnostics(ctx, diags) + if err != nil { + return err + } + } + } + revertReq.DashboardId = args[0] + + response, err := w.Lakeview.Revert(ctx, revertReq) + if err != nil { + return err + } + + return cmdio.Render(ctx, response) + } + + // Disable completions since they are not applicable. + // Can be overridden by manual implementation in `override.go`. + cmd.ValidArgsFunction = cobra.NoFileCompletions + + // Apply optional overrides to this command. + for _, fn := range revertOverrides { + fn(cmd, &revertReq) + } + + return cmd +} + // start trash command // Slice with functions to override default command behavior. diff --git a/cmd/workspace/postgres/postgres.go b/cmd/workspace/postgres/postgres.go index df28feb58c..9522a6d774 100755 --- a/cmd/workspace/postgres/postgres.go +++ b/cmd/workspace/postgres/postgres.go @@ -375,8 +375,10 @@ func newCreateDatabase() *cobra.Command { // TODO: complex arg: status cmd.Use = "create-database PARENT" - cmd.Short = `Create a Database.` - cmd.Long = `Create a Database. + cmd.Short = `*Beta* Create a Database.` + cmd.Long = `This command is in Beta and may change without notice. + +Create a Database. Create a Database. @@ -392,12 +394,9 @@ func newCreateDatabase() *cobra.Command { PARENT: The Branch where this Database will be created. Format: projects/{project_id}/branches/{branch_id}` - // This command is being previewed; hide from help output. - cmd.Hidden = true - cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PRIVATE_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Private Preview" + cmd.Annotations["launch_stage"] = "PUBLIC_BETA" + cmd.Annotations["launch_stage_display"] = "Beta" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1217,8 +1216,10 @@ func newDeleteDatabase() *cobra.Command { cmd.Flags().DurationVar(&deleteDatabaseTimeout, "timeout", 0, `maximum amount of time to reach DONE state`) cmd.Use = "delete-database NAME" - cmd.Short = `Delete a Database.` - cmd.Long = `Delete a Database. + cmd.Short = `*Beta* Delete a Database.` + cmd.Long = `This command is in Beta and may change without notice. + +Delete a Database. This is a long-running operation. By default, the command waits for the operation to complete. Use --no-wait to return immediately with the raw @@ -1229,12 +1230,9 @@ func newDeleteDatabase() *cobra.Command { NAME: The resource name of the postgres database. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}` - // This command is being previewed; hide from help output. - cmd.Hidden = true - cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PRIVATE_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Private Preview" + cmd.Annotations["launch_stage"] = "PUBLIC_BETA" + cmd.Annotations["launch_stage_display"] = "Beta" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -1944,19 +1942,18 @@ func newGetDatabase() *cobra.Command { var getDatabaseReq postgres.GetDatabaseRequest cmd.Use = "get-database NAME" - cmd.Short = `Get a Database.` - cmd.Long = `Get a Database. + cmd.Short = `*Beta* Get a Database.` + cmd.Long = `This command is in Beta and may change without notice. + +Get a Database. Arguments: NAME: The name of the Database to retrieve. Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}` - // This command is being previewed; hide from help output. - cmd.Hidden = true - cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PRIVATE_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Private Preview" + cmd.Annotations["launch_stage"] = "PUBLIC_BETA" + cmd.Annotations["launch_stage_display"] = "Beta" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -2409,8 +2406,10 @@ func newListDatabases() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-databases PARENT" - cmd.Short = `List postgres databases in a branch.` - cmd.Long = `List postgres databases in a branch. + cmd.Short = `*Beta* List postgres databases in a branch.` + cmd.Long = `This command is in Beta and may change without notice. + +List postgres databases in a branch. List Databases. @@ -2418,12 +2417,9 @@ func newListDatabases() *cobra.Command { PARENT: The Branch that owns this collection of databases. Format: projects/{project_id}/branches/{branch_id}` - // This command is being previewed; hide from help output. - cmd.Hidden = true - cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PRIVATE_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Private Preview" + cmd.Annotations["launch_stage"] = "PUBLIC_BETA" + cmd.Annotations["launch_stage_display"] = "Beta" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -3058,8 +3054,10 @@ func newUpdateDatabase() *cobra.Command { // TODO: complex arg: status cmd.Use = "update-database NAME UPDATE_MASK" - cmd.Short = `Update a Database.` - cmd.Long = `Update a Database. + cmd.Short = `*Beta* Update a Database.` + cmd.Long = `This command is in Beta and may change without notice. + +Update a Database. This is a long-running operation. By default, the command waits for the operation to complete. Use --no-wait to return immediately with the raw @@ -3072,12 +3070,9 @@ func newUpdateDatabase() *cobra.Command { UPDATE_MASK: The list of fields to update. If unspecified, all fields will be updated when possible.` - // This command is being previewed; hide from help output. - cmd.Hidden = true - cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PRIVATE_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Private Preview" + cmd.Annotations["launch_stage"] = "PUBLIC_BETA" + cmd.Annotations["launch_stage_display"] = "Beta" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(2) diff --git a/internal/genkit/tagging.py b/internal/genkit/tagging.py old mode 100644 new mode 100755 From a87905745c8337d8c5e41e1dd66336ba7f341ad4 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 11:41:24 +0200 Subject: [PATCH 04/14] Changelog --- NEXT_CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index ef62062e78..35163457bd 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -12,5 +12,6 @@ * Preserve `.designer.ipynb` suffix when translating notebook task paths so Lakeflow Designer files referenced from a `notebook_task` resolve correctly in the workspace ([#5370](https://github.com/databricks/cli/pull/5370)). ### Dependency updates +* Bump `github.com/databricks/databricks-sdk-go` from v0.136.0 to v0.138.0 ([#5361](https://github.com/databricks/cli/pull/5361)) ### API Changes From 187d60818e0a94380f5d14adff323c37ce747570 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:03:23 +0200 Subject: [PATCH 05/14] Invoke generate_resources.py with uv in Taskfile, add PEP 723 header for pyyaml --- Taskfile.yml | 2 +- bundle/direct/tools/generate_resources.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 8fb132bd58..e5c7409cbf 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -882,7 +882,7 @@ tasks: generates: - bundle/direct/dresources/resources.generated.yml cmds: - - "sh -c 'python3 bundle/direct/tools/generate_resources.py .codegen/openapi.json bundle/direct/dresources/apitypes.generated.yml bundle/direct/dresources/apitypes.yml acceptance/bundle/refschema/out.fields.txt > bundle/direct/dresources/resources.generated.yml'" + - "sh -c 'uv run --script bundle/direct/tools/generate_resources.py .codegen/openapi.json bundle/direct/dresources/apitypes.generated.yml bundle/direct/dresources/apitypes.yml acceptance/bundle/refschema/out.fields.txt > bundle/direct/dresources/resources.generated.yml'" generate-openapi-json: desc: Download OpenAPI spec (triggered by _openapi_sha change) diff --git a/bundle/direct/tools/generate_resources.py b/bundle/direct/tools/generate_resources.py index eb453dae17..ff748d192e 100644 --- a/bundle/direct/tools/generate_resources.py +++ b/bundle/direct/tools/generate_resources.py @@ -1,4 +1,9 @@ #!/usr/bin/env python3 +# /// script +# dependencies = [ +# "pyyaml", +# ] +# /// """ Generate resources.generated.yml from OpenAPI schema field behaviors. """ From 48deb19ef24747b9676518612e0d0a50b461fcb1 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:04:22 +0200 Subject: [PATCH 06/14] Auto-generated files --- acceptance/bundle/refschema/out.fields.txt | 3 + .../direct/dresources/apitypes.generated.yml | 2 + .../direct/dresources/resources.generated.yml | 330 -------------- bundle/docsgen/output/reference.md | 184 +++++++- bundle/docsgen/output/resources.md | 421 +++++++++++++++--- bundle/internal/schema/annotations.yml | 6 + bundle/schema/jsonschema.json | 6 + bundle/schema/jsonschema_for_docs.json | 172 ++++--- python/codegen/uv.lock | 12 +- python/uv.lock | 66 +-- 10 files changed, 711 insertions(+), 491 deletions(-) diff --git a/acceptance/bundle/refschema/out.fields.txt b/acceptance/bundle/refschema/out.fields.txt index 96000f283e..af22ae1ea3 100644 --- a/acceptance/bundle/refschema/out.fields.txt +++ b/acceptance/bundle/refschema/out.fields.txt @@ -88,6 +88,8 @@ resources.apps.*.app_status *apps.ApplicationStatus ALL resources.apps.*.app_status.message string ALL resources.apps.*.app_status.state apps.ApplicationState ALL resources.apps.*.budget_policy_id string ALL +resources.apps.*.compute_max_instances int ALL +resources.apps.*.compute_min_instances int ALL resources.apps.*.compute_size apps.ComputeSize ALL resources.apps.*.compute_status *apps.ComputeStatus ALL resources.apps.*.compute_status.active_instances int ALL @@ -2985,6 +2987,7 @@ resources.postgres_synced_tables.*.status.ongoing_sync_progress.total_row_count resources.postgres_synced_tables.*.status.pipeline_id string REMOTE resources.postgres_synced_tables.*.status.project string REMOTE resources.postgres_synced_tables.*.status.provisioning_phase postgres.ProvisioningPhase REMOTE +resources.postgres_synced_tables.*.status.synced_table_id string REMOTE resources.postgres_synced_tables.*.status.unity_catalog_provisioning_state postgres.ProvisioningInfoState REMOTE resources.postgres_synced_tables.*.synced_table_id string ALL resources.postgres_synced_tables.*.timeseries_key string ALL diff --git a/bundle/direct/dresources/apitypes.generated.yml b/bundle/direct/dresources/apitypes.generated.yml index 767ad08049..b65d9ac41d 100644 --- a/bundle/direct/dresources/apitypes.generated.yml +++ b/bundle/direct/dresources/apitypes.generated.yml @@ -50,4 +50,6 @@ synced_database_tables: database.SyncedDatabaseTable vector_search_endpoints: vectorsearch.CreateEndpoint +vector_search_indexes: vectorsearch.CreateVectorIndexRequest + volumes: catalog.CreateVolumeRequestContent diff --git a/bundle/direct/dresources/resources.generated.yml b/bundle/direct/dresources/resources.generated.yml index 03f1950967..e69de29bb2 100644 --- a/bundle/direct/dresources/resources.generated.yml +++ b/bundle/direct/dresources/resources.generated.yml @@ -1,330 +0,0 @@ -# Generated, do not edit. API field behaviors from OpenAPI schema. -# -# For manual edits and schema description, see resources.yml. - -resources: - - alerts: - - ignore_remote_changes: - - field: create_time - reason: spec:output_only - - field: effective_run_as - reason: spec:output_only - - field: evaluation.last_evaluated_at - reason: spec:output_only - - field: evaluation.state - reason: spec:output_only - - field: id - reason: spec:output_only - - field: lifecycle_state - reason: spec:output_only - - field: owner_user_name - reason: spec:output_only - - field: update_time - reason: spec:output_only - - apps: - - ignore_remote_changes: - - field: active_deployment - reason: spec:output_only - - field: app_status - reason: spec:output_only - - field: compute_status - reason: spec:output_only - - field: create_time - reason: spec:output_only - - field: creator - reason: spec:output_only - - field: default_source_code_path - reason: spec:output_only - - field: effective_budget_policy_id - reason: spec:output_only - - field: effective_usage_policy_id - reason: spec:output_only - - field: effective_user_api_scopes - reason: spec:output_only - - field: id - reason: spec:output_only - - field: oauth2_app_client_id - reason: spec:output_only - - field: oauth2_app_integration_id - reason: spec:output_only - - field: pending_deployment - reason: spec:output_only - - field: service_principal_client_id - reason: spec:output_only - - field: service_principal_id - reason: spec:output_only - - field: service_principal_name - reason: spec:output_only - - field: thumbnail_url - reason: spec:output_only - - field: update_time - reason: spec:output_only - - field: updater - reason: spec:output_only - - field: url - reason: spec:output_only - - # catalogs: no api field behaviors - - # clusters: no api field behaviors - - dashboards: - - recreate_on_changes: - - field: parent_path - reason: spec:immutable - - ignore_remote_changes: - - field: create_time - reason: spec:output_only - - field: dashboard_id - reason: spec:output_only - - field: lifecycle_state - reason: spec:output_only - - field: path - reason: spec:output_only - - field: update_time - reason: spec:output_only - - database_catalogs: - - ignore_remote_changes: - - field: create_database_if_not_exists - reason: spec:input_only - - - field: uid - reason: spec:output_only - - database_instances: - - recreate_on_changes: - - field: parent_instance_ref - reason: spec:immutable - - ignore_remote_changes: - - field: custom_tags - reason: spec:input_only - - field: enable_pg_native_login - reason: spec:input_only - - field: enable_readable_secondaries - reason: spec:input_only - - field: node_count - reason: spec:input_only - - field: parent_instance_ref.lsn - reason: spec:input_only - - field: retention_window_in_days - reason: spec:input_only - - field: stopped - reason: spec:input_only - - field: usage_policy_id - reason: spec:input_only - - - field: child_instance_refs - reason: spec:output_only - - field: creation_time - reason: spec:output_only - - field: creator - reason: spec:output_only - - field: effective_capacity - reason: spec:output_only - - field: effective_custom_tags - reason: spec:output_only - - field: effective_enable_pg_native_login - reason: spec:output_only - - field: effective_enable_readable_secondaries - reason: spec:output_only - - field: effective_node_count - reason: spec:output_only - - field: effective_retention_window_in_days - reason: spec:output_only - - field: effective_stopped - reason: spec:output_only - - field: effective_usage_policy_id - reason: spec:output_only - - field: parent_instance_ref.effective_lsn - reason: spec:output_only - - field: parent_instance_ref.uid - reason: spec:output_only - - field: pg_version - reason: spec:output_only - - field: read_only_dns - reason: spec:output_only - - field: read_write_dns - reason: spec:output_only - - field: state - reason: spec:output_only - - field: uid - reason: spec:output_only - - # experiments: no api field behaviors - - external_locations: - - ignore_remote_changes: - - field: effective_enable_file_events - reason: spec:output_only - - field: effective_file_event_queue - reason: spec:output_only - - # jobs: no api field behaviors - - # model_serving_endpoints: no api field behaviors - - # models: no api field behaviors - - pipelines: - - ignore_remote_changes: - - field: ingestion_definition.source_type - reason: spec:output_only - - postgres_branches: - - recreate_on_changes: - - field: source_branch - reason: spec:immutable - - field: source_branch_lsn - reason: spec:immutable - - field: source_branch_time - reason: spec:immutable - - ignore_remote_changes: - - field: expire_time - reason: spec:input_only - - field: is_protected - reason: spec:input_only - - field: no_expiry - reason: spec:input_only - - field: source_branch - reason: spec:input_only - - field: source_branch_lsn - reason: spec:input_only - - field: source_branch_time - reason: spec:input_only - - field: ttl - reason: spec:input_only - - postgres_catalogs: - - recreate_on_changes: - - field: postgres_database - reason: spec:immutable - - ignore_remote_changes: - - field: branch - reason: spec:input_only - - field: create_database_if_missing - reason: spec:input_only - - field: postgres_database - reason: spec:input_only - - postgres_endpoints: - - recreate_on_changes: - - field: endpoint_type - reason: spec:immutable - - ignore_remote_changes: - - field: autoscaling_limit_max_cu - reason: spec:input_only - - field: autoscaling_limit_min_cu - reason: spec:input_only - - field: disabled - reason: spec:input_only - - field: endpoint_type - reason: spec:input_only - - field: group - reason: spec:input_only - - field: no_suspension - reason: spec:input_only - - field: settings - reason: spec:input_only - - field: suspend_timeout_duration - reason: spec:input_only - - postgres_projects: - - recreate_on_changes: - - field: pg_version - reason: spec:immutable - - ignore_remote_changes: - - field: budget_policy_id - reason: spec:input_only - - field: custom_tags - reason: spec:input_only - - field: default_branch - reason: spec:input_only - - field: default_endpoint_settings - reason: spec:input_only - - field: display_name - reason: spec:input_only - - field: enable_pg_native_login - reason: spec:input_only - - field: history_retention_duration - reason: spec:input_only - - field: pg_version - reason: spec:input_only - - postgres_synced_tables: - - ignore_remote_changes: - - field: branch - reason: spec:input_only - - field: create_database_objects_if_missing - reason: spec:input_only - - field: existing_pipeline_id - reason: spec:input_only - - field: new_pipeline_spec - reason: spec:input_only - - field: postgres_database - reason: spec:input_only - - field: primary_key_columns - reason: spec:input_only - - field: scheduling_policy - reason: spec:input_only - - field: source_table_full_name - reason: spec:input_only - - field: timeseries_key - reason: spec:input_only - - # quality_monitors: no api field behaviors - - # registered_models: no api field behaviors - - # schemas: no api field behaviors - - # secret_scopes: no api field behaviors - - # sql_warehouses: no api field behaviors - - synced_database_tables: - - ignore_remote_changes: - - field: database_instance_name - reason: spec:input_only - - field: logical_database_name - reason: spec:input_only - - field: spec.create_database_objects_if_missing - reason: spec:input_only - - field: spec.existing_pipeline_id - reason: spec:input_only - - field: spec.new_pipeline_spec - reason: spec:input_only - - - field: data_synchronization_status - reason: spec:output_only - - field: effective_database_instance_name - reason: spec:output_only - - field: effective_logical_database_name - reason: spec:output_only - - field: unity_catalog_provisioning_state - reason: spec:output_only - - # vector_search_endpoints: no api field behaviors - - # volumes: no api field behaviors diff --git a/bundle/docsgen/output/reference.md b/bundle/docsgen/output/reference.md index c88824d79a..8691e767c7 100644 --- a/bundle/docsgen/output/reference.md +++ b/bundle/docsgen/output/reference.md @@ -1,7 +1,7 @@ --- description: 'Configuration reference for databricks.yml' last_update: - date: 2026-05-21 + date: 2026-05-28 --- @@ -539,6 +539,10 @@ resources: - Map - See [\_](#resourcesvector_search_endpoints). +- - `vector_search_indexes` + - Map + - See [\_](#resourcesvector_search_indexes). + - - `volumes` - Map - The volume definitions for the bundle, where each key is the name of the volume. See [\_](/dev-tools/bundles/resources.md#volumes). @@ -729,6 +733,14 @@ apps: - String - +- - `compute_max_instances` + - Integer + - + +- - `compute_min_instances` + - Integer + - + - - `compute_size` - String - @@ -2213,6 +2225,85 @@ vector_search_endpoints: ::: +### resources.vector_search_indexes + +**`Type: Map`** + + + +```yaml +vector_search_indexes: + : + : +``` + + +:::list-table + +- - Key + - Type + - Description + +- - `delta_sync_index_spec` + - Map + - See [\_](#resourcesvector_search_indexesnamedelta_sync_index_spec). + +- - `direct_access_index_spec` + - Map + - See [\_](#resourcesvector_search_indexesnamedirect_access_index_spec). + +- - `endpoint_name` + - String + - + +- - `grants` + - Sequence + - See [\_](#resourcesvector_search_indexesnamegrants). + +- - `index_subtype` + - String + - + +- - `index_type` + - String + - + +- - `lifecycle` + - Map + - See [\_](#resourcesvector_search_indexesnamelifecycle). + +- - `name` + - String + - + +- - `primary_key` + - String + - + +::: + + +### resources.vector_search_indexes._name_.lifecycle + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `prevent_destroy` + - Boolean + - Lifecycle setting to prevent the resource from being destroyed. + +::: + + ## run_as **`Type: Map`** @@ -2783,6 +2874,10 @@ The resource definitions for the target. - Map - See [\_](#targetsnameresourcesvector_search_endpoints). +- - `vector_search_indexes` + - Map + - See [\_](#targetsnameresourcesvector_search_indexes). + - - `volumes` - Map - The volume definitions for the bundle, where each key is the name of the volume. See [\_](/dev-tools/bundles/resources.md#volumes). @@ -2973,6 +3068,14 @@ apps: - String - +- - `compute_max_instances` + - Integer + - + +- - `compute_min_instances` + - Integer + - + - - `compute_size` - String - @@ -4457,6 +4560,85 @@ vector_search_endpoints: ::: +### targets._name_.resources.vector_search_indexes + +**`Type: Map`** + + + +```yaml +vector_search_indexes: + : + : +``` + + +:::list-table + +- - Key + - Type + - Description + +- - `delta_sync_index_spec` + - Map + - See [\_](#targetsnameresourcesvector_search_indexesnamedelta_sync_index_spec). + +- - `direct_access_index_spec` + - Map + - See [\_](#targetsnameresourcesvector_search_indexesnamedirect_access_index_spec). + +- - `endpoint_name` + - String + - + +- - `grants` + - Sequence + - See [\_](#targetsnameresourcesvector_search_indexesnamegrants). + +- - `index_subtype` + - String + - + +- - `index_type` + - String + - + +- - `lifecycle` + - Map + - See [\_](#targetsnameresourcesvector_search_indexesnamelifecycle). + +- - `name` + - String + - + +- - `primary_key` + - String + - + +::: + + +### targets._name_.resources.vector_search_indexes._name_.lifecycle + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `prevent_destroy` + - Boolean + - Lifecycle setting to prevent the resource from being destroyed. + +::: + + ### targets._name_.run_as **`Type: Map`** diff --git a/bundle/docsgen/output/resources.md b/bundle/docsgen/output/resources.md index 1ab8ef813d..58d3b5347f 100644 --- a/bundle/docsgen/output/resources.md +++ b/bundle/docsgen/output/resources.md @@ -1,7 +1,7 @@ --- description: 'Learn about resources supported by Declarative Automation Bundles and how to configure them.' last_update: - date: 2026-05-21 + date: 2026-05-28 --- @@ -532,6 +532,14 @@ apps: - String - +- - `compute_max_instances` + - Integer + - + +- - `compute_min_instances` + - Integer + - + - - `compute_size` - String - @@ -548,10 +556,6 @@ apps: - Map - Git repository configuration for app deployments. When specified, deployments can reference code from this repository by providing only the git reference (branch, tag, or commit). See [\_](#appsnamegit_repository). -- - `git_source` - - Map - - Git source configuration for app deployments. Specifies which git reference (branch, tag, or commit) to use when deploying the app. Used in conjunction with git_repository to deploy code directly from git. The source_code_path within git_source specifies the relative path to the app code within the repository. See [\_](#appsnamegit_source). - - - `lifecycle` - Map - Lifecycle is a struct that contains the lifecycle settings for a resource. It controls the behavior of the resource when it is deployed or destroyed. See [\_](#appsnamelifecycle). @@ -568,10 +572,6 @@ apps: - Sequence - Resources for the app. See [\_](#appsnameresources). -- - `source_code_path` - - String - - - - - `telemetry_export_destinations` - Sequence - See [\_](#appsnametelemetry_export_destinations). @@ -667,41 +667,6 @@ reference code from this repository by providing only the git reference (branch, ::: -### apps._name_.git_source - -**`Type: Map`** - -Git source configuration for app deployments. Specifies which git reference (branch, tag, or commit) -to use when deploying the app. Used in conjunction with git_repository to deploy code directly from git. -The source_code_path within git_source specifies the relative path to the app code within the repository. - - - -:::list-table - -- - Key - - Type - - Description - -- - `branch` - - String - - Git branch to checkout. - -- - `commit` - - String - - Git commit SHA to checkout. - -- - `source_code_path` - - String - - Relative path to the app source code within the Git repository. If not specified, the root of the repository is used. - -- - `tag` - - String - - Git tag to checkout. - -::: - - ### apps._name_.lifecycle **`Type: Map`** @@ -1375,7 +1340,7 @@ clusters: - - `data_security_mode` - String - - Data security mode decides what data governance model to use when accessing data from a cluster. The following modes can only be used when `kind = CLASSIC_PREVIEW`. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. The following modes can be used regardless of `kind`. * `NONE`: No security isolation for multiple users sharing the cluster. Data governance features are not available in this mode. * `SINGLE_USER`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. * `USER_ISOLATION`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other's data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. + - Data security mode decides what data governance model to use when accessing data from a cluster. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other’s data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. * `DATA_SECURITY_MODE_DEDICATED`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. The following modes are legacy aliases for the above modes: * `USER_ISOLATION`: Legacy alias for `DATA_SECURITY_MODE_STANDARD`. * `SINGLE_USER`: Legacy alias for `DATA_SECURITY_MODE_DEDICATED`. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. - - `docker_image` - Map @@ -2123,6 +2088,10 @@ Lifecycle is a struct that contains the lifecycle settings for a resource. It co - Boolean - Lifecycle setting to prevent the resource from being destroyed. +- - `started` + - Boolean + - Lifecycle setting to deploy the resource in started mode. Only supported for apps, clusters, and sql_warehouses in direct deployment mode. + ::: @@ -3395,7 +3364,7 @@ In this minimal environment spec, only pip and java dependencies are supported. - - `base_environment` - String - - The base environment this environment is built on top of. A base environment defines the environment version and a list of dependencies for serverless compute. The value can be a file path to a custom `env.yaml` file (e.g., `/Workspace/path/to/env.yaml`). Support for a Databricks-provided base environment ID (e.g., `workspace-base-environments/databricks_ai_v4`) and workspace base environment ID (e.g., `workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7`) is in Beta. Either `environment_version` or `base_environment` can be provided. For more information, see + - The base environment this environment is built on top of. A base environment defines the environment version and a list of dependencies for serverless compute. The value can be a file path to a custom `env.yaml` file (e.g., `/Workspace/path/to/env.yaml`). Support for a Databricks-provided base environment ID (e.g., `workspace-base-environments/databricks_ai_v4`) and workspace base environment ID (e.g., `workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7`) is in Beta. Either `environment_version` or `base_environment` can be provided. For more information about Databricks-provided base environments, see the [list workspace base environments](:method:Environments/ListWorkspaceBaseEnvironments) API. For more information, see - - `client` - String @@ -3630,7 +3599,7 @@ If new_cluster, a description of a cluster that is created for each task. - - `data_security_mode` - String - - Data security mode decides what data governance model to use when accessing data from a cluster. The following modes can only be used when `kind = CLASSIC_PREVIEW`. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. The following modes can be used regardless of `kind`. * `NONE`: No security isolation for multiple users sharing the cluster. Data governance features are not available in this mode. * `SINGLE_USER`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. * `USER_ISOLATION`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other's data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. + - Data security mode decides what data governance model to use when accessing data from a cluster. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other’s data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. * `DATA_SECURITY_MODE_DEDICATED`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. The following modes are legacy aliases for the above modes: * `USER_ISOLATION`: Legacy alias for `DATA_SECURITY_MODE_STANDARD`. * `SINGLE_USER`: Legacy alias for `DATA_SECURITY_MODE_DEDICATED`. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. - - `docker_image` - Map @@ -4624,6 +4593,10 @@ Read endpoints return only 100 tasks. If more than 100 tasks are available, you - Boolean - An option to disable auto optimization in serverless +- - `disabled` + - Boolean + - An optional flag to disable the task. If set to true, the task will not run even if it is part of a job. + - - `email_notifications` - Map - An optional set of email addresses that is notified when runs of this task begin or complete as well as when this task is deleted. The default behavior is to not send any emails. See [\_](#jobsnametasksemail_notifications). @@ -4680,10 +4653,6 @@ Read endpoints return only 100 tasks. If more than 100 tasks are available, you - Map - The task triggers a Power BI semantic model update when the `power_bi_task` field is present. See [\_](#jobsnametaskspower_bi_task). -- - `python_operator_task` - - Map - - See [\_](#jobsnametaskspython_operator_task). - - - `python_wheel_task` - Map - The task runs a Python wheel when the `python_wheel_task` field is present. See [\_](#jobsnametaskspython_wheel_task). @@ -5325,7 +5294,7 @@ If new_cluster, a description of a new cluster that is created for each run. - - `data_security_mode` - String - - Data security mode decides what data governance model to use when accessing data from a cluster. The following modes can only be used when `kind = CLASSIC_PREVIEW`. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`. The following modes can be used regardless of `kind`. * `NONE`: No security isolation for multiple users sharing the cluster. Data governance features are not available in this mode. * `SINGLE_USER`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. * `USER_ISOLATION`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other's data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. + - Data security mode decides what data governance model to use when accessing data from a cluster. * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration. * `DATA_SECURITY_MODE_STANDARD`: A secure cluster that can be shared by multiple users. Cluster users are fully isolated so that they cannot see each other’s data and credentials. Most data governance features are supported in this mode. But programming languages and cluster features might be limited. * `DATA_SECURITY_MODE_DEDICATED`: A secure cluster that can only be exclusively used by a single user specified in `single_user_name`. Most programming languages, cluster features and data governance features are available in this mode. The following modes are legacy aliases for the above modes: * `USER_ISOLATION`: Legacy alias for `DATA_SECURITY_MODE_STANDARD`. * `SINGLE_USER`: Legacy alias for `DATA_SECURITY_MODE_DEDICATED`. The following modes are deprecated starting with Databricks Runtime 15.0 and will be removed for future Databricks Runtime versions: * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating from legacy Passthrough on high concurrency clusters. * `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This mode provides a way that doesn’t have UC nor passthrough enabled. - - `docker_image` - Map @@ -6168,7 +6137,7 @@ The task triggers a pipeline update when the `pipeline_task` field is present. O - - `full_refresh_selection` - Sequence - - + - A list of tables to update with fullRefresh. - - `pipeline_id` - String @@ -6176,15 +6145,15 @@ The task triggers a pipeline update when the `pipeline_task` field is present. O - - `refresh_flow_selection` - Sequence - - + - Flow names to selectively refresh. These are unioned with other selective refresh options (refresh_selection, full_refresh_selection) to determine the final set of flows to refresh. - - `refresh_selection` - Sequence - - + - A list of tables to update without fullRefresh. - - `reset_checkpoint_selection` - Sequence - - + - A list of streaming flows to reset checkpoints without clearing data. ::: @@ -6378,19 +6347,19 @@ Controls whether the pipeline should perform a full refresh - - `full_refresh_selection` - Sequence - - + - A list of tables to update with fullRefresh. - - `refresh_flow_selection` - Sequence - - + - Flow names to selectively refresh. These are unioned with other selective refresh options (refresh_selection, full_refresh_selection) to determine the final set of flows to refresh. - - `refresh_selection` - Sequence - - + - A list of tables to update without fullRefresh. - - `reset_checkpoint_selection` - Sequence - - + - A list of streaming flows to reset checkpoints without clearing data. ::: @@ -9522,10 +9491,6 @@ Select all tables from a specific source schema. - Map - Jira specific options for ingestion. See [\_](#pipelinesnameingestion_definitionobjectsschemaconnector_optionsjira_options). -- - `kafka_options` - - Map - - See [\_](#pipelinesnameingestion_definitionobjectsschemaconnector_optionskafka_options). - - - `meta_ads_options` - Map - Meta Marketing (Meta Ads) specific options for ingestion. See [\_](#pipelinesnameingestion_definitionobjectsschemaconnector_optionsmeta_ads_options). @@ -9808,10 +9773,6 @@ Select a specific source table. - Map - Jira specific options for ingestion. See [\_](#pipelinesnameingestion_definitionobjectstableconnector_optionsjira_options). -- - `kafka_options` - - Map - - See [\_](#pipelinesnameingestion_definitionobjectstableconnector_optionskafka_options). - - - `meta_ads_options` - Map - Meta Marketing (Meta Ads) specific options for ingestion. See [\_](#pipelinesnameingestion_definitionobjectstableconnector_optionsmeta_ads_options). @@ -10954,7 +10915,7 @@ postgres_synced_tables: - - `scheduling_policy` - String - - + - Scheduling policy of the synced table's underlying pipeline. - - `source_table_full_name` - String @@ -10992,6 +10953,35 @@ postgres_synced_tables: ::: +### postgres_synced_tables._name_.new_pipeline_spec + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `budget_policy_id` + - String + - Budget policy to set on the newly created pipeline. + +- - `storage_catalog` + - String + - UC catalog for the pipeline to store intermediate files (checkpoints, event logs etc). This needs to be a standard catalog where the user has permissions to create Delta tables. + +- - `storage_schema` + - String + - UC schema for the pipeline to store intermediate files (checkpoints, event logs etc). This needs to be in the standard catalog where the user has permissions to create Delta tables. + +::: + + ## quality_monitors **`Type: Map`** @@ -12223,6 +12213,299 @@ vector_search_endpoints: ::: +## vector_search_indexes + +**`Type: Map`** + + + +```yaml +vector_search_indexes: + : + : +``` + + +:::list-table + +- - Key + - Type + - Description + +- - `delta_sync_index_spec` + - Map + - See [\_](#vector_search_indexesnamedelta_sync_index_spec). + +- - `direct_access_index_spec` + - Map + - See [\_](#vector_search_indexesnamedirect_access_index_spec). + +- - `endpoint_name` + - String + - + +- - `grants` + - Sequence + - See [\_](#vector_search_indexesnamegrants). + +- - `index_subtype` + - String + - + +- - `index_type` + - String + - + +- - `lifecycle` + - Map + - See [\_](#vector_search_indexesnamelifecycle). + +- - `name` + - String + - + +- - `primary_key` + - String + - + +::: + + +### vector_search_indexes._name_.delta_sync_index_spec + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `columns_to_index` + - Sequence + - + +- - `columns_to_sync` + - Sequence + - + +- - `embedding_source_columns` + - Sequence + - See [\_](#vector_search_indexesnamedelta_sync_index_specembedding_source_columns). + +- - `embedding_vector_columns` + - Sequence + - See [\_](#vector_search_indexesnamedelta_sync_index_specembedding_vector_columns). + +- - `embedding_writeback_table` + - String + - + +- - `pipeline_type` + - String + - + +- - `source_table` + - String + - + +::: + + +### vector_search_indexes._name_.delta_sync_index_spec.embedding_source_columns + +**`Type: Sequence`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `embedding_model_endpoint_name` + - String + - + +- - `model_endpoint_name_for_query` + - String + - + +- - `name` + - String + - + +::: + + +### vector_search_indexes._name_.delta_sync_index_spec.embedding_vector_columns + +**`Type: Sequence`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `embedding_dimension` + - Integer + - + +- - `name` + - String + - + +::: + + +### vector_search_indexes._name_.direct_access_index_spec + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `embedding_source_columns` + - Sequence + - See [\_](#vector_search_indexesnamedirect_access_index_specembedding_source_columns). + +- - `embedding_vector_columns` + - Sequence + - See [\_](#vector_search_indexesnamedirect_access_index_specembedding_vector_columns). + +- - `schema_json` + - String + - + +::: + + +### vector_search_indexes._name_.direct_access_index_spec.embedding_source_columns + +**`Type: Sequence`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `embedding_model_endpoint_name` + - String + - + +- - `model_endpoint_name_for_query` + - String + - + +- - `name` + - String + - + +::: + + +### vector_search_indexes._name_.direct_access_index_spec.embedding_vector_columns + +**`Type: Sequence`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `embedding_dimension` + - Integer + - + +- - `name` + - String + - + +::: + + +### vector_search_indexes._name_.grants + +**`Type: Sequence`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `principal` + - String + - The principal (user email address or group name). For deleted principals, `principal` is empty while `principal_id` is populated. + +- - `privileges` + - Sequence + - The privileges assigned to the principal. + +::: + + +### vector_search_indexes._name_.grants.privileges + +**`Type: Sequence`** + +The privileges assigned to the principal. + + +### vector_search_indexes._name_.lifecycle + +**`Type: Map`** + + + + + +:::list-table + +- - Key + - Type + - Description + +- - `prevent_destroy` + - Boolean + - Lifecycle setting to prevent the resource from being destroyed. + +::: + + ## volumes **`Type: Map`** diff --git a/bundle/internal/schema/annotations.yml b/bundle/internal/schema/annotations.yml index 14b9c82aaf..0fa308bc9f 100644 --- a/bundle/internal/schema/annotations.yml +++ b/bundle/internal/schema/annotations.yml @@ -538,6 +538,12 @@ github.com/databricks/cli/bundle/config/resources.Alert: "description": |- PLACEHOLDER github.com/databricks/cli/bundle/config/resources.App: + "compute_max_instances": + "description": |- + PLACEHOLDER + "compute_min_instances": + "description": |- + PLACEHOLDER "git_source": "description": |- Git source configuration for app deployments. Specifies which git reference (branch, tag, or commit) diff --git a/bundle/schema/jsonschema.json b/bundle/schema/jsonschema.json index 1308121047..67cee76f9d 100644 --- a/bundle/schema/jsonschema.json +++ b/bundle/schema/jsonschema.json @@ -144,6 +144,12 @@ "budget_policy_id": { "$ref": "#/$defs/string" }, + "compute_max_instances": { + "$ref": "#/$defs/int" + }, + "compute_min_instances": { + "$ref": "#/$defs/int" + }, "compute_size": { "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/apps.ComputeSize" }, diff --git a/bundle/schema/jsonschema_for_docs.json b/bundle/schema/jsonschema_for_docs.json index 76c05de789..95d64d1ee9 100644 --- a/bundle/schema/jsonschema_for_docs.json +++ b/bundle/schema/jsonschema_for_docs.json @@ -92,6 +92,12 @@ "$ref": "#/$defs/string", "x-since-version": "v0.243.0" }, + "compute_max_instances": { + "$ref": "#/$defs/int" + }, + "compute_min_instances": { + "$ref": "#/$defs/int" + }, "compute_size": { "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/apps.ComputeSize", "x-since-version": "v0.273.0" @@ -384,7 +390,7 @@ }, "lifecycle": { "description": "Lifecycle is a struct that contains the lifecycle settings for a resource. It controls the behavior of the resource when it is deployed or destroyed.", - "$ref": "#/$defs/github.com/databricks/cli/bundle/config/resources.Lifecycle", + "$ref": "#/$defs/github.com/databricks/cli/bundle/config/resources.LifecycleWithStarted", "x-since-version": "v0.268.0" }, "node_type_id": { @@ -2057,28 +2063,40 @@ "type": "object", "properties": { "delta_sync_index_spec": { - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.DeltaSyncVectorIndexSpecRequest" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.DeltaSyncVectorIndexSpecRequest", + "x-since-version": "v1.1.0" }, "direct_access_index_spec": { - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.DirectAccessVectorIndexSpec" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.DirectAccessVectorIndexSpec", + "x-since-version": "v1.1.0" }, "endpoint_name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "grants": { - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/catalog.PrivilegeAssignment" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/catalog.PrivilegeAssignment", + "x-since-version": "v1.1.0" + }, + "index_subtype": { + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.IndexSubtype", + "x-since-version": "v1.1.0" }, "index_type": { - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.VectorIndexType" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.VectorIndexType", + "x-since-version": "v1.1.0" }, "lifecycle": { - "$ref": "#/$defs/github.com/databricks/cli/bundle/config/resources.Lifecycle" + "$ref": "#/$defs/github.com/databricks/cli/bundle/config/resources.Lifecycle", + "x-since-version": "v1.1.0" }, "name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "primary_key": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false, @@ -2675,7 +2693,8 @@ "x-since-version": "v0.298.0" }, "vector_search_indexes": { - "$ref": "#/$defs/map/github.com/databricks/cli/bundle/config/resources.VectorSearchIndex" + "$ref": "#/$defs/map/github.com/databricks/cli/bundle/config/resources.VectorSearchIndex", + "x-since-version": "v1.1.0" }, "volumes": { "description": "The volume definitions for the bundle, where each key is the name of the volume.", @@ -5912,19 +5931,23 @@ }, "full_refresh_selection": { "description": "A list of tables to update with fullRefresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "refresh_flow_selection": { "description": "Flow names to selectively refresh. These are unioned with other selective refresh\noptions (refresh_selection, full_refresh_selection) to determine the final set of flows to refresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "refresh_selection": { "description": "A list of tables to update without fullRefresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "reset_checkpoint_selection": { "description": "A list of streaming flows to reset checkpoints without clearing data.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -5939,7 +5962,8 @@ }, "full_refresh_selection": { "description": "A list of tables to update with fullRefresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "pipeline_id": { "description": "The full name of the pipeline task to execute.", @@ -5948,15 +5972,18 @@ }, "refresh_flow_selection": { "description": "Flow names to selectively refresh. These are unioned with other selective refresh\noptions (refresh_selection, full_refresh_selection) to determine the final set of flows to refresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "refresh_selection": { "description": "A list of tables to update without fullRefresh.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "reset_checkpoint_selection": { "description": "A list of streaming flows to reset checkpoints without clearing data.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false, @@ -6057,11 +6084,13 @@ "properties": { "main": { "description": "Fully qualified name of the main class or function.\nFor example, `my_project.my_function` or `my_project.MyOperator`.", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "parameters": { "description": "An ordered list of task parameters.\nTODO(JOBS-30885): Add limits for parameters.", - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/jobs.PythonOperatorTaskParameter" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/jobs.PythonOperatorTaskParameter", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -6070,10 +6099,12 @@ "type": "object", "properties": { "name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "value": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -6663,7 +6694,8 @@ "description": "The task runs a Python operator task.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/jobs.PythonOperatorTask", "x-databricks-preview": "PRIVATE", - "doNotSuggest": true + "doNotSuggest": true, + "x-since-version": "v1.1.0" }, "python_wheel_task": { "description": "The task runs a Python wheel when the `python_wheel_task` field is present.", @@ -7018,7 +7050,8 @@ "kafka_options": { "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.KafkaOptions", "x-databricks-preview": "PRIVATE", - "doNotSuggest": true + "doNotSuggest": true, + "x-since-version": "v1.1.0" }, "meta_ads_options": { "description": "Meta Marketing (Meta Ads) specific options for ingestion", @@ -7659,23 +7692,28 @@ "properties": { "as_variant": { "description": "Parse the entire value as a single Variant column.", - "$ref": "#/$defs/bool" + "$ref": "#/$defs/bool", + "x-since-version": "v1.1.0" }, "schema": { "description": "Inline schema string for JSON parsing (Spark DDL format).", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "schema_evolution_mode": { "description": "(Optional) Schema evolution mode for schema inference.", - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.FileIngestionOptionsSchemaEvolutionMode" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.FileIngestionOptionsSchemaEvolutionMode", + "x-since-version": "v1.1.0" }, "schema_file_path": { "description": "Path to a schema file (.ddl).", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "schema_hints": { "description": "(Optional) Schema hints as a comma-separated string of \"column_name type\" pairs.", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -7687,33 +7725,40 @@ "description": "Undocumented backdoor mechanism for overriding parameters\nto pass to the Kafka client.\nThis is not supported and may break at any time.", "$ref": "#/$defs/map/string", "x-databricks-preview": "PRIVATE", - "doNotSuggest": true + "doNotSuggest": true, + "x-since-version": "v1.1.0" }, "key_transformer": { "description": "(Optional) Transformer for the message key.\nIf not specified, the key is left as raw bytes.", - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer", + "x-since-version": "v1.1.0" }, "max_offsets_per_trigger": { "description": "Internal option to control the maximum number of offsets to process per trigger.", "$ref": "#/$defs/int64", "x-databricks-preview": "PRIVATE", - "doNotSuggest": true + "doNotSuggest": true, + "x-since-version": "v1.1.0" }, "starting_offset": { "description": "(Optional) Where to begin reading when no checkpoint exists.\nValid values: \"latest\" and \"earliest\". Defaults to \"latest\".", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "topic_pattern": { "description": "Java regex pattern to subscribe to matching topics.\nOnly one of topics or topic_pattern must be specified.", - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "topics": { "description": "Topics to subscribe to.\nOnly one of topics or topic_pattern must be specified.", - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "value_transformer": { "description": "(Optional) Transformer for the message value.\nIf not specified, the value is left as raw bytes.", - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -8565,10 +8610,12 @@ "properties": { "format": { "description": "Required: the wire format of the data.", - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.TransformerFormat" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.TransformerFormat", + "x-since-version": "v1.1.0" }, "json_options": { - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.JsonTransformerOptions" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.JsonTransformerOptions", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -9949,23 +9996,33 @@ "vectorsearch.DeltaSyncVectorIndexSpecRequest": { "type": "object", "properties": { + "columns_to_index": { + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" + }, "columns_to_sync": { - "$ref": "#/$defs/slice/string" + "$ref": "#/$defs/slice/string", + "x-since-version": "v1.1.0" }, "embedding_source_columns": { - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingSourceColumn" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingSourceColumn", + "x-since-version": "v1.1.0" }, "embedding_vector_columns": { - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingVectorColumn" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingVectorColumn", + "x-since-version": "v1.1.0" }, "embedding_writeback_table": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "pipeline_type": { - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.PipelineType" + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/vectorsearch.PipelineType", + "x-since-version": "v1.1.0" }, "source_table": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -9974,13 +10031,16 @@ "type": "object", "properties": { "embedding_source_columns": { - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingSourceColumn" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingSourceColumn", + "x-since-version": "v1.1.0" }, "embedding_vector_columns": { - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingVectorColumn" + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/vectorsearch.EmbeddingVectorColumn", + "x-since-version": "v1.1.0" }, "schema_json": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -9989,13 +10049,16 @@ "type": "object", "properties": { "embedding_model_endpoint_name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "model_endpoint_name_for_query": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" }, "name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -10004,10 +10067,12 @@ "type": "object", "properties": { "embedding_dimension": { - "$ref": "#/$defs/int" + "$ref": "#/$defs/int", + "x-since-version": "v1.1.0" }, "name": { - "$ref": "#/$defs/string" + "$ref": "#/$defs/string", + "x-since-version": "v1.1.0" } }, "additionalProperties": false @@ -10021,6 +10086,9 @@ "STANDARD_ON_ORION" ] }, + "vectorsearch.IndexSubtype": { + "type": "string" + }, "vectorsearch.PipelineType": { "type": "string" }, diff --git a/python/codegen/uv.lock b/python/codegen/uv.lock index 681ead3c4f..e53ef5b7a2 100644 --- a/python/codegen/uv.lock +++ b/python/codegen/uv.lock @@ -20,7 +20,7 @@ dev = [{ name = "pytest" }] [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, @@ -29,7 +29,7 @@ wheels = [ [[package]] name = "iniconfig" version = "2.1.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793, upload-time = "2025-03-19T20:09:59.721Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" }, @@ -38,7 +38,7 @@ wheels = [ [[package]] name = "packaging" version = "24.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, @@ -47,7 +47,7 @@ wheels = [ [[package]] name = "pluggy" version = "1.5.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955, upload-time = "2024-04-20T21:34:42.531Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556, upload-time = "2024-04-20T21:34:40.434Z" }, @@ -56,7 +56,7 @@ wheels = [ [[package]] name = "pygments" version = "2.20.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, @@ -65,7 +65,7 @@ wheels = [ [[package]] name = "pytest" version = "9.0.3" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, { name = "iniconfig" }, diff --git a/python/uv.lock b/python/uv.lock index f2de8dda37..2de9e586d6 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -5,7 +5,7 @@ requires-python = ">=3.10" [[package]] name = "alabaster" version = "1.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/a6/f8/d9c74d0daf3f742840fd818d69cfae176fa332022fd44e3469487d5a9420/alabaster-1.0.0.tar.gz", hash = "sha256:c00dca57bca26fa62a6d7d0a9fcce65f3e026e9bfe33e9c538fd3fbb2144fd9e", size = 24210, upload-time = "2024-07-26T18:15:03.762Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/7e/b3/6b4067be973ae96ba0d615946e314c5ae35f9f993eca561b356540bb0c2b/alabaster-1.0.0-py3-none-any.whl", hash = "sha256:fc6786402dc3fcb2de3cabd5fe455a2db534b371124f1f21de8731783dec828b", size = 13929, upload-time = "2024-07-26T18:15:02.05Z" }, @@ -14,7 +14,7 @@ wheels = [ [[package]] name = "babel" version = "2.17.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/7d/6b/d52e42361e1aa00709585ecc30b3f9684b3ab62530771402248b1b1d6240/babel-2.17.0.tar.gz", hash = "sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d", size = 9951852, upload-time = "2025-02-01T15:17:41.026Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/b7/b8/3fe70c75fe32afc4bb507f75563d39bc5642255d1d94f1f23604725780bf/babel-2.17.0-py3-none-any.whl", hash = "sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2", size = 10182537, upload-time = "2025-02-01T15:17:37.39Z" }, @@ -23,7 +23,7 @@ wheels = [ [[package]] name = "certifi" version = "2025.1.31" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/1c/ab/c9f1e32b7b1bf505bf26f0ef697775960db7932abeb7b516de930ba2705f/certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651", size = 167577, upload-time = "2025-01-31T02:16:47.166Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/38/fc/bce832fd4fd99766c04d1ee0eead6b0ec6486fb100ae5e74c1d91292b982/certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe", size = 166393, upload-time = "2025-01-31T02:16:45.015Z" }, @@ -32,7 +32,7 @@ wheels = [ [[package]] name = "charset-normalizer" version = "3.4.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a2115599cc9dad142fee4b747c357/charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3", size = 123188, upload-time = "2024-12-24T18:12:35.43Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0d/58/5580c1716040bc89206c77d8f74418caf82ce519aae06450393ca73475d1/charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de", size = 198013, upload-time = "2024-12-24T18:09:43.671Z" }, @@ -93,7 +93,7 @@ wheels = [ [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, @@ -102,7 +102,7 @@ wheels = [ [[package]] name = "coverage" version = "7.6.12" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/0c/d6/2b53ab3ee99f2262e6f0b8369a43f6d66658eab45510331c0b3d5c8c4272/coverage-7.6.12.tar.gz", hash = "sha256:48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2", size = 805941, upload-time = "2025-02-11T14:47:03.797Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ba/67/81dc41ec8f548c365d04a29f1afd492d3176b372c33e47fa2a45a01dc13a/coverage-7.6.12-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:704c8c8c6ce6569286ae9622e534b4f5b9759b6f2cd643f1c1a61f666d534fe8", size = 208345, upload-time = "2025-02-11T14:44:51.83Z" }, @@ -194,7 +194,7 @@ dev = [ [[package]] name = "docutils" version = "0.21.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/ae/ed/aefcc8cd0ba62a0560c3c18c33925362d46c6075480bfa4df87b28e169a9/docutils-0.21.2.tar.gz", hash = "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f", size = 2204444, upload-time = "2024-04-23T18:57:18.24Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl", hash = "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2", size = 587408, upload-time = "2024-04-23T18:57:14.835Z" }, @@ -203,7 +203,7 @@ wheels = [ [[package]] name = "exceptiongroup" version = "1.2.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883, upload-time = "2024-07-12T22:26:00.161Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453, upload-time = "2024-07-12T22:25:58.476Z" }, @@ -212,7 +212,7 @@ wheels = [ [[package]] name = "idna" version = "3.15" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/82/77/7b3966d0b9d1d31a36ddf1746926a11dface89a83409bf1483f0237aa758/idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc", size = 199245, upload-time = "2026-05-12T22:45:57.011Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d2/23/408243171aa9aaba178d3e2559159c24c1171a641aa83b67bdd3394ead8e/idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8", size = 72340, upload-time = "2026-05-12T22:45:55.733Z" }, @@ -221,7 +221,7 @@ wheels = [ [[package]] name = "imagesize" version = "1.4.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/a7/84/62473fb57d61e31fef6e36d64a179c8781605429fd927b5dd608c997be31/imagesize-1.4.1.tar.gz", hash = "sha256:69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a", size = 1280026, upload-time = "2022-07-01T12:21:05.687Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ff/62/85c4c919272577931d407be5ba5d71c20f0b616d31a0befe0ae45bb79abd/imagesize-1.4.1-py2.py3-none-any.whl", hash = "sha256:0d8d18d08f840c19d0ee7ca1fd82490fdc3729b7ac93f49870406ddde8ef8d8b", size = 8769, upload-time = "2022-07-01T12:21:02.467Z" }, @@ -230,7 +230,7 @@ wheels = [ [[package]] name = "iniconfig" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646, upload-time = "2023-01-07T11:08:11.254Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892, upload-time = "2023-01-07T11:08:09.864Z" }, @@ -239,7 +239,7 @@ wheels = [ [[package]] name = "jinja2" version = "3.1.6" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "markupsafe" }, ] @@ -251,7 +251,7 @@ wheels = [ [[package]] name = "markupsafe" version = "3.0.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", size = 20537, upload-time = "2024-10-18T15:21:54.129Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/04/90/d08277ce111dd22f77149fd1a5d4653eeb3b3eaacbdfcbae5afb2600eebd/MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8", size = 14357, upload-time = "2024-10-18T15:20:51.44Z" }, @@ -309,7 +309,7 @@ wheels = [ [[package]] name = "nodeenv" version = "1.9.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437, upload-time = "2024-06-04T18:44:11.171Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314, upload-time = "2024-06-04T18:44:08.352Z" }, @@ -318,7 +318,7 @@ wheels = [ [[package]] name = "packaging" version = "24.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, @@ -327,7 +327,7 @@ wheels = [ [[package]] name = "pluggy" version = "1.5.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955, upload-time = "2024-04-20T21:34:42.531Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556, upload-time = "2024-04-20T21:34:40.434Z" }, @@ -336,7 +336,7 @@ wheels = [ [[package]] name = "pygments" version = "2.20.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, @@ -345,7 +345,7 @@ wheels = [ [[package]] name = "pyright" version = "1.1.380" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "nodeenv" }, ] @@ -357,7 +357,7 @@ wheels = [ [[package]] name = "pytest" version = "9.0.3" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, @@ -375,7 +375,7 @@ wheels = [ [[package]] name = "pytest-cov" version = "5.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "coverage", extra = ["toml"] }, { name = "pytest" }, @@ -388,7 +388,7 @@ wheels = [ [[package]] name = "requests" version = "2.33.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "certifi" }, { name = "charset-normalizer" }, @@ -403,7 +403,7 @@ wheels = [ [[package]] name = "ruff" version = "0.9.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/67/3e/e89f736f01aa9517a97e2e7e0ce8d34a4d8207087b3cfdec95133fee13b5/ruff-0.9.1.tar.gz", hash = "sha256:fd2b25ecaf907d6458fa842675382c8597b3c746a2dde6717fe3415425df0c17", size = 3498844, upload-time = "2025-01-10T18:57:53.896Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/dc/05/c3a2e0feb3d5d394cdfd552de01df9d3ec8a3a3771bbff247fab7e668653/ruff-0.9.1-py3-none-linux_armv6l.whl", hash = "sha256:84330dda7abcc270e6055551aca93fdde1b0685fc4fd358f26410f9349cf1743", size = 10645241, upload-time = "2025-01-10T18:56:45.897Z" }, @@ -428,7 +428,7 @@ wheels = [ [[package]] name = "snowballstemmer" version = "2.2.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/44/7b/af302bebf22c749c56c9c3e8ae13190b5b5db37a33d9068652e8f73b7089/snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1", size = 86699, upload-time = "2021-11-16T18:38:38.009Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ed/dc/c02e01294f7265e63a7315fe086dd1df7dacb9f840a804da846b96d01b96/snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a", size = 93002, upload-time = "2021-11-16T18:38:34.792Z" }, @@ -437,7 +437,7 @@ wheels = [ [[package]] name = "sphinx" version = "8.0.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } dependencies = [ { name = "alabaster" }, { name = "babel" }, @@ -465,7 +465,7 @@ wheels = [ [[package]] name = "sphinxcontrib-applehelp" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/ba/6e/b837e84a1a704953c62ef8776d45c3e8d759876b4a84fe14eba2859106fe/sphinxcontrib_applehelp-2.0.0.tar.gz", hash = "sha256:2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1", size = 20053, upload-time = "2024-07-29T01:09:00.465Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/5d/85/9ebeae2f76e9e77b952f4b274c27238156eae7979c5421fba91a28f4970d/sphinxcontrib_applehelp-2.0.0-py3-none-any.whl", hash = "sha256:4cd3f0ec4ac5dd9c17ec65e9ab272c9b867ea77425228e68ecf08d6b28ddbdb5", size = 119300, upload-time = "2024-07-29T01:08:58.99Z" }, @@ -474,7 +474,7 @@ wheels = [ [[package]] name = "sphinxcontrib-devhelp" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/f6/d2/5beee64d3e4e747f316bae86b55943f51e82bb86ecd325883ef65741e7da/sphinxcontrib_devhelp-2.0.0.tar.gz", hash = "sha256:411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad", size = 12967, upload-time = "2024-07-29T01:09:23.417Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/35/7a/987e583882f985fe4d7323774889ec58049171828b58c2217e7f79cdf44e/sphinxcontrib_devhelp-2.0.0-py3-none-any.whl", hash = "sha256:aefb8b83854e4b0998877524d1029fd3e6879210422ee3780459e28a1f03a8a2", size = 82530, upload-time = "2024-07-29T01:09:21.945Z" }, @@ -483,7 +483,7 @@ wheels = [ [[package]] name = "sphinxcontrib-htmlhelp" version = "2.1.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/43/93/983afd9aa001e5201eab16b5a444ed5b9b0a7a010541e0ddfbbfd0b2470c/sphinxcontrib_htmlhelp-2.1.0.tar.gz", hash = "sha256:c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9", size = 22617, upload-time = "2024-07-29T01:09:37.889Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0a/7b/18a8c0bcec9182c05a0b3ec2a776bba4ead82750a55ff798e8d406dae604/sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl", hash = "sha256:166759820b47002d22914d64a075ce08f4c46818e17cfc9470a9786b759b19f8", size = 98705, upload-time = "2024-07-29T01:09:36.407Z" }, @@ -492,7 +492,7 @@ wheels = [ [[package]] name = "sphinxcontrib-jsmath" version = "1.0.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c026a07a5097edcf44b692850ef215b161b8ad875729/sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8", size = 5787, upload-time = "2019-01-21T16:10:16.347Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/42/4c8646762ee83602e3fb3fbe774c2fac12f317deb0b5dbeeedd2d3ba4b77/sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl", hash = "sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178", size = 5071, upload-time = "2019-01-21T16:10:14.333Z" }, @@ -501,7 +501,7 @@ wheels = [ [[package]] name = "sphinxcontrib-qthelp" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/68/bc/9104308fc285eb3e0b31b67688235db556cd5b0ef31d96f30e45f2e51cae/sphinxcontrib_qthelp-2.0.0.tar.gz", hash = "sha256:4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab", size = 17165, upload-time = "2024-07-29T01:09:56.435Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/27/83/859ecdd180cacc13b1f7e857abf8582a64552ea7a061057a6c716e790fce/sphinxcontrib_qthelp-2.0.0-py3-none-any.whl", hash = "sha256:b18a828cdba941ccd6ee8445dbe72ffa3ef8cbe7505d8cd1fa0d42d3f2d5f3eb", size = 88743, upload-time = "2024-07-29T01:09:54.885Z" }, @@ -510,7 +510,7 @@ wheels = [ [[package]] name = "sphinxcontrib-serializinghtml" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/3b/44/6716b257b0aa6bfd51a1b31665d1c205fb12cb5ad56de752dfa15657de2f/sphinxcontrib_serializinghtml-2.0.0.tar.gz", hash = "sha256:e9d912827f872c029017a53f0ef2180b327c3f7fd23c87229f7a8e8b70031d4d", size = 16080, upload-time = "2024-07-29T01:10:09.332Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/52/a7/d2782e4e3f77c8450f727ba74a8f12756d5ba823d81b941f1b04da9d033a/sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl", hash = "sha256:6e2cb0eef194e10c27ec0023bfeb25badbbb5868244cf5bc5bdc04e4464bf331", size = 92072, upload-time = "2024-07-29T01:10:08.203Z" }, @@ -519,7 +519,7 @@ wheels = [ [[package]] name = "tomli" version = "2.2.1" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175, upload-time = "2024-11-27T22:38:36.873Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077, upload-time = "2024-11-27T22:37:54.956Z" }, @@ -558,7 +558,7 @@ wheels = [ [[package]] name = "typing-extensions" version = "4.12.2" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321, upload-time = "2024-06-07T18:52:15.995Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438, upload-time = "2024-06-07T18:52:13.582Z" }, @@ -567,7 +567,7 @@ wheels = [ [[package]] name = "urllib3" version = "2.7.0" -source = { registry = "https://pypi.org/simple" } +source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, From faa03d5b46ed49133d73e2a9d8f9c36d9337b138 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:17:04 +0200 Subject: [PATCH 07/14] Ignore error code on generate-refschema --- Taskfile.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index e5c7409cbf..cc16ba2415 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -794,7 +794,8 @@ tasks: generates: - acceptance/bundle/refschema/out.fields.txt cmds: - - go test ./acceptance -run TestAccept/bundle/refschema -update &> /dev/null + - cmd: go test ./acceptance -run TestAccept/bundle/refschema -update &> /dev/null + ignore_error: true # -update returns non-zero exit code on changes generate-schema: desc: Generate bundle JSON schema From 643461a9904c02f59642bc38518bc8accb60769c Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:20:09 +0200 Subject: [PATCH 08/14] Fix broken auto-generated file --- .../direct/dresources/resources.generated.yml | 337 ++++++++++++++++++ 1 file changed, 337 insertions(+) diff --git a/bundle/direct/dresources/resources.generated.yml b/bundle/direct/dresources/resources.generated.yml index e69de29bb2..b73eb8931b 100644 --- a/bundle/direct/dresources/resources.generated.yml +++ b/bundle/direct/dresources/resources.generated.yml @@ -0,0 +1,337 @@ +# Generated, do not edit. API field behaviors from OpenAPI schema. +# +# For manual edits and schema description, see resources.yml. + +resources: + + alerts: + + ignore_remote_changes: + - field: create_time + reason: spec:output_only + - field: effective_run_as + reason: spec:output_only + - field: evaluation.last_evaluated_at + reason: spec:output_only + - field: evaluation.state + reason: spec:output_only + - field: id + reason: spec:output_only + - field: lifecycle_state + reason: spec:output_only + - field: owner_user_name + reason: spec:output_only + - field: update_time + reason: spec:output_only + + apps: + + ignore_remote_changes: + - field: git_source + reason: spec:input_only + - field: source_code_path + reason: spec:input_only + + - field: active_deployment + reason: spec:output_only + - field: app_status + reason: spec:output_only + - field: compute_status + reason: spec:output_only + - field: create_time + reason: spec:output_only + - field: creator + reason: spec:output_only + - field: default_source_code_path + reason: spec:output_only + - field: effective_budget_policy_id + reason: spec:output_only + - field: effective_usage_policy_id + reason: spec:output_only + - field: effective_user_api_scopes + reason: spec:output_only + - field: id + reason: spec:output_only + - field: oauth2_app_client_id + reason: spec:output_only + - field: oauth2_app_integration_id + reason: spec:output_only + - field: pending_deployment + reason: spec:output_only + - field: service_principal_client_id + reason: spec:output_only + - field: service_principal_id + reason: spec:output_only + - field: service_principal_name + reason: spec:output_only + - field: thumbnail_url + reason: spec:output_only + - field: update_time + reason: spec:output_only + - field: updater + reason: spec:output_only + - field: url + reason: spec:output_only + + # catalogs: no api field behaviors + + # clusters: no api field behaviors + + dashboards: + + recreate_on_changes: + - field: parent_path + reason: spec:immutable + + ignore_remote_changes: + - field: create_time + reason: spec:output_only + - field: dashboard_id + reason: spec:output_only + - field: lifecycle_state + reason: spec:output_only + - field: path + reason: spec:output_only + - field: update_time + reason: spec:output_only + + database_catalogs: + + ignore_remote_changes: + - field: create_database_if_not_exists + reason: spec:input_only + + - field: uid + reason: spec:output_only + + database_instances: + + recreate_on_changes: + - field: parent_instance_ref + reason: spec:immutable + + ignore_remote_changes: + - field: custom_tags + reason: spec:input_only + - field: enable_pg_native_login + reason: spec:input_only + - field: enable_readable_secondaries + reason: spec:input_only + - field: node_count + reason: spec:input_only + - field: parent_instance_ref.lsn + reason: spec:input_only + - field: retention_window_in_days + reason: spec:input_only + - field: stopped + reason: spec:input_only + - field: usage_policy_id + reason: spec:input_only + + - field: child_instance_refs + reason: spec:output_only + - field: creation_time + reason: spec:output_only + - field: creator + reason: spec:output_only + - field: effective_capacity + reason: spec:output_only + - field: effective_custom_tags + reason: spec:output_only + - field: effective_enable_pg_native_login + reason: spec:output_only + - field: effective_enable_readable_secondaries + reason: spec:output_only + - field: effective_node_count + reason: spec:output_only + - field: effective_retention_window_in_days + reason: spec:output_only + - field: effective_stopped + reason: spec:output_only + - field: effective_usage_policy_id + reason: spec:output_only + - field: parent_instance_ref.effective_lsn + reason: spec:output_only + - field: parent_instance_ref.uid + reason: spec:output_only + - field: pg_version + reason: spec:output_only + - field: read_only_dns + reason: spec:output_only + - field: read_write_dns + reason: spec:output_only + - field: state + reason: spec:output_only + - field: uid + reason: spec:output_only + + # experiments: no api field behaviors + + external_locations: + + ignore_remote_changes: + - field: effective_enable_file_events + reason: spec:output_only + - field: effective_file_event_queue + reason: spec:output_only + + # jobs: no api field behaviors + + # model_serving_endpoints: no api field behaviors + + # models: no api field behaviors + + pipelines: + + ignore_remote_changes: + - field: ingestion_definition.source_type + reason: spec:output_only + + postgres_branches: + + recreate_on_changes: + - field: source_branch + reason: spec:immutable + - field: source_branch_lsn + reason: spec:immutable + - field: source_branch_time + reason: spec:immutable + + ignore_remote_changes: + - field: expire_time + reason: spec:input_only + - field: is_protected + reason: spec:input_only + - field: no_expiry + reason: spec:input_only + - field: source_branch + reason: spec:input_only + - field: source_branch_lsn + reason: spec:input_only + - field: source_branch_time + reason: spec:input_only + - field: ttl + reason: spec:input_only + + postgres_catalogs: + + recreate_on_changes: + - field: postgres_database + reason: spec:immutable + + ignore_remote_changes: + - field: branch + reason: spec:input_only + - field: create_database_if_missing + reason: spec:input_only + - field: postgres_database + reason: spec:input_only + + postgres_endpoints: + + recreate_on_changes: + - field: endpoint_type + reason: spec:immutable + + ignore_remote_changes: + - field: autoscaling_limit_max_cu + reason: spec:input_only + - field: autoscaling_limit_min_cu + reason: spec:input_only + - field: disabled + reason: spec:input_only + - field: endpoint_type + reason: spec:input_only + - field: group + reason: spec:input_only + - field: no_suspension + reason: spec:input_only + - field: settings + reason: spec:input_only + - field: suspend_timeout_duration + reason: spec:input_only + + postgres_projects: + + recreate_on_changes: + - field: pg_version + reason: spec:immutable + + ignore_remote_changes: + - field: budget_policy_id + reason: spec:input_only + - field: custom_tags + reason: spec:input_only + - field: default_branch + reason: spec:input_only + - field: default_endpoint_settings + reason: spec:input_only + - field: display_name + reason: spec:input_only + - field: enable_pg_native_login + reason: spec:input_only + - field: history_retention_duration + reason: spec:input_only + - field: pg_version + reason: spec:input_only + + postgres_synced_tables: + + ignore_remote_changes: + - field: branch + reason: spec:input_only + - field: create_database_objects_if_missing + reason: spec:input_only + - field: existing_pipeline_id + reason: spec:input_only + - field: new_pipeline_spec + reason: spec:input_only + - field: postgres_database + reason: spec:input_only + - field: primary_key_columns + reason: spec:input_only + - field: scheduling_policy + reason: spec:input_only + - field: source_table_full_name + reason: spec:input_only + - field: timeseries_key + reason: spec:input_only + + # quality_monitors: no api field behaviors + + # registered_models: no api field behaviors + + # schemas: no api field behaviors + + # secret_scopes: no api field behaviors + + # sql_warehouses: no api field behaviors + + synced_database_tables: + + ignore_remote_changes: + - field: database_instance_name + reason: spec:input_only + - field: logical_database_name + reason: spec:input_only + - field: spec.create_database_objects_if_missing + reason: spec:input_only + - field: spec.existing_pipeline_id + reason: spec:input_only + - field: spec.new_pipeline_spec + reason: spec:input_only + + - field: data_synchronization_status + reason: spec:output_only + - field: effective_database_instance_name + reason: spec:output_only + - field: effective_logical_database_name + reason: spec:output_only + - field: unity_catalog_provisioning_state + reason: spec:output_only + + # vector_search_endpoints: no api field behaviors + + # vector_search_indexes: no api field behaviors + + # volumes: no api field behaviors From 435888a6fea09c8f7da78998ce3c7f881575531f Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:29:23 +0200 Subject: [PATCH 09/14] Auto-format --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index cc16ba2415..f65c529877 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -795,7 +795,7 @@ tasks: - acceptance/bundle/refschema/out.fields.txt cmds: - cmd: go test ./acceptance -run TestAccept/bundle/refschema -update &> /dev/null - ignore_error: true # -update returns non-zero exit code on changes + ignore_error: true # -update returns non-zero exit code on changes generate-schema: desc: Generate bundle JSON schema From 31f6aa8c389202eb7087f60d724f6d8ffb89af06 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 12:34:45 +0200 Subject: [PATCH 10/14] Auto-generate acceptance tests --- .../simple/out.requests.summary.direct.json | 12 ++++++++++++ .../simple/out.requests.summary.terraform.json | 12 ++++++++++++ acceptance/cmd/workspace/apps/output.txt | 14 ++++++++------ 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json b/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json index 3a3e2db9e9..188e9ff7b6 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json +++ b/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json @@ -33,6 +33,18 @@ "return_export_info": "true" } } +{ + "headers": { + "User-Agent": [ + "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/direct auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me", + "q": { + "excludedAttributes": "entitlements" + } +} { "headers": { "User-Agent": [ diff --git a/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json index 3a3e2db9e9..a9c39050b9 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json @@ -33,6 +33,18 @@ "return_export_info": "true" } } +{ + "headers": { + "User-Agent": [ + "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/terraform auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me", + "q": { + "excludedAttributes": "entitlements" + } +} { "headers": { "User-Agent": [ diff --git a/acceptance/cmd/workspace/apps/output.txt b/acceptance/cmd/workspace/apps/output.txt index 8d6fd58c57..aa87cb4c3e 100644 --- a/acceptance/cmd/workspace/apps/output.txt +++ b/acceptance/cmd/workspace/apps/output.txt @@ -89,12 +89,14 @@ Usage: databricks apps update NAME [flags] Flags: - --budget-policy-id string - --compute-size ComputeSize Supported values: [LARGE, MEDIUM] - --description string The description of the app. - -h, --help help for update - --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) - --space string Name of the space this app belongs to. + --budget-policy-id string + --compute-max-instances int Maximum number of app instances. + --compute-min-instances int Minimum number of app instances. + --compute-size ComputeSize Supported values: [LARGE, MEDIUM] + --description string The description of the app. + -h, --help help for update + --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) + --space string Name of the space this app belongs to. --usage-policy-id string Global Flags: From 36646b396a38409968fe3a8b6fcd187e414a312e Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 28 May 2026 13:09:56 +0200 Subject: [PATCH 11/14] Update UpdateMaskFields for apps --- bundle/direct/dresources/app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundle/direct/dresources/app.go b/bundle/direct/dresources/app.go index 19e89acddf..ed6752d834 100644 --- a/bundle/direct/dresources/app.go +++ b/bundle/direct/dresources/app.go @@ -164,6 +164,8 @@ var UpdateMaskFields = []string{ "resources", "user_api_scopes", "compute_size", + "compute_min_instances", + "compute_max_instances", "git_repository", "telemetry_export_destinations", } From 0f95fe7e1f253e149a2b5537588ab62b2e385e64 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Fri, 29 May 2026 15:48:02 +0200 Subject: [PATCH 12/14] Update acceptance tests --- acceptance/bundle/resources/apps/lifecycle-started/output.txt | 4 ++-- .../bundle/resources/apps/update/out.requests.direct.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acceptance/bundle/resources/apps/lifecycle-started/output.txt b/acceptance/bundle/resources/apps/lifecycle-started/output.txt index cfe10a2d65..4562a6b9b2 100644 --- a/acceptance/bundle/resources/apps/lifecycle-started/output.txt +++ b/acceptance/bundle/resources/apps/lifecycle-started/output.txt @@ -90,7 +90,7 @@ Deployment complete! "description": "MY_APP_DESCRIPTION_2", "name": "[UNIQUE_NAME]" }, - "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations" + "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations" } } @@ -117,7 +117,7 @@ Deployment complete! "description": "MY_APP_DESCRIPTION_3", "name": "[UNIQUE_NAME]" }, - "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations" + "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations" } } { diff --git a/acceptance/bundle/resources/apps/update/out.requests.direct.json b/acceptance/bundle/resources/apps/update/out.requests.direct.json index e33ad27057..f2291c89cf 100644 --- a/acceptance/bundle/resources/apps/update/out.requests.direct.json +++ b/acceptance/bundle/resources/apps/update/out.requests.direct.json @@ -15,7 +15,7 @@ "description": "MY_APP_DESCRIPTION", "name": "myappname" }, - "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations" + "update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations" }, "method": "POST", "path": "/api/2.0/apps/myappname/update" From 287893bff1e70ab65588336703c0a13679a6699a Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Mon, 1 Jun 2026 10:19:43 +0200 Subject: [PATCH 13/14] Revert package.source.registry in uv.lock --- python/codegen/uv.lock | 12 ++++---- python/uv.lock | 66 +++++++++++++++++++++--------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/python/codegen/uv.lock b/python/codegen/uv.lock index e53ef5b7a2..681ead3c4f 100644 --- a/python/codegen/uv.lock +++ b/python/codegen/uv.lock @@ -20,7 +20,7 @@ dev = [{ name = "pytest" }] [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, @@ -29,7 +29,7 @@ wheels = [ [[package]] name = "iniconfig" version = "2.1.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793, upload-time = "2025-03-19T20:09:59.721Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" }, @@ -38,7 +38,7 @@ wheels = [ [[package]] name = "packaging" version = "24.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, @@ -47,7 +47,7 @@ wheels = [ [[package]] name = "pluggy" version = "1.5.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955, upload-time = "2024-04-20T21:34:42.531Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556, upload-time = "2024-04-20T21:34:40.434Z" }, @@ -56,7 +56,7 @@ wheels = [ [[package]] name = "pygments" version = "2.20.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, @@ -65,7 +65,7 @@ wheels = [ [[package]] name = "pytest" version = "9.0.3" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, { name = "iniconfig" }, diff --git a/python/uv.lock b/python/uv.lock index 2de9e586d6..f2de8dda37 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -5,7 +5,7 @@ requires-python = ">=3.10" [[package]] name = "alabaster" version = "1.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a6/f8/d9c74d0daf3f742840fd818d69cfae176fa332022fd44e3469487d5a9420/alabaster-1.0.0.tar.gz", hash = "sha256:c00dca57bca26fa62a6d7d0a9fcce65f3e026e9bfe33e9c538fd3fbb2144fd9e", size = 24210, upload-time = "2024-07-26T18:15:03.762Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/7e/b3/6b4067be973ae96ba0d615946e314c5ae35f9f993eca561b356540bb0c2b/alabaster-1.0.0-py3-none-any.whl", hash = "sha256:fc6786402dc3fcb2de3cabd5fe455a2db534b371124f1f21de8731783dec828b", size = 13929, upload-time = "2024-07-26T18:15:02.05Z" }, @@ -14,7 +14,7 @@ wheels = [ [[package]] name = "babel" version = "2.17.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/7d/6b/d52e42361e1aa00709585ecc30b3f9684b3ab62530771402248b1b1d6240/babel-2.17.0.tar.gz", hash = "sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d", size = 9951852, upload-time = "2025-02-01T15:17:41.026Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/b7/b8/3fe70c75fe32afc4bb507f75563d39bc5642255d1d94f1f23604725780bf/babel-2.17.0-py3-none-any.whl", hash = "sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2", size = 10182537, upload-time = "2025-02-01T15:17:37.39Z" }, @@ -23,7 +23,7 @@ wheels = [ [[package]] name = "certifi" version = "2025.1.31" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/1c/ab/c9f1e32b7b1bf505bf26f0ef697775960db7932abeb7b516de930ba2705f/certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651", size = 167577, upload-time = "2025-01-31T02:16:47.166Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/38/fc/bce832fd4fd99766c04d1ee0eead6b0ec6486fb100ae5e74c1d91292b982/certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe", size = 166393, upload-time = "2025-01-31T02:16:45.015Z" }, @@ -32,7 +32,7 @@ wheels = [ [[package]] name = "charset-normalizer" version = "3.4.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a2115599cc9dad142fee4b747c357/charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3", size = 123188, upload-time = "2024-12-24T18:12:35.43Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0d/58/5580c1716040bc89206c77d8f74418caf82ce519aae06450393ca73475d1/charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de", size = 198013, upload-time = "2024-12-24T18:09:43.671Z" }, @@ -93,7 +93,7 @@ wheels = [ [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, @@ -102,7 +102,7 @@ wheels = [ [[package]] name = "coverage" version = "7.6.12" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/0c/d6/2b53ab3ee99f2262e6f0b8369a43f6d66658eab45510331c0b3d5c8c4272/coverage-7.6.12.tar.gz", hash = "sha256:48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2", size = 805941, upload-time = "2025-02-11T14:47:03.797Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ba/67/81dc41ec8f548c365d04a29f1afd492d3176b372c33e47fa2a45a01dc13a/coverage-7.6.12-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:704c8c8c6ce6569286ae9622e534b4f5b9759b6f2cd643f1c1a61f666d534fe8", size = 208345, upload-time = "2025-02-11T14:44:51.83Z" }, @@ -194,7 +194,7 @@ dev = [ [[package]] name = "docutils" version = "0.21.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/ae/ed/aefcc8cd0ba62a0560c3c18c33925362d46c6075480bfa4df87b28e169a9/docutils-0.21.2.tar.gz", hash = "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f", size = 2204444, upload-time = "2024-04-23T18:57:18.24Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl", hash = "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2", size = 587408, upload-time = "2024-04-23T18:57:14.835Z" }, @@ -203,7 +203,7 @@ wheels = [ [[package]] name = "exceptiongroup" version = "1.2.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883, upload-time = "2024-07-12T22:26:00.161Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453, upload-time = "2024-07-12T22:25:58.476Z" }, @@ -212,7 +212,7 @@ wheels = [ [[package]] name = "idna" version = "3.15" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/82/77/7b3966d0b9d1d31a36ddf1746926a11dface89a83409bf1483f0237aa758/idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc", size = 199245, upload-time = "2026-05-12T22:45:57.011Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d2/23/408243171aa9aaba178d3e2559159c24c1171a641aa83b67bdd3394ead8e/idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8", size = 72340, upload-time = "2026-05-12T22:45:55.733Z" }, @@ -221,7 +221,7 @@ wheels = [ [[package]] name = "imagesize" version = "1.4.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a7/84/62473fb57d61e31fef6e36d64a179c8781605429fd927b5dd608c997be31/imagesize-1.4.1.tar.gz", hash = "sha256:69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a", size = 1280026, upload-time = "2022-07-01T12:21:05.687Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ff/62/85c4c919272577931d407be5ba5d71c20f0b616d31a0befe0ae45bb79abd/imagesize-1.4.1-py2.py3-none-any.whl", hash = "sha256:0d8d18d08f840c19d0ee7ca1fd82490fdc3729b7ac93f49870406ddde8ef8d8b", size = 8769, upload-time = "2022-07-01T12:21:02.467Z" }, @@ -230,7 +230,7 @@ wheels = [ [[package]] name = "iniconfig" version = "2.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646, upload-time = "2023-01-07T11:08:11.254Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892, upload-time = "2023-01-07T11:08:09.864Z" }, @@ -239,7 +239,7 @@ wheels = [ [[package]] name = "jinja2" version = "3.1.6" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] @@ -251,7 +251,7 @@ wheels = [ [[package]] name = "markupsafe" version = "3.0.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", size = 20537, upload-time = "2024-10-18T15:21:54.129Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/04/90/d08277ce111dd22f77149fd1a5d4653eeb3b3eaacbdfcbae5afb2600eebd/MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8", size = 14357, upload-time = "2024-10-18T15:20:51.44Z" }, @@ -309,7 +309,7 @@ wheels = [ [[package]] name = "nodeenv" version = "1.9.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437, upload-time = "2024-06-04T18:44:11.171Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314, upload-time = "2024-06-04T18:44:08.352Z" }, @@ -318,7 +318,7 @@ wheels = [ [[package]] name = "packaging" version = "24.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, @@ -327,7 +327,7 @@ wheels = [ [[package]] name = "pluggy" version = "1.5.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955, upload-time = "2024-04-20T21:34:42.531Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556, upload-time = "2024-04-20T21:34:40.434Z" }, @@ -336,7 +336,7 @@ wheels = [ [[package]] name = "pygments" version = "2.20.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, @@ -345,7 +345,7 @@ wheels = [ [[package]] name = "pyright" version = "1.1.380" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "nodeenv" }, ] @@ -357,7 +357,7 @@ wheels = [ [[package]] name = "pytest" version = "9.0.3" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, @@ -375,7 +375,7 @@ wheels = [ [[package]] name = "pytest-cov" version = "5.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "coverage", extra = ["toml"] }, { name = "pytest" }, @@ -388,7 +388,7 @@ wheels = [ [[package]] name = "requests" version = "2.33.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, { name = "charset-normalizer" }, @@ -403,7 +403,7 @@ wheels = [ [[package]] name = "ruff" version = "0.9.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/67/3e/e89f736f01aa9517a97e2e7e0ce8d34a4d8207087b3cfdec95133fee13b5/ruff-0.9.1.tar.gz", hash = "sha256:fd2b25ecaf907d6458fa842675382c8597b3c746a2dde6717fe3415425df0c17", size = 3498844, upload-time = "2025-01-10T18:57:53.896Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/dc/05/c3a2e0feb3d5d394cdfd552de01df9d3ec8a3a3771bbff247fab7e668653/ruff-0.9.1-py3-none-linux_armv6l.whl", hash = "sha256:84330dda7abcc270e6055551aca93fdde1b0685fc4fd358f26410f9349cf1743", size = 10645241, upload-time = "2025-01-10T18:56:45.897Z" }, @@ -428,7 +428,7 @@ wheels = [ [[package]] name = "snowballstemmer" version = "2.2.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/44/7b/af302bebf22c749c56c9c3e8ae13190b5b5db37a33d9068652e8f73b7089/snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1", size = 86699, upload-time = "2021-11-16T18:38:38.009Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/ed/dc/c02e01294f7265e63a7315fe086dd1df7dacb9f840a804da846b96d01b96/snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a", size = 93002, upload-time = "2021-11-16T18:38:34.792Z" }, @@ -437,7 +437,7 @@ wheels = [ [[package]] name = "sphinx" version = "8.0.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "alabaster" }, { name = "babel" }, @@ -465,7 +465,7 @@ wheels = [ [[package]] name = "sphinxcontrib-applehelp" version = "2.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/ba/6e/b837e84a1a704953c62ef8776d45c3e8d759876b4a84fe14eba2859106fe/sphinxcontrib_applehelp-2.0.0.tar.gz", hash = "sha256:2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1", size = 20053, upload-time = "2024-07-29T01:09:00.465Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/5d/85/9ebeae2f76e9e77b952f4b274c27238156eae7979c5421fba91a28f4970d/sphinxcontrib_applehelp-2.0.0-py3-none-any.whl", hash = "sha256:4cd3f0ec4ac5dd9c17ec65e9ab272c9b867ea77425228e68ecf08d6b28ddbdb5", size = 119300, upload-time = "2024-07-29T01:08:58.99Z" }, @@ -474,7 +474,7 @@ wheels = [ [[package]] name = "sphinxcontrib-devhelp" version = "2.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/f6/d2/5beee64d3e4e747f316bae86b55943f51e82bb86ecd325883ef65741e7da/sphinxcontrib_devhelp-2.0.0.tar.gz", hash = "sha256:411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad", size = 12967, upload-time = "2024-07-29T01:09:23.417Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/35/7a/987e583882f985fe4d7323774889ec58049171828b58c2217e7f79cdf44e/sphinxcontrib_devhelp-2.0.0-py3-none-any.whl", hash = "sha256:aefb8b83854e4b0998877524d1029fd3e6879210422ee3780459e28a1f03a8a2", size = 82530, upload-time = "2024-07-29T01:09:21.945Z" }, @@ -483,7 +483,7 @@ wheels = [ [[package]] name = "sphinxcontrib-htmlhelp" version = "2.1.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/43/93/983afd9aa001e5201eab16b5a444ed5b9b0a7a010541e0ddfbbfd0b2470c/sphinxcontrib_htmlhelp-2.1.0.tar.gz", hash = "sha256:c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9", size = 22617, upload-time = "2024-07-29T01:09:37.889Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0a/7b/18a8c0bcec9182c05a0b3ec2a776bba4ead82750a55ff798e8d406dae604/sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl", hash = "sha256:166759820b47002d22914d64a075ce08f4c46818e17cfc9470a9786b759b19f8", size = 98705, upload-time = "2024-07-29T01:09:36.407Z" }, @@ -492,7 +492,7 @@ wheels = [ [[package]] name = "sphinxcontrib-jsmath" version = "1.0.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c026a07a5097edcf44b692850ef215b161b8ad875729/sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8", size = 5787, upload-time = "2019-01-21T16:10:16.347Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/42/4c8646762ee83602e3fb3fbe774c2fac12f317deb0b5dbeeedd2d3ba4b77/sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl", hash = "sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178", size = 5071, upload-time = "2019-01-21T16:10:14.333Z" }, @@ -501,7 +501,7 @@ wheels = [ [[package]] name = "sphinxcontrib-qthelp" version = "2.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/68/bc/9104308fc285eb3e0b31b67688235db556cd5b0ef31d96f30e45f2e51cae/sphinxcontrib_qthelp-2.0.0.tar.gz", hash = "sha256:4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab", size = 17165, upload-time = "2024-07-29T01:09:56.435Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/27/83/859ecdd180cacc13b1f7e857abf8582a64552ea7a061057a6c716e790fce/sphinxcontrib_qthelp-2.0.0-py3-none-any.whl", hash = "sha256:b18a828cdba941ccd6ee8445dbe72ffa3ef8cbe7505d8cd1fa0d42d3f2d5f3eb", size = 88743, upload-time = "2024-07-29T01:09:54.885Z" }, @@ -510,7 +510,7 @@ wheels = [ [[package]] name = "sphinxcontrib-serializinghtml" version = "2.0.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/3b/44/6716b257b0aa6bfd51a1b31665d1c205fb12cb5ad56de752dfa15657de2f/sphinxcontrib_serializinghtml-2.0.0.tar.gz", hash = "sha256:e9d912827f872c029017a53f0ef2180b327c3f7fd23c87229f7a8e8b70031d4d", size = 16080, upload-time = "2024-07-29T01:10:09.332Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/52/a7/d2782e4e3f77c8450f727ba74a8f12756d5ba823d81b941f1b04da9d033a/sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl", hash = "sha256:6e2cb0eef194e10c27ec0023bfeb25badbbb5868244cf5bc5bdc04e4464bf331", size = 92072, upload-time = "2024-07-29T01:10:08.203Z" }, @@ -519,7 +519,7 @@ wheels = [ [[package]] name = "tomli" version = "2.2.1" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175, upload-time = "2024-11-27T22:38:36.873Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077, upload-time = "2024-11-27T22:37:54.956Z" }, @@ -558,7 +558,7 @@ wheels = [ [[package]] name = "typing-extensions" version = "4.12.2" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321, upload-time = "2024-06-07T18:52:15.995Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438, upload-time = "2024-06-07T18:52:13.582Z" }, @@ -567,7 +567,7 @@ wheels = [ [[package]] name = "urllib3" version = "2.7.0" -source = { registry = "https://pypi-proxy.dev.databricks.com/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, From afb93db2d88b05082005b9cb7283462d9012cbd0 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Tue, 2 Jun 2026 14:58:49 +0200 Subject: [PATCH 14/14] Regenerate --- .../simple/out.requests.summary.direct.json | 12 ------------ .../simple/out.requests.summary.terraform.json | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json b/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json index 188e9ff7b6..3a3e2db9e9 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json +++ b/acceptance/bundle/user_agent/simple/out.requests.summary.direct.json @@ -33,18 +33,6 @@ "return_export_info": "true" } } -{ - "headers": { - "User-Agent": [ - "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/direct auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ diff --git a/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json index a9c39050b9..3a3e2db9e9 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.summary.terraform.json @@ -33,18 +33,6 @@ "return_export_info": "true" } } -{ - "headers": { - "User-Agent": [ - "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/terraform auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [