jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Python typings fail to recognize implemented interfaces

Open eladb opened this issue 5 years ago • 1 comments

:bug: Bug Report

Affected Languages

  • [ ] TypeScript or Javascript
  • [x] Python
  • [ ] Java
  • [ ] .NET (C#, F#, ...)

General Information

  • JSII Version: 0.22
  • Platform: Mac

What is the problem?

I get the error expected type 'IXxx', got Yyy even though Yyy implements IXxx.

For example:

Screen Shot 2020-02-16 at 17 06 49

eladb avatar Feb 16 '20 15:02 eladb

Also related to https://github.com/aws/jsii/issues/3931

chkothe avatar Jul 02 '21 22:07 chkothe

closing in favor of https://github.com/aws/jsii/issues/3931

mrgrain avatar Apr 18 '24 10:04 mrgrain

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.

github-actions[bot] avatar Apr 18 '24 10:04 github-actions[bot]