-
Notifications
You must be signed in to change notification settings - Fork 37
Improve error when raw2derived argument has no type #1135
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 3 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
91d1094
add check raw_to_derived argument type
b3750f7
fix test name
060ba24
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord f65ffe5
use inspect module
ffaf6aa
fix small typing issues pylance
674b378
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord ce5704a
remove commented lines
b3b7798
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord a892cf8
fix raw_to_derived signature and move empty hints check to factory
0570649
fix multi derived test
199ed8f
convert string annotations to class
8bc79cc
add lost test back
3c25ef2
add type hint test for many-to-many
1919565
remove unnecessary derived_to_raw functino
ec3c454
move helper dict_wrapper method out from class
2e2616c
add type hints
ca20b1f
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord 9bcadcf
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord e463319
test_subclasses_in_hints
f7ea387
fix test
7939630
simplify logic
ee5359d
add typeVar checking
72886a3
make type checking happy
b87d586
remove noqa
f527c6d
add "cls" to excluded names
7cff97a
remove unnecessary get_type_hints
4955163
reply comments
d9adee5
Merge branch 'main' into improve-error-when-raw2derived-has-no-type
Villtord 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
Some comments aren't visible on the classic Files Changed page.
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
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.