Tab completion not working for class when it has property with typing.Literal annotated return value
オープン
tab-completion
- 主要言語
- Python
- スター
- 16.8k
- フォーク
- 4.5k
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 6
説明
Here is an example class:
```python
import typing
class A:
@property
def value(self) -> typing.Literal['a']:
return 'a'
def get(self) -> typing.Literal['a']:
return 'a'
a = A()
```
Now if I type `a.` in IPython console, nothing will show up. If I put the same code in Python console, the second Tab will display the two methods.
コントリビューションガイド
評価
この issue はまだ評価されていません。