grpc: updated create session to return a session object with default values, avoids scripts needing to create and then join, can just create and leverage the returned object
This commit is contained in:
parent
598cb0f10d
commit
53ae6ac784
12 changed files with 136 additions and 87 deletions
|
@ -18,7 +18,7 @@ def main(args):
|
|||
core.connect()
|
||||
|
||||
# create session
|
||||
session = core.add_session()
|
||||
session = core.create_session()
|
||||
|
||||
# add distributed server
|
||||
server = Server(name="core2", host=args.server)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue