Conversation
|
Okay I only see this now. There's already a typing utility in the repo. Would it be better if we add more elaborated types there? and import the type hints from there or Just say so and I'll start working it 😉. |
|
There was at one point a lot of discussion of types and I don't offhand remember the outcomes. See for example #8218 (comment) |
|
hey @scott-huberty for simplicity(only for right now), I've done this: I see that you gave the notion about creatin a new typing module here - but there already exists one but there's nothing defined in there :) |
I think that for type annotations to be useful they need to be correct, so that's why we suggested something like As for whether to put this in Also, it might be worth reading the thread that Eric linked above, to see what other ideas/opinions have been shared. |
Reference issue - Fixes #13597.
Fixes the type error:

which previously would've looked like:
