Skip to content

Python profile generation support#115

Draft
MikhailArtemyev wants to merge 17 commits intomainfrom
py-profile-support
Draft

Python profile generation support#115
MikhailArtemyev wants to merge 17 commits intomainfrom
py-profile-support

Conversation

@MikhailArtemyev
Copy link
Copy Markdown
Collaborator

No description provided.

@MikhailArtemyev MikhailArtemyev requested a review from ryukzak March 23, 2026 14:39
@MikhailArtemyev MikhailArtemyev changed the title Py profile support Py extension profile support Mar 30, 2026
@MikhailArtemyev MikhailArtemyev marked this pull request as ready for review March 30, 2026 16:31
Comment thread src/api/writer-generator/python/writer.ts Outdated
Comment thread src/api/writer-generator/python/py-utils.ts Outdated
Comment thread src/api/writer-generator/python/extension-profile.ts Outdated
Comment thread src/api/writer-generator/python/extension-profile.ts Outdated
Comment thread src/api/writer-generator/python/extension-profile.ts Outdated
Comment thread examples/python/test_extension_profile.py Outdated
Comment thread examples/python/test_extension_profile.py Outdated
@MikhailArtemyev MikhailArtemyev marked this pull request as draft April 13, 2026 11:32
@MikhailArtemyev MikhailArtemyev marked this pull request as draft April 13, 2026 11:32
@MikhailArtemyev MikhailArtemyev changed the title Py extension profile support Python profile generation support Apr 13, 2026
* fixed python generator after rebase
* added profile example to the default python example directory
* mypy fixes
* slight refactoring
…json params (by_alias, exclude_unset) configurable.
* implemented profile generation in python, mirroring functionality of ts generator

* made a new python example dedicated to profiles
*  added collectProhibitedChoiceValidation for prohibited value[x] variants
* added resolveExtensionProfile, multi-form getter overloads, setter dispatch; raw branch normalizes dict -> Extension and attribute access works
*  push_extension preserves Pydantic instances as-is

* all tests should pass
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