Fix typo in docstring in haas/api.py