Replies: 1 comment 2 replies
-
That looks like you are attempting to do a higher-kinded type, which isn't possible in the type system currently. See #548
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have the types
Foo
,Bar
andBaz
defined somewhere, all inheriting fromBaseClass
. How would I typehinttable
in:I have tried
but mypy says
Type variable T is unbound
.Full error:
Beta Was this translation helpful? Give feedback.
All reactions