Skip to content

Commit bae1ed2

Browse files
authored
Merge pull request arskom#555 from quinefang/patch-1
Update helloworld_http.py
2 parents 436f3d3 + c0911f6 commit bae1ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/helloworld_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040

4141
import logging
4242

43-
from spyne import Application, rpc, Service, Iterable, UnsignedInteger, \
43+
from spyne import Application, rpc, ServiceBase, Iterable, UnsignedInteger, \
4444
String
4545

4646
from spyne.protocol.json import JsonDocument
4747
from spyne.protocol.http import HttpRpc
4848
from spyne.server.wsgi import WsgiApplication
4949

5050

51-
class HelloWorldService(Service):
51+
class HelloWorldService(ServiceBase):
5252
@rpc(String, UnsignedInteger, _returns=Iterable(String))
5353
def say_hello(ctx, name, times):
5454
"""

0 commit comments

Comments
 (0)