1

我正在使用shotgun python api在shotgun中创建,删除,更新但我收到错误任何人都可以解决这个问题吗?

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"
4

1 回答 1

-1

您尝试删除 : ,"icon":"Active"

import shotgun_api3

shot = sg.create("Status",{"code":"Done1","name":"new1"})

print shot
于 2018-04-11T09:56:21.517 回答