google.appengine.datastore.datastore_index.PropertyPresenter

A PyYaml presenter for Property.

It differs from the default by not outputting mode: null and direction when mode is specified. This is done in order to ensure backwards compatibility.

dumper The Dumper object provided by PyYaml.
prop The Property object to serialize.

A PyYaml object mapping.