facebook / facebook/pyrefly

"Docstrings from .py when type is from .pyi" is not working

Open
#4,057 6 comments 0 reactions 1 assignee Claimed by @paranoa233 View on GitHub
help wanted language-server
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

I saw the closed issue https://github.com/facebook/pyrefly/issues/1090, but when I use it myself, I still cannot get the docstring from the original .py file:

Image

What I want to see:

Image

Is this a configuration issue or is the code not working correctly?

### Sandbox Link

https://pyrefly.org/sandbox/?project=N4IgZglgNgpgziAXKOBDAdgEwEYHsAeAdAA4CeS4ATrgLYAEALqcROgOZ0Q3G6UN2R0qKAB10YgAKDhYgMZRUcOHQBiuXIjF1tdYooQAaEGUowwUUoQa0oFAMR0ACqVPnSdNFjz46s3Okg2AFdKVAYIf0IxBwBlGBg6AAsGBmI4RAB6DJMzC0JeNgyYdAzMXFk4DL8AiGDQ8P8MgV46VAA3VGhUbFhff0CQsIj0OlxiBvQ4KPQyBkT-AFo2mEo4YboAXjoREABmQgBGACYdsQBtFepVgF0xIPQuHj4YTAXMCFNZcOXNugByWroXgwP5iIEMBamACOQQ%2BLwWAGsYKQFqhZLJ4Motn8AO6oSjoUHoEAAXyMaO%2BMBU0BgFE8OAIJHIJKAA

### (Only applicable for extension issues) IDE Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.