human
Complete the below
def delete_namespace_content(context, namespace_id, session):

    ''''Use this def only if the ns for the id has been verified as visible'
    '''
 Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    count = 0
    query = session.query(models.MetadefProperty).filter_by(namespace_id=namespace_id)
    count = query.delete(synchronize_session='fetch')
    return count