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
|
@ -11,7 +11,7 @@ core = client.CoreGrpcClient()
|
|||
core.connect()
|
||||
|
||||
# add session
|
||||
session = core.add_session()
|
||||
session = core.create_session()
|
||||
|
||||
# create nodes
|
||||
position = Position(x=200, y=200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue