Update vpr_api.py

Task #141