cursor.execute("UPDATE hiveos SET status=0 WHERE id_farm=%s",('10',))
'5'
выдает 1 шаг, а по строке '10'
- два (значения '1' и '0') from urllib.request import urlopen,Request
import json
url = "http://api-seller.ozon.ru/v1/category/tree"
headers = {
"Client-Id":836,
"Api-Key":"0296d4f2-70a1-4c09-b507-904fd05567b9",
"Content-Type":"application/json"
}
data = {
"category_id":17036076,
"language":"EN"
}
responce = urlopen(Request(url,bytes(json.dumps(data,indent=0),"utf-8"),headers))