Update client.py

Added additional docstrings