-
Notifications
You must be signed in to change notification settings - Fork 6
py: profiles #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
py: profiles #167
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
eddb507
rebased onto main
MikhailArtemyev aa84a9b
py:
MikhailArtemyev 47d8b1b
py: format fixes
MikhailArtemyev 075c121
py:
MikhailArtemyev 45093cb
py: test_extension_profile test refactoring
MikhailArtemyev 02a8cce
py: minor changes
MikhailArtemyev 9144004
rebased onto main
MikhailArtemyev 4705eed
py:
MikhailArtemyev a2bf1e9
py: added tests for generated profiles, mirroring tests in ts example
MikhailArtemyev 5675ef4
py: fixes in slices
MikhailArtemyev fa0cb8c
py: emit validate_excluded for prohibited value[x] variants
MikhailArtemyev 2e69c9a
py: push_extension accepts pydantic Extension models
MikhailArtemyev 08454b3
py:
MikhailArtemyev e64b99d
py: added missing snapshot
MikhailArtemyev a437821
py: fixed to_json method generation
MikhailArtemyev 200f0dc
py: updated python test snapshot
MikhailArtemyev 53b9aa5
py: rebased
MikhailArtemyev 146870a
py: removed resource_families
MikhailArtemyev 10fde6d
py: small mypy fix
MikhailArtemyev 1ea40bd
py: added generics to python from py-generics
MikhailArtemyev ba745c8
py: Fixed alias lookup in matches_value and added max/isTypeDiscrimin…
MikhailArtemyev de345de
py: typed-slice support for type-discriminated profiles complete
MikhailArtemyev b7ef795
py: minor refactoring and fixes
MikhailArtemyev 39bda88
py: refactoring
MikhailArtemyev f75036b
py: refactoring
MikhailArtemyev e34dd83
py: refactoring: pyTypeFromIdentifier now lives in naming-utils.ts
MikhailArtemyev bfd3941
py: refactoring: removed emitImport(w, module, names) from profile.ts
MikhailArtemyev ea9260e
py: refactoring: generateClassBody now takes a single ProfileGenConte…
MikhailArtemyev f7d3220
py: profiles:
MikhailArtemyev 85a4c46
py: profile: Switched from re-flattening profiles on every generation…
MikhailArtemyev 6a3d00a
Makefile: fix: run unit tests sequentially to avoid OOM from parallel…
MikhailArtemyev d5fec15
py: profiles: Check ext.profile before falling back to URL lookup in …
MikhailArtemyev 1ab07d5
py: refactoring: Extract generateExtensionGetter/Setter skeletons to …
MikhailArtemyev aa6d7a5
py: refactoring: removed collectChoiceAccessors
MikhailArtemyev 4e64771
py: refactoring: restructured profile.ts
MikhailArtemyev 0b6f416
py: refactoring: removed dead params (_ext, _className), dropped redu…
MikhailArtemyev 36cceb3
py: example: added us-core-demo with load.py and avg.py
MikhailArtemyev ac173ec
py: regenerated the default example
MikhailArtemyev b974c2f
py: fix: annotate generic base types with type params from type-discr…
MikhailArtemyev 49a7b64
py: fix: use specific return types on slice getters (Quantity | None …
MikhailArtemyev afa86d6
py: fix: set_value_X clears sibling choice variants before setting to…
MikhailArtemyev 090987d
py: fixes: removed unrelated code
MikhailArtemyev 4e166d2
py: gitignore trivial fixes
MikhailArtemyev ff207e0
py: type closed code bindings as Literal in profile accessors
MikhailArtemyev 5ef6084
py: renamed examples to match ts
MikhailArtemyev 3c35b25
py: snapshot update
MikhailArtemyev 7805284
Merge origin/main into py-profiles-new
MikhailArtemyev 291d6ef
py: add python-us-core example to generation, test targets and CI
MikhailArtemyev 6afc307
py: snapshot update
MikhailArtemyev 775c845
py: enable mypy for python-us-core example
MikhailArtemyev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.