def __init__(self, service_instance, account_key, account_name, protocol='http'): _HTTPClient.__init__(self, service_instance, account_name=account_name, account_key=account_key, protocol=protocol) self.is_batch = False self.batch_requests = [] self.batch_table = '' self.batch_partition_key = '' self.batch_row_keys = []
def __init__(self, service_instance, authentication, protocol='http', timeout=DEFAULT_HTTP_TIMEOUT): _HTTPClient.__init__(self, service_instance, protocol=protocol, timeout=timeout) self.authentication = authentication self.is_batch = False self.batch_requests = [] self.batch_table = '' self.batch_partition_key = '' self.batch_row_keys = []
def __init__(self, service_instance, account_key, account_name, protocol='http', timeout=DEFAULT_HTTP_TIMEOUT): _HTTPClient.__init__(self, service_instance, account_name=account_name, account_key=account_key, protocol=protocol, timeout=timeout) self.is_batch = False self.batch_requests = [] self.batch_table = '' self.batch_partition_key = '' self.batch_row_keys = []