PipeableCallCheckWarning: Failed to detect AST node calling xxx
, assuming a normal call
#206
Labels
raw python repl
Issues with piping syntax in raw python REPL
If you see this warning and the errors caused by it, please ensure you are running your code in the environment where the source code is available at runtime.
Typical environment where the source code is not available at runtime:
python
from command line and run your code there)exec()
If you want to use a Python REPL to run your code,
ipython
,bpython
arejupyter notebook
recommended.If you can't avoid using
exec()
, useexec_code()
fromvarname.helpers
instead.What if I want to use Raw Python REPL or
exec()
anyway? The idea is to telldatar
if you are using "piping" or "normal" calling for the function. You can choose either way:ast_fallback
for a function__ast_fallback
to a function callPlease also refer to:
mutate
, assuming a piping call. #196The text was updated successfully, but these errors were encountered: