code: def set_note_attribute(data):
          
          na = False
          if data.get('link'):
              na = Types.NoteAttributes()
              # add the url
              na.sourceURL = data.get('link')
              # add the object to the note
          return na
docs: add the link of the 'source' in the note