Pylance: "Position-only argument separator not allowed as first parameter"
I encountered this issue today. The problem was trying to name a variable lambda when that is already a keyword in Python (which I forgot about, as I haven't used that functionality much as of right now).
Change it to really anything else (i.e. my_lambda), and the error will go away.
Comments
Post a Comment