Skip to content

feat: Stubs must be created for referenced declarations in other packages #66

@Masara

Description

@Masara

Is your feature request related to a problem?

Currently, if a module imports classes from other packages stubs won't be created for those classes.

Say we are creating stubs for the package a and are currently working on a Python module with the following content:

from b import SomeClass

def f(p: SomeClass)

Then we also need to create some stub for the class SomeClass, or we can't use it. So limited stubs must be created for the declarations of other packages that package a depends on.

Desired solution

Create limited stubs for the imported classes from other packages, if they are imported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✔️ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions