The function definition for convert_project will successfully convert a pep given a valid filter, however it runs a sys.exit(0) which seems like odd behavior. We are utilizing this for the pephub server and it results in server crashes.
Attempts to circumvent this by directly calling run_filter only display the conversion result to stdout, is it possible to return as yaml instead of returning None?
The function definition for
convert_project
will successfully convert a pep given a valid filter, however it runs asys.exit(0)
which seems like odd behavior. We are utilizing this for the pephub server and it results in server crashes.Attempts to circumvent this by directly calling
run_filter
only display the conversion result tostdout
, is it possible to return asyaml
instead of returningNone
?