[ https://issues.apache.org/jira/browse/TINKERPOP-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249787#comment-16249787 ]
ASF GitHub Bot commented on TINKERPOP-1807: ------------------------------------------- Github user davebshow commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/741#discussion_r150589566 --- Diff: gremlin-python/src/main/jython/tests/structure/io/test_graphson.py --- @@ -121,6 +125,19 @@ class X(object): serdes.objectify.assert_called_once_with(value, reader) assert o is serdes.objectify() + def test_datetime(self): + dt = self.graphson_reader.readObject(json.dumps({"@type": "g:Date", "@value": 1481750076295})) + assert isinstance(dt, datetime.datetime) --- End diff -- Yeah I guess. TBH, I don't find any of these tests too meaningful, which is why I added the functional IO tests at the end that actually send and receive messages from the server and verify that they are equal. I can add the asserts though if you want. > Gremlin-Python doesn't support GraphSON types g:Date, g:Timestamp and g:UUID > ---------------------------------------------------------------------------- > > Key: TINKERPOP-1807 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1807 > Project: TinkerPop > Issue Type: Improvement > Components: python > Affects Versions: 3.3.0, 3.2.6 > Reporter: Florian Hockmann > > Apparently the GraphSON types {{g:Date}}, {{g:Timestamp}} and {{g:UUID}} are > currently not supported in Gremlin-Python. -- This message was sent by Atlassian JIRA (v6.4.14#64029)