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

Section names cannot be resolved for rules after inheritance using use #520

Open
Xewar313 opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@Xewar313
Copy link
Contributor

rule test1:
    output: "somefile.txt"

use rule test1 as test2 with:
    input: "x.txt"

def test():
    print(rules.test2.input)
    print(rules.test2.output)
    return "result.txt" 

image

Second output should resolve to output section in test1 rule, but its reference cannot be found.

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

No branches or pull requests

2 participants