Skip to content

Add @typespec/pydantic emitter for generating Python pydantic models#4

Draft
Copilot wants to merge 5 commits intomainfrom
copilot/add-pydantic-model-emitter
Draft

Add @typespec/pydantic emitter for generating Python pydantic models#4
Copilot wants to merge 5 commits intomainfrom
copilot/add-pydantic-model-emitter

Conversation

Copy link

Copilot AI commented Feb 12, 2026

  • Understand changelog format and chronus configuration
  • Add @typespec/pydantic to chronus config as a standalone package
  • Create changelog entry for the new pydantic emitter feature
  • Fix spell check: add "pydantic" to cspell.yaml allowed words
  • Fix lint: update deprecated isArrayModelType call signature
  • Fix formatting: run prettier on affected files

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 12, 2026 01:59
…odels

Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
…ed import

Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
Copilot AI changed the title [WIP] Add emitter for generating Pydantic model classes feat: add @typespec/pydantic emitter for generating Python pydantic model classes Feb 12, 2026
Copilot AI requested a review from johanste February 12, 2026 02:07
Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
Copilot AI changed the title feat: add @typespec/pydantic emitter for generating Python pydantic model classes Add @typespec/pydantic emitter for generating Python pydantic models Feb 13, 2026
@johanste
Copy link
Owner

@copilot fix the failing checks. pydantic should be an allowed word for this emitter.

…with prettier

Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 13, 2026

@copilot fix the failing checks. pydantic should be an allowed word for this emitter.

Fixed in e7db4ee:

  • Added "pydantic" to cspell.yaml allowed words list
  • Fixed deprecated isArrayModelType(program, type)isArrayModelType(type) (2 occurrences)
  • Ran prettier on 4 files that had formatting issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants