Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
add kwargs to thrift.load docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Sep 22, 2015
1 parent 28ee9d4 commit bcecb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tchannel/thrift/rw.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def load(path, service=None, hostport=None, module_name=None):
from tchannel import TChannel, thrift
# Load our server's interface definition.
donuts = thrift.load('donuts.thrift')
donuts = thrift.load(path='donuts.thrift')
# We need to specify a service name or hostport because this is a
# downstream service we'll be calling.
coffee = thrift.load('coffee.thrift', 'coffee')
coffee = thrift.load(path='coffee.thrift', service='coffee')
tchannel = TChannel('donuts')
Expand Down

0 comments on commit bcecb95

Please sign in to comment.