I think It should be like this: DataStorage::clear_all_ns(exception_list=SPECIAL_NS_LIST)