rhec/pyelasticsearch — pull request #12 by toastdriven (2011-12-31 07:28:08+00:00)
Title: Added convenience helpers to ease sending/receiving data.

A better variant of the previous pull request. Lets the user use native Python data types & use the added utility methods for conversion. As it stands, datetime/date objects or non-unicode strings can cause the JSON encoder to blow up.