Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
noisyboiler committed Dec 30, 2018
1 parent 3b90c02 commit a611247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -70,6 +70,7 @@ For a Flask Peer to fulfill a Caller or Publisher Role you need a handle on that
from flask import g
@app.route('/foo')
def my_view_function():
wampy = g.wampy
wampy.rpc.some_remote_procedure(*args, **kwargs)
Expand Down

0 comments on commit a611247

Please sign in to comment.