vast-ai / vast-python

Vast.ai python and cli api client
MIT License
111 stars 40 forks source link

Ignore 'vast_pdf' warning #25

Open el-mike opened 2 years ago

el-mike commented 2 years ago

Hi!

I'm using vast CLI to rent and run instances dynamically in my Golang program. It runs the script, gets the JSON response (--raw flag) and parses it into objects. Since the PDF feature was added, the JSON output is basically broken, as it begins with the warning string. Could you add a possibility to ignore the warning (via flag), or disable the warning when --raw is being used?

dweremeichik commented 1 year ago

It appears that this was merged in #32