我正在使用shotgun python api来创建,删除,更新霰弹枪,但我得到错误可以解决这个问题吗?
import shotgun_api3
shot = sg.create("Status",{"code":"Done1","name":"new1","icon":"Active"})
print shot
Fault: API create() Status.icon expected [Hash, NilClass] data type(s) but got
String:"Active"
答案 0 :(得分:0)
您尝试删除:,"图标":"有效"
import shotgun_api3
shot = sg.create("Status",{"code":"Done1","name":"new1"})
print shot