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 the error message indicates, variables are not allowed in type expressions (annotations). This is mandated by the Python typing spec. Type annotations need to be statically evaluated, so they cannot rely on dynamic runtime behaviors. For more details, refer to this chapter of the Python typing spec.
Environment data
Code Snippet
there is a easy way
but bellow is ok
Repro Steps
Expected behavior
XXX
Actual behavior
XXX
Logs
The text was updated successfully, but these errors were encountered: