type hint for new small update

This commit is contained in:
Huy Pham 2020-01-15 10:55:29 -08:00
commit c1c580cdc4
5 changed files with 21 additions and 9 deletions

View file

@ -53,11 +53,11 @@ class Observer:
class CoreClient:
def __init__(self, app: "Application"):
def __init__(self, app: "Application", proxy: bool):
"""
Create a CoreGrpc instance
"""
self.client = client.CoreGrpcClient()
self.client = client.CoreGrpcClient(proxy=proxy)
self.session_id = None
self.node_ids = []
self.app = app