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

Take code annotations into account #96

Open
maxjeblick opened this issue Mar 13, 2024 · 0 comments
Open

Take code annotations into account #96

maxjeblick opened this issue Mar 13, 2024 · 0 comments

Comments

@maxjeblick
Copy link

I noticed that for code with annotations the annotations are not taken into account when creating the dependency graph.

As an example, for

def do_stuff(config: Config, model: MyModel):
    model.apply_config(config)
    return model.eval()

do_stuff is marked as being independent of Config and MyModel, as it does not call Config and MyModel class explicitly in the body.

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

1 participant