コード例 #1
0
def update_interface(workspace_name, interface):
    interface_properties = get_interface_properties(interface)
    return server.update_interface(workspace_name, **interface_properties)
コード例 #2
0
ファイル: models.py プロジェクト: Sliim/faraday
def update_interface(workspace_name, interface):
    interface_properties = get_interface_properties(interface)
    return server.update_interface(workspace_name, **interface_properties)
コード例 #3
0
def create_interface(workspace_name, interface):
    """Take a workspace_name and an interface object and save it to the sever.
    Return the server's json response as a dictionary.
    """
    interface_properties = get_interface_properties(interface)
    return server.create_interface(workspace_name, **interface_properties)
コード例 #4
0
ファイル: models.py プロジェクト: Sliim/faraday
def create_interface(workspace_name, interface):
    """Take a workspace_name and an interface object and save it to the sever.
    Return the server's json response as a dictionary.
    """
    interface_properties = get_interface_properties(interface)
    return server.create_interface(workspace_name, **interface_properties)