@require_admin_context
def group_type_access_remove(context, type_id, project_id):
 group_type_id = _group_type_get_id_from_group_type(context, type_id)
 count = _group_type_access_query(context).filter_by(group_type_id=group_type_id).filter_by(project_id=project_id).soft_delete(synchronize_session=False)
 if (count == 0):
  raise exception.GroupTypeAccessNotFound(group_type_id=type_id, project_id=project_id)

@ require_admin_context def group_type_access_remove ( context , type_id , project_id ) : group_type_id = _group_type_get_id_from_group_type ( context , type_id ) count = _group_type_access_query ( context ) . filter_by ( group_type_id = group_type_id ) . filter_by ( project_id = project_id ) . soft_delete ( synchronize_session = False ) if ( count == 0 ) : raise exception . GroupTypeAccessNotFound ( group_type_id = type_id , project_id = project_id )
remove group type access for project .