mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-08 23:50:38 +03:00
Improved scalars
This commit is contained in:
parent
3e77f258b4
commit
3620e2ad4e
|
@ -19,8 +19,8 @@ class ScalarTypeMeta(type):
|
||||||
|
|
||||||
options = Options(
|
options = Options(
|
||||||
attrs.pop('Meta', None),
|
attrs.pop('Meta', None),
|
||||||
name=None,
|
name=name,
|
||||||
description=None,
|
description=attrs.get('__doc__'),
|
||||||
)
|
)
|
||||||
|
|
||||||
return super_new(cls, name, bases, dict(attrs, _meta=options))
|
return super_new(cls, name, bases, dict(attrs, _meta=options))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user