mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Removed unnecessary meta in starters example
This commit is contained in:
parent
ee3279e12b
commit
b06f44ed73
|
@ -41,9 +41,6 @@ class Query(graphene.ObjectType):
|
||||||
id=graphene.Argument(graphene.String)
|
id=graphene.Argument(graphene.String)
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
|
||||||
type_name = 'core_Query'
|
|
||||||
|
|
||||||
@resolve_only_args
|
@resolve_only_args
|
||||||
def resolve_hero(self, episode=None):
|
def resolve_hero(self, episode=None):
|
||||||
return getHero(episode)
|
return getHero(episode)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user