Skip to content

Files

Latest commit

1ddf473 · Jan 22, 2025

History

History
11 lines (8 loc) · 582 Bytes
·

README.md

File metadata and controls

11 lines (8 loc) · 582 Bytes
·

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.