本文整理匯總了Python中shotgun_api3.Shotgun.note_thread_read方法的典型用法代碼示例。如果您正苦於以下問題:Python Shotgun.note_thread_read方法的具體用法?Python Shotgun.note_thread_read怎麽用?Python Shotgun.note_thread_read使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類shotgun_api3.Shotgun
的用法示例。
在下文中一共展示了Shotgun.note_thread_read方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: str
# 需要導入模塊: from shotgun_api3 import Shotgun [as 別名]
# 或者: from shotgun_api3.Shotgun import note_thread_read [as 別名]
dictStr = dictStr.splitlines()
try:
thread += str(dictStr[0])
except IndexError:
thread += 'null'
continue
# Setting the fileName of the document
try:
fileName = 'Walt Denny - ' + i['sg_rpm_number'] + ' ' + i['cached_display_name']
except TypeError:
filename = 'Walt Denny - ' + i['cached_display _name']
print fileName
# Get's the id(TITLE) and formats it.Then appends the thread to it
currentID = str(dict[0]['id'])
if currentID in excludeID:
continue
list3 = sg.note_thread_read(int(currentID), formatting)
for key in list3:
thread += "\n"
note = formatted(key)
if 'content' in note:
thread += str(note['content'])
else:
pass
thread += '\n**END OF THREAD**'
#Calls the Word function for file generation
writeDoc(dictStr, thread, fileName)