pixie
pixie copied to clipboard
PxL Compiler doesn't know type of a negated boolean when passed to a typed argument
Describe the bug
I wrote a PxL script that passed not var_name to a function argument. I received a message saying that the type of not var_name was unknown.

To Reproduce Steps to reproduce the behavior:
- write script
import px
def blah(include_readyz: bool):
return px.DataFrame('http_events', start_time='-1s')
px.display(blah(not True))
- Run script
- see error
Expected behavior
The compiler should understand that not True is a boolean expression.
App information (please complete the following information):
- Pixie version: 0.11.6
A temporary fix for anyone who experiences this is to remove the bool type annotation.