In the documentation there's a chapter on Batch API Execution which refers to the following code:
# Retrieve the results of successful jobs.
metadata = job1.result()
assert metadata['_id'] == 'students/Kris'
metadata = job2.result()
assert metadata['_id'] == 'students/Rita'
cursor = job3.result()
assert cursor.next() == 100000
# If a job fails, the exception is propagated up during result retrieval.
try:
result = job4.result()
except AQLQueryExecuteError as err:
assert err.http_code == 400
assert err.error_code == 1501
assert 'syntax error' in err.message
However, executing job*.result() will always result in a
*** AttributeError: 'StandardCollection' object has no attribute 'result'
Also the Repository doesn't have any codelines containing def result. Was this eventually deprecated and removed? What is the replacement? Most of the methods can't be used after the commit.
In the documentation there's a chapter on Batch API Execution which refers to the following code:
However, executing job*.result() will always result in a
*** AttributeError: 'StandardCollection' object has no attribute 'result'
Also the Repository doesn't have any codelines containingdef result
. Was this eventually deprecated and removed? What is the replacement? Most of the methods can't be used after the commit.