Skip to content

Latest commit

 

History

History

parse_datetime

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Parse DateTime Automatically

Simple demonstration on how to automatically convert Dgraph's DateTime strings to native python datetime objects. This example expands on the simple.py demonstration. It uses a JSON custom object hook which iterates over the return object. You can explore the source code in the parse_datetime.py file.

Running

The conditions for running this example are the same as described in the simple example.