mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
Fix import paths to match graphene>=1.0 paths
This commit is contained in:
parent
adfbffb267
commit
f5c5d33639
|
@ -24,8 +24,8 @@ The following is an example for creating a DateTime scalar:
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
from graphene.core.classtypes import Scalar
|
from graphene.types import Scalar
|
||||||
from graphql.core.language import ast
|
from graphql.language import ast
|
||||||
|
|
||||||
class DateTime(Scalar):
|
class DateTime(Scalar):
|
||||||
'''DateTime Scalar Description'''
|
'''DateTime Scalar Description'''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user