You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the case above, list[Scope] causes a runtime error because list is not the right way to type annotate.
It should be changed in List, imported from typing.
I'm going to PR a fix in few minutes, I created this issue just for completeness.
Btw, thanks for starting this great work in creating an SDK for Forge API.
I'm likely to start contributing in next weeks as I'll need it for a new project.
The text was updated successfully, but these errors were encountered:
I've updated the typings in the latest commit (432b3ce). To be honest, I'm not very experienced with typings in Python, so I'm not sure whether to use typings.List or list?
Hi, I encountered an error caused by a wrong type annotation.
As you can see in the case above,
list[Scope]
causes a runtime error becauselist
is not the right way to type annotate.It should be changed in
List
, imported fromtyping
.I'm going to PR a fix in few minutes, I created this issue just for completeness.
Btw, thanks for starting this great work in creating an SDK for Forge API.
I'm likely to start contributing in next weeks as I'll need it for a new project.
The text was updated successfully, but these errors were encountered: