From 79acd4fd491befd1e4350c137ceb353467d80aa6 Mon Sep 17 00:00:00 2001 From: Volodymyr Pivoshenko Date: Thu, 18 Jul 2024 19:35:42 +0100 Subject: [PATCH 1/5] fix: resolve issue with AttributeError during update of serving endpoint tags Signed-off-by: Volodymyr Pivoshenko --- databricks/sdk/service/serving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databricks/sdk/service/serving.py b/databricks/sdk/service/serving.py index 0f3d00de9..05958b1d3 100755 --- a/databricks/sdk/service/serving.py +++ b/databricks/sdk/service/serving.py @@ -3111,7 +3111,7 @@ def patch(self, headers = {'Accept': 'application/json', 'Content-Type': 'application/json', } res = self._api.do('PATCH', f'/api/2.0/serving-endpoints/{name}/tags', body=body, headers=headers) - return [EndpointTag.from_dict(v) for v in res] + return [EndpointTag.from_dict(v) for v in res["tags"]] def put(self, name: str, *, rate_limits: Optional[List[RateLimit]] = None) -> PutResponse: """Update rate limits of a serving endpoint. From 3afe2b2974a3bc0d123326050308dde1e16fc90a Mon Sep 17 00:00:00 2001 From: Volodymyr Pivoshenko <40499728+pivoshenko@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:43:48 +0000 Subject: [PATCH 2/5] chore(labels): add .github/labels.yaml from uv-upsync template --- .github/labels.yaml | 55 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/labels.yaml diff --git a/.github/labels.yaml b/.github/labels.yaml new file mode 100644 index 000000000..10eb6c149 --- /dev/null +++ b/.github/labels.yaml @@ -0,0 +1,55 @@ +- name: "type: dependencies" + description: Pull requests that update a dependency file + color: 0366d6 + +- name: "priority: critical" + description: Indicates a critical bug or work that is holding up a lot of other important features or fixes + color: B60205 + +- name: "priority: high" + description: Indicates user-visible bugs or important features + color: D93F0B + +- name: "priority: medium" + description: Indicates default priority, 'should be done' but isn't prioritised ahead of others + color: FBCA04 + +- name: "priority: low" + description: Indicates low priority, unlikely to be done unless it becomes important to more people + color: 0E8A16 + +- name: "status: blocked" + description: Indicates an issue that is blocked by another issue or external requirement + color: E99695 + +- name: "status: duplicate" + description: Indicates similar issues, pull requests, or discussions + color: BFDADC + +- name: "status: good first issue" + description: Indicates a good issue for first-time contributors + color: D4C5F9 + +- name: "status: help wanted" + description: Indicates that a maintainer wants help on an issue or pull request + color: C5DEF5 + +- name: "type: breaking" + description: Indicates a BREAKING CHANGE + color: B60205 + +- name: "type: bug" + description: Indicates an unexpected problem or unintended behavior + color: D93F0B + +- name: "type: documentation" + description: Indicates a need for improvement or addition to documentation + color: 006B75 + +- name: "type: enhancement" + description: Indicates a new feature request + color: 0E8A16 + +- name: "type: maintenance" + description: Indicates changes to the CI, etc.; a code change that does not fix a bug or add a feature + color: FBCA04 From 108f3194d6f8eac7054868623db090076a32aee8 Mon Sep 17 00:00:00 2001 From: Volodymyr Pivoshenko <40499728+pivoshenko@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:43:49 +0000 Subject: [PATCH 3/5] chore(labels): add .github/workflows/labels.yaml from uv-upsync template --- .github/workflows/labels.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/labels.yaml diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml new file mode 100644 index 000000000..9b6096ffc --- /dev/null +++ b/.github/workflows/labels.yaml @@ -0,0 +1,26 @@ +# Requires GitHub secrets +# - GH_TOKEN + +name: Update GitHub Labels + +on: + push: + branches: ["main"] + paths: + - ".github/labels.yaml" + - ".github/workflows/labels.yaml" + +jobs: + labels: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Update labels + uses: crazy-max/ghaction-github-labeler@v6 + with: + github-token: ${{ secrets.GH_TOKEN }} + yaml-file: .github/labels.yaml From 330b2d112e65fa00bd1bcc665d6aea6d77618a7b Mon Sep 17 00:00:00 2001 From: Volodymyr Pivoshenko <40499728+pivoshenko@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:45:26 +0000 Subject: [PATCH 4/5] chore: remove labels automation files from fork --- .github/labels.yaml | 55 --------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/labels.yaml diff --git a/.github/labels.yaml b/.github/labels.yaml deleted file mode 100644 index 10eb6c149..000000000 --- a/.github/labels.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- name: "type: dependencies" - description: Pull requests that update a dependency file - color: 0366d6 - -- name: "priority: critical" - description: Indicates a critical bug or work that is holding up a lot of other important features or fixes - color: B60205 - -- name: "priority: high" - description: Indicates user-visible bugs or important features - color: D93F0B - -- name: "priority: medium" - description: Indicates default priority, 'should be done' but isn't prioritised ahead of others - color: FBCA04 - -- name: "priority: low" - description: Indicates low priority, unlikely to be done unless it becomes important to more people - color: 0E8A16 - -- name: "status: blocked" - description: Indicates an issue that is blocked by another issue or external requirement - color: E99695 - -- name: "status: duplicate" - description: Indicates similar issues, pull requests, or discussions - color: BFDADC - -- name: "status: good first issue" - description: Indicates a good issue for first-time contributors - color: D4C5F9 - -- name: "status: help wanted" - description: Indicates that a maintainer wants help on an issue or pull request - color: C5DEF5 - -- name: "type: breaking" - description: Indicates a BREAKING CHANGE - color: B60205 - -- name: "type: bug" - description: Indicates an unexpected problem or unintended behavior - color: D93F0B - -- name: "type: documentation" - description: Indicates a need for improvement or addition to documentation - color: 006B75 - -- name: "type: enhancement" - description: Indicates a new feature request - color: 0E8A16 - -- name: "type: maintenance" - description: Indicates changes to the CI, etc.; a code change that does not fix a bug or add a feature - color: FBCA04 From d6a887ff4acb279d3b27b7bc16eda6990349cbce Mon Sep 17 00:00:00 2001 From: Volodymyr Pivoshenko <40499728+pivoshenko@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:45:27 +0000 Subject: [PATCH 5/5] chore: remove labels automation files from fork --- .github/workflows/labels.yaml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/labels.yaml diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml deleted file mode 100644 index 9b6096ffc..000000000 --- a/.github/workflows/labels.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# Requires GitHub secrets -# - GH_TOKEN - -name: Update GitHub Labels - -on: - push: - branches: ["main"] - paths: - - ".github/labels.yaml" - - ".github/workflows/labels.yaml" - -jobs: - labels: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Update labels - uses: crazy-max/ghaction-github-labeler@v6 - with: - github-token: ${{ secrets.GH_TOKEN }} - yaml-file: .github/labels.yaml