-
Notifications
You must be signed in to change notification settings - Fork 19
Pydantic package organization episode 1: "Making huge mess" #397
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
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4175250
wip - repackage/modularize
vcschapp 4320c1f
wip - merge to pydantic main, making a huge mess along the way
vcschapp c3dbf6f
wip - move bbox
vcschapp 0e2d001
wip - move primitive numeric types
vcschapp 16a1f4b
wip - Document numeric primitives and add missing `int16`
vcschapp 41ae7aa
wip - replace LR base types with pct, but not done for Confidence yet
vcschapp d2c4b5f
wip - Migrate basic constraint, collection constraints
vcschapp d06c41e
wip - Consistency: Rename WhitespaceConstraint -> StrippedConstraint …
vcschapp dcb73d8
wip - Migrate string types/constraints out of validation package
vcschapp b154fa0
wip - Add TypeAlias to quiet Pylance warnings
vcschapp 76c617a
wip - add unmodeled dependencies
vcschapp ca9a048
wip - Add pdoc and slightly modify foundation to make it pdoc friendly
vcschapp b8c14ac
wip - fix doctests and run them as part of `make check`
vcschapp 3ef76af
add make target for docs format checking but don't make it mandatory …
vcschapp 53428d0
wip - CHECKS FAILING NOW - make mypy target work on parameterized pac…
vcschapp 5a74b04
wip - Fix broken mypy checks in foundation package
vcschapp 520f322
wip - Rename 'foundation' package to 'system' to avoid OMF "Foundatio…
vcschapp 7da3ea4
wip - Remove GERS stuff from diff
vcschapp 66a6c65
wip - PR comment on 397 - fix `sed` pattern
vcschapp f202c57
wip - cherrypick back the changes from #394, eeeep
vcschapp 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
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
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
2 changes: 1 addition & 1 deletion
2
packages/overture-schema-base-theme/src/overture/schema/base/models.py
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
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
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
28 changes: 0 additions & 28 deletions
28
packages/overture-schema-core/src/overture/schema/core/primitives/__init__.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +0,0 @@ | ||
| """Primitive data types. | ||
|
vcschapp marked this conversation as resolved.
|
||
|
|
||
| This module provides additional, more specific primitive types that come with automatic | ||
| constraint validation and are intended to support multi-target serialization support | ||
| (where the list of and names for these types vary). | ||
| """ | ||
|
|
||
| from .numeric import ( | ||
| float32, | ||
| float64, | ||
| int8, | ||
| int32, | ||
| int64, | ||
| uint8, | ||
| uint16, | ||
| uint32, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "uint8", | ||
| "uint16", | ||
| "uint32", | ||
| "int8", | ||
| "int32", | ||
| "int64", | ||
| "float32", | ||
| "float64", | ||
| ] | ||
12 changes: 0 additions & 12 deletions
12
packages/overture-schema-core/src/overture/schema/core/primitives/numeric.py
This file was deleted.
Oops, something went wrong.
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.
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.