def get_tool_dependency(app, id):
 return app.install_model.context.query(app.install_model.ToolDependency).get(app.security.decode_id(id))

def get_tool_dependency ( app , id ) : return app . install_model . context . query ( app . install_model . ToolDependency ) . get ( app . security . decode_id ( id ) )
get a tool_dependency from the database via id .