We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340d5ed commit 8eb2807Copy full SHA for 8eb2807
docs/types/scalars.rst
@@ -271,7 +271,7 @@ The following is an example for creating a DateTime scalar:
271
272
@staticmethod
273
def parse_literal(node, _variables=None):
274
- if isinstance(node, ast.StringValue):
+ if isinstance(node, ast.StringValueNode):
275
return datetime.datetime.strptime(
276
node.value, "%Y-%m-%dT%H:%M:%S.%f")
277
0 commit comments