def update_note(workspace_name, note): note_properties = get_note_properties(note) return server.update_note(workspace_name, **note_properties)
def create_note(workspace_name, note): """Take a workspace_name and an note object and save it to the sever. Return the server's json response as a dictionary. """ note_properties = get_note_properties(note) return server.create_note(workspace_name, **note_properties)