Open xiguazao opened 3 years ago
https://github.com/opendevops-cn/codo-cmdb/blob/master/biz/handlers/asset_tag_handler.py
135行: db_id_list = data.get('dbs')
178 行: session.add_all([ DBTag(db_id=i, tag_id=tag_id) for i in db_id_list ])
报错信息: TypeError: 'NoneType' object is not iterable
https://github.com/opendevops-cn/codo-cmdb/blob/master/biz/handlers/asset_tag_handler.py
135行: db_id_list = data.get('dbs')
178 行: session.add_all([ DBTag(db_id=i, tag_id=tag_id) for i in db_id_list ])
报错信息: TypeError: 'NoneType' object is not iterable