mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Add some attributes to bits objects
This commit is contained in:
@@ -154,6 +154,18 @@ class BitsCopyJob(IBackgroundCopyJob):
|
||||
self.GetMinimumRetryDelay(retry_delay)
|
||||
return retry_delay.value
|
||||
|
||||
@property
|
||||
def no_progress_timeout(self):
|
||||
timeout = gdef.ULONG()
|
||||
self.GetNoProgressTimeout(timeout)
|
||||
return timeout.value
|
||||
|
||||
@property
|
||||
def error_count(self):
|
||||
errors = gdef.ULONG()
|
||||
self.GetErrorCount(errors)
|
||||
return errors.value
|
||||
|
||||
@property
|
||||
def proxy_settings(self):
|
||||
ProxyUsage = gdef.BG_JOB_PROXY_USAGE()
|
||||
|
||||
Reference in New Issue
Block a user