コード例 #1
0
 def remove_link(dt_id, project_id):
     """
     Remove the link from the datatype given by dt_id to project given by project_id.
     """
     link = dao.get_link(dt_id, project_id)
     if link is not None:
         dao.remove_entity(model.Links, link.id)
コード例 #2
0
 def remove_link(dt_id, project_id):
     """
     Remove the link from the datatype given by dt_id to project given by project_id.
     """
     link = dao.get_link(dt_id, project_id)
     if link is not None:
         dao.remove_entity(Links, link.id)
コード例 #3
0
ファイル: flowservice.py プロジェクト: wvangeit/framework_tvb
 def remove_link(dt_id, project_id):
     """
     Remove the link from the datatype given by dt_id to project given by project_id.
     """
     link = dao.get_link(dt_id, project_id)
     dao.remove_link(link)
コード例 #4
0
 def remove_link(dt_id, project_id):
     """
     Remove the link from the datatype given by dt_id to project given by project_id.
     """
     link = dao.get_link(dt_id, project_id)
     dao.remove_link(link)