Python 使用contentClass的Evernote只读注释
我正在尝试使用contentClass属性在笔记本中制作只读笔记 我的代码如下: 我可以设置其他属性,但只要我尝试设置contentClass,它就会在CreateNote上抛出一个EDAM异常。(公司和应用程序名称已更改) 这将抛出错误:Python 使用contentClass的Evernote只读注释,python,api,readonly,evernote,Python,Api,Readonly,Evernote,我正在尝试使用contentClass属性在笔记本中制作只读笔记 我的代码如下: 我可以设置其他属性,但只要我尝试设置contentClass,它就会在CreateNote上抛出一个EDAM异常。(公司和应用程序名称已更改) 这将抛出错误: evernote.edam.error.ttypes.EDAMUserException: EDAMUserException(errorCode=2, parameter='NoteAttributes.contentClass') 稍后在代码中,当我尝
evernote.edam.error.ttypes.EDAMUserException: EDAMUserException(errorCode=2, parameter='NoteAttributes.contentClass')
稍后在代码中,当我尝试调用时:
new_note = note_store.createNote(new_note)
我使用contentClass对吗 用法似乎很好。 errorCode=2表示contentClass的格式错误 它必须遵循的正则表达式是
new_note = note_store.createNote(new_note)