def get_public_projects(user):
 return Node.find_for_user(user).filter(is_public=True, is_deleted=False).get_roots()

def get_public_projects ( user ) : return Node . find_for_user ( user ) . filter ( is_public = True , is_deleted = False ) . get_roots ( )
return a list of a users public projects .