No engine for get-processes, and decode reconciliation JSON response
This commit is contained in:
parent
59b9b51715
commit
7a77121e8c
|
@ -339,7 +339,7 @@ class RefineProject:
|
||||||
|
|
||||||
def wait_until_idle(self, polling_delay=0.5):
|
def wait_until_idle(self, polling_delay=0.5):
|
||||||
while True:
|
while True:
|
||||||
response = self.do_json('get-processes')
|
response = self.do_json('get-processes', include_engine=False)
|
||||||
if 'processes' in response and len(response['processes']) > 0:
|
if 'processes' in response and len(response['processes']) > 0:
|
||||||
time.sleep(polling_delay)
|
time.sleep(polling_delay)
|
||||||
else:
|
else:
|
||||||
|
@ -602,4 +602,4 @@ class RefineProject:
|
||||||
'columnDetails': [],
|
'columnDetails': [],
|
||||||
}
|
}
|
||||||
return self.do_json('reconcile', {
|
return self.do_json('reconcile', {
|
||||||
'columnName': column, 'config': config})
|
'columnName': column, 'config': json.dumps(config)})
|
||||||
|
|
Loading…
Reference in New Issue