Skip to content

Commit ce4c828

Browse files
committed
chore: remove unused type generation scripts and deps
1 parent 8e5ab33 commit ce4c828

5 files changed

Lines changed: 4 additions & 300 deletions

File tree

.github/workflows/update-a2a-types.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,32 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v6
1818
with:
19-
python-version: '3.10'
19+
python-version: "3.10"
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@v7
2222
- name: Configure uv shell
2323
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
24-
- name: Install dependencies (datamodel-code-generator)
25-
run: uv sync
2624
- name: Define output file variable
2725
id: vars
2826
run: |
29-
GENERATED_FILE="./src/a2a/types.py"
27+
GENERATED_FILE="./src/a2a/types"
3028
echo "GENERATED_FILE=$GENERATED_FILE" >> "$GITHUB_OUTPUT"
31-
- name: Generate types from schema
32-
run: |
33-
chmod +x scripts/generate_types.sh
34-
./scripts/generate_types.sh "${{ steps.vars.outputs.GENERATED_FILE }}"
3529
- name: Install Buf
3630
uses: bufbuild/buf-setup-action@v1
3731
- name: Run buf generate
3832
run: |
3933
set -euo pipefail # Exit immediately if a command exits with a non-zero status
4034
echo "Running buf generate..."
4135
buf generate
42-
uv run scripts/grpc_gen_post_processor.py
4336
echo "Buf generate finished."
4437
- name: Create Pull Request with Updates
4538
uses: peter-evans/create-pull-request@v8
4639
with:
4740
token: ${{ secrets.A2A_BOT_PAT }}
4841
committer: a2a-bot <a2a-bot@google.com>
4942
author: a2a-bot <a2a-bot@google.com>
50-
commit-message: '${{ github.event.client_payload.message }}'
51-
title: '${{ github.event.client_payload.message }}'
43+
commit-message: "${{ github.event.client_payload.message }}"
44+
title: "${{ github.event.client_payload.message }}"
5245
body: |
5346
Commit: https://github.com/a2aproject/A2A/commit/${{ github.event.client_payload.sha }}
5447
branch: auto-update-a2a-types-${{ github.event.client_payload.sha }}

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ style = "pep440"
9898

9999
[dependency-groups]
100100
dev = [
101-
"datamodel-code-generator>=0.30.0",
102101
"mypy>=1.15.0",
103102
"PyJWT>=2.0.0",
104103
"pytest>=8.3.5",

scripts/checkout_experimental_types.sh

Lines changed: 0 additions & 98 deletions
This file was deleted.

scripts/generate_types.sh

Lines changed: 0 additions & 134 deletions
This file was deleted.

scripts/grpc_gen_post_processor.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)