Errors highlighted when using pipetools module #1886
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
Use of the symbol
|
to pipe tasks together using thepipe
function in thepipetools
package causing no highlighted Pylance errors.Actual behaviour
Pylance is highlighting an an error with the use of
|
symbol before alist
call when piping tasks together usingpipetools
. It states thatAlternative syntax for unions requires Python 3.10 or newer
. The code runs with no issues in Python 3.9.2 aspipetools
is imported. This error goes away if Python 3.10 is used, but should not occur for v3.9.2.Logs
Python Language Server Log
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: