mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Add files via upload
This commit is contained in:
parent
64d8850d03
commit
b81eae42d7
|
@ -10,7 +10,7 @@ import win32com
|
|||
import win32com.client
|
||||
import pythoncom
|
||||
|
||||
sys.path.insert(0, '')
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from concurrent import futures
|
||||
import logging
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, '')
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from concurrent import futures
|
||||
import logging
|
||||
|
@ -19,7 +20,7 @@ import WelsonAppLoader_pb2_grpc
|
|||
def run():
|
||||
with grpc.insecure_channel("localhost:50051") as channel:
|
||||
stub = WelsonAppLoader_pb2_grpc.WelsonAppLoaderStub(channel)
|
||||
response = stub.Run(WelsonAppLoader_pb2.AppRequest(appName="helloworld"))
|
||||
response = stub.Run(WelsonAppLoader_pb2.AppRequest(appName="extramath-test"))
|
||||
print("Response: " + response.responseText)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue
Block a user