예제 #1
0
def update_note(workspace_name, note):
    note_properties = get_note_properties(note)
    return server.update_note(workspace_name, **note_properties)
예제 #2
0
파일: models.py 프로젝트: Sliim/faraday
def update_note(workspace_name, note):
    note_properties = get_note_properties(note)
    return server.update_note(workspace_name, **note_properties)
예제 #3
0
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)
예제 #4
0
파일: models.py 프로젝트: Sliim/faraday
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)