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

core.py line 31 #4

Open
AyushMaria opened this issue Oct 25, 2023 · 0 comments
Open

core.py line 31 #4

AyushMaria opened this issue Oct 25, 2023 · 0 comments

Comments

@AyushMaria
Copy link

AyushMaria commented Oct 25, 2023

E TypeError: 'type' object is not subscriptable

The line that causes the error above:

rules: list[BaseRule] = []

BaseRule is a class and cannot be used as a subscriptable. What were you trying here? I am a little clueless as to what the aim was here. I could probably patch it for you.

Is it a list of rules by any chance?

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