-
Notifications
You must be signed in to change notification settings - Fork 8
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
TypeError: 'type' object is not subscriptable #4
Comments
Hi, I am having trouble to reproduce your error. Can you provide a little bit more context on what you did? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi guys, sorry for the long response time. I didn't have time to look into the issue earlier. It should be resolved now. I am a bit confused why I was not running into the same problem. Anyway, sorry again that it took so long. |
Hi! I got this error, how could i fix it?
Thanks!
from pypiano import Piano
TypeError Traceback (most recent call last)
in
----> 1 from pypiano import Piano
~/projects/pypiano/pypiano/init.py in
----> 1 from .piano import Piano
2
3 all = ["pypiano"]
~/projects/pypiano/pypiano/piano.py in
12 from typing import Union
13 from pathlib import Path
---> 14 from .keyboard import PianoKeyboard, PianoKey
15
16 from .utils import (
~/projects/pypiano/pypiano/keyboard.py in
168
169
--> 170 class PianoKeyboard(object):
171 """Class representing a 88 key piano keyboard"""
172
~/projects/pypiano/pypiano/keyboard.py in PianoKeyboard()
269
270 @Property
--> 271 def distinct_key_names(self) -> set[str]:
272 """Get all distinct key names / note names on the piano keyboard
273
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: