-
Notifications
You must be signed in to change notification settings - Fork 117
Update native.py: try typing TAllowedParameterValue more completely #670
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
base: main
Are you sure you want to change the base?
Conversation
Sure wish there were a way to signoff from the web interface, ugh... |
This is a stab at fixing databricks#669; I'm not sure it's correct, but if it is then it will probably save somebody some time down the road if I make this PR now. Signed-off-by: wyattscarpenter <[email protected]>
790158b
to
7edb4a9
Compare
Signed-off-by: wyattscarpenter <[email protected]>
Signed-off-by: wyattscarpenter <[email protected]>
Signed-off-by: wyattscarpenter <[email protected]>
I feel like the CI failures might not be related to my changes. |
dict, | ||
tuple, | ||
list["TAllowedParameterValue"], | ||
dict["TAllowedParameterValue", "TAllowedParameterValue"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: is dict[str, "TAllowedParameterValue"] more appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite possibly, quite possibly! (I don't know; I didn't find out.)
What type of PR is this?
A... type signature bug fix.
Description
This is a stab at fixing #669 by making some incomplete types into recursive types; I'm not sure it's correct, but if it is then it will probably save somebody some time down the road if I make this PR now.
How is this tested?
I hope your CI has a typechecking phase! If so, then that.
Related Tickets & Documents
#669