Update client.py

Add support for date type filed.