mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
Merge pull request #107 from defrex/master
Add some clarifications to the custom Scalar type doc
This commit is contained in:
commit
65fc600faf
|
@ -39,6 +39,7 @@ If you want to create a DateTime Scalar Type just type:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import datetime
|
import datetime
|
||||||
|
from graphene.core.classtypes import Scalar
|
||||||
from graphql.core.language import ast
|
from graphql.core.language import ast
|
||||||
|
|
||||||
class DateTime(Scalar):
|
class DateTime(Scalar):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user