007gzs / dingtalk-sdk

钉钉 dingding Python SDK。 DingTalk SDK for Python http://dingtalk-sdk.readthedocs.io/zh_CN/latest/
GNU General Public License v3.0
183 stars 56 forks source link

发起审批流, bpms文件processinstance_create方法中有问题 #3

Closed wangjhfree closed 5 years ago

wangjhfree commented 5 years ago

for name, value in form_component_values.item(): data = {'name': name} if isinstance(value, (list, tuple)): if len(value) > 1: data['ext_value'] = value[1] value = value[0] data['value'] = value form_component_value_list.append(data)

form_component_values参数传入 OrderedDict出错,迭代现在应该是form_component_values.items(),望修复。

007gzs commented 5 years ago

1.1.6 版本中已修复,谢谢