mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +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
|
||||
|
||||
import datetime
|
||||
from graphene.core.classtypes import Scalar
|
||||
from graphql.core.language import ast
|
||||
from graphene.types import Scalar
|
||||
from graphql.language import ast
|
||||
|
||||
class DateTime(Scalar):
|
||||
'''DateTime Scalar Description'''
|
||||
|
|
Loading…
Reference in New Issue
Block a user