Skip to content

Commit 5ed4f1d

Browse files
committed
Fix a readme typo
1 parent 7797c29 commit 5ed4f1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Create a subscribable schema like this:
4646
class Query(graphene.ObjectType):
4747
hello = graphene.String()
4848
49-
@static_method
49+
@staticmethod
5050
def resolve_hello(obj, info, **kwargs):
5151
return "world"
5252
@@ -132,7 +132,7 @@ Create a subscribable schema like this:
132132
class Query(graphene.ObjectType):
133133
hello = graphene.String()
134134
135-
@static_method
135+
@staticmethod
136136
def resolve_hello(obj, info, **kwargs):
137137
return "world"
138138

0 commit comments

Comments
 (0)