Repository navigation
[python] Emit TypedDicts as a patchable types/ package - #11370
Libba Lawrence (l0lawrence) with Copilot wants to merge 4 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
types/ package
commit: |
Python emitter diffBaseline Diff summary: 378 file(s), +6716 / -43 Rendered diff: inline on the run summary, or the emitter-diff-html artifact. Informational check (eng/emitter-diff); does not block the PR. |
|
All changed packages have been documented.
Show changes
|
|
Hi @Copilot. Your PR has had no update for 14 days and it is marked as a stale PR. If it is not updated within 14 additional days, the PR will automatically be closed. If you want to refresh the PR, please remove the |
|
Hi @Copilot. The PR will be closed since the PR has no update for 28 days. If this is still relevant please reopen. |
TypedDict generation currently emits a standalone
types.py, which makes customization inconsistent with the existing patchablemodels/layout. This change moves TypedDict output into atypes/package so generated type surfaces can be patched without editing generated files directly.Generate a patchable
types/packagetypes.pywith:types/__init__.pytypes/_types.pytypes/_patch.pytypes/__init__.pywhile isolating generated content in_types.py.Update TypedDict import resolution
typespackage.Clean up legacy output on regen
types.pywhen regenerating into the new package layout to avoid duplicate or conflicting type surfaces.Add focused coverage
types.pycleanup behavior.Example generated layout: