Fixes Builder error
This commit is contained in:
@@ -1035,8 +1035,8 @@ class Session(Closeable, SubListener, DealerClient.MessageListener):
|
|||||||
class Builder:
|
class Builder:
|
||||||
# Proxy
|
# Proxy
|
||||||
proxyEnabled: bool = False
|
proxyEnabled: bool = False
|
||||||
proxyType: Proxy.Type
|
proxyType: Proxy.Type = Proxy.Type.DIRECT
|
||||||
proxyAddress: str
|
proxyAddress: str = None
|
||||||
proxyPort: int
|
proxyPort: int
|
||||||
proxyAuth: bool
|
proxyAuth: bool
|
||||||
proxyUsername: str
|
proxyUsername: str
|
||||||
@@ -1045,7 +1045,7 @@ class Session(Closeable, SubListener, DealerClient.MessageListener):
|
|||||||
# Cache
|
# Cache
|
||||||
cache_enabled: bool = True
|
cache_enabled: bool = True
|
||||||
cache_dir: str = os.path.join(os.getcwd(), "cache")
|
cache_dir: str = os.path.join(os.getcwd(), "cache")
|
||||||
do_cache_clean_up: bool
|
do_cache_clean_up: bool = True
|
||||||
|
|
||||||
# Stored credentials
|
# Stored credentials
|
||||||
store_credentials: bool = True
|
store_credentials: bool = True
|
||||||
@@ -1053,7 +1053,7 @@ class Session(Closeable, SubListener, DealerClient.MessageListener):
|
|||||||
os.getcwd(), "credentials.json")
|
os.getcwd(), "credentials.json")
|
||||||
|
|
||||||
# Fetching
|
# Fetching
|
||||||
retry_on_chunk_error: bool
|
retry_on_chunk_error: bool = True
|
||||||
|
|
||||||
def set_proxy_enabled(
|
def set_proxy_enabled(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user