add pydoc for client