-
Notifications
You must be signed in to change notification settings - Fork 351
Python — Support Post‑Emit Execution Step in Python Emitter #10230
Copy link
Copy link
Open
Labels
emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-pythonIssue for the Python client emitter: @typespec/http-client-python
Description
Context
We got the ask from Foundry team that Python SDK generation requires post‑generation scripts to update the generated code.
e.g. update code emitter outputs and to deal with emitted code issues that service team hasn't decided the correct approach for yet.
Currently, these are executed manually which is fragile and inconsistent.
Problems with Current State
- Python pipelines may need to run adhoc custom PowerShell scripts after emission
- No standardized way for Python emitter to trigger these steps
Proposal
Add post‑emit execution support in the Python emitter
The emitter should invoke a script after code emission but before downstream pipeline steps
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-pythonIssue for the Python client emitter: @typespec/http-client-python