Skip to content

Commit 8aa1d2e

Browse files
committed
chore: Update to Speakeasy managed implicit namespacing
As of speakeasy@1.561.0, the `moduleName` field can reference an implicit namespace (e.g. PEP-420). - Update `.sepeakeasy/gen.yaml` to use `glean.api_client` - Remove running of custom restructuring script
1 parent 53c4cf9 commit 8aa1d2e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/patch-speakeasy-pr.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
add-extend-path:
9+
patch:
1010
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.title, 'Update SDK - Generate'))
1111
runs-on: ubuntu-latest
1212
permissions:
@@ -19,9 +19,7 @@ jobs:
1919
ref: ${{ github.head_ref || github.ref_name }}
2020
fetch-depth: 0
2121

22-
- name: Restructure glean package to namespace structure
23-
run: |
24-
python .github/scripts/restructure_to_namespace.py
22+
- run: echo "Nothing to do! 🎉"
2523

2624
- name: Commit and push if files changed
2725
run: |

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ python:
5454
inputModelSuffix: input
5555
maxMethodParams: 999
5656
methodArguments: infer-optional-args
57-
moduleName: ""
57+
moduleName: glean.api_client
5858
outputModelSuffix: output
5959
packageName: glean
6060
pytestFilterWarnings: []

0 commit comments

Comments
 (0)