Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imports missing if PyClasses defined in different modules #72

Open
phoerious opened this issue Aug 29, 2024 · 1 comment
Open

Imports missing if PyClasses defined in different modules #72

phoerious opened this issue Aug 29, 2024 · 1 comment

Comments

@phoerious
Copy link

When I have classes in different modules like in the example below and one class makes use of the other, two individual stub files are generated, but don't import each others types.

#[pyclass(subclass, module = "mypkg.mymod_a")]
#[derive(Clone, PartialEq, Eq)]
pub struct MyClass1 {}

#[pyclass(subclass, module = "mypkg.mymod_b")]
#[derive(Clone, PartialEq, Eq)]
pub struct MyClass2 {}
@kstreee-furiosa
Copy link

Any progress or workaround for this issue? I'd open to contribute to solve the issue, would anyone can let me know which parts I can investigate to solve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants