Update api.py

remove pass