Add some attributes to bits objects

This commit is contained in:
clement rouault
2024-05-20 11:20:34 +02:00
parent 85a41fbca0
commit b68369936a
+12
View File
@@ -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()