When creating a subclass, I normally receive prompts suggesting methods to override. For example, if I have a superclass with a method "foo", then if I create a subclass and type "def f" I normally see a suggestion for "foo" along with its function signature, etc.
However, when I subclass using a dynamic reference to the superclass, these suggestions disappear, even when I have statically given an upper bound on the referent.
The return value of "dynamic()" is stated to by a subclass of "Foo". This means that I expect to see a suggestion for the "foo" method - but it is missing, just as if I had subclassed a variable with no type hints at all.
Is there a way to fix this using annotations/type hints (preferably only on "dynamic()", but I'll take what I can get), or is this a limitation of PyCharm?