You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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](https://docs.python.org/3/library/json.html#encoders-and-decoders) which iterates over the return object. You can explore the source code in the `parse_datetime.py` file.
1
+
# Parse DateTime Automatically
4
2
3
+
Simple demonstration on how to automatically convert DGraph's DateTime strings to native python
4
+
datetime objects. This example expands on the `simple.py` demonstration. It uses a JSON custom
5
+
[object hook](https://docs.python.org/3/library/json.html#encoders-and-decoders) which iterates
6
+
over the return object. You can explore the source code in the `parse_datetime.py` file.
5
7
6
8
## Running
7
9
8
-
The conditions for running this example are the same as described in the [simple example](https://github.com/dgraph-io/pydgraph/tree/master/examples/simple).
10
+
The conditions for running this example are the same as described in the
0 commit comments