Closed jsanz closed 7 years ago
It does work to me:
(env) ip-10-0-32-36:carto-python oboix$ python examples/sql_batch_api_jobs.py "create" --query "select version()"
05:18:12 PM - INFO - status: pending
05:18:12 PM - INFO - job_id: 2d1e2a21-02fc-4834-a07f-20cde80eae73
05:18:12 PM - INFO - created_at: 2017-02-15T16:18:12.523Z
05:18:12 PM - INFO - updated_at: 2017-02-15T16:18:12.523Z
05:18:12 PM - INFO - user: carto-workshops
05:18:12 PM - INFO - query: select version()
🤔
It looks like the line is different in your version here. Your code is using http_headers=http_header
instead of headers=http_header
in line 76.
The examples branch has the same code as branch 1.0.0.
It is working with the 1.0.0 branch.
I hope everything to be merged in master in the following days :)
Looks like the last change to 1.0.0. was not merged