Skip to content

[python] tspconfig to disable typeddict auto-generation #11354

Closed

Description

users should be able to opt out of having typeddicts generated by default in dpg mode

Activity

  1. github-actions commented on Jul 22, 2026

    @github-actions
    Contributor

    🎯 Issue Triage

    A request to add a tspconfig option that allows users to opt out of automatic TypedDict generation in DPG (Data Plane Generation) mode for the Python client emitter.

    Category: Feature Request
    Area: emitter:client:python

    🔍 Analysis
    • This is a feature request for the @typespec/http-client-python emitter
    • Currently, TypedDicts are auto-generated in DPG mode with no way to disable them
    • Users need a tspconfig option (e.g., generate-typeddict: false) to opt out
    • This would affect the Python emitter's code generation pipeline
    📝 Suggested next steps
    • Define the tspconfig option name and schema (e.g., generate-typeddict)
    • Implement the opt-out logic in the Python emitter
    • Add tests for the new configuration option
    • Update documentation for the new option

    Generated by Agentic Triage

  2. added a commit that references this issue on Aug 4, 2026
    5a8b1e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-pythonfeatureNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions