def session_client_wrapper(self, client, vault_url=None): client = Session._old_client(self, client) # TODO: Is there a way to override it properly instead of hijacking? if hasattr(client, '_config'): client._config.polling_interval = 0 # TODO: Legacy clients.. Just in case if hasattr(client, 'config'): client.config.long_running_operation_timeout = 0 return client
def session_client_wrapper(self, client): client = Session._old_client(self, client) client.config.long_running_operation_timeout = 0 return client