You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 containing
def result
. Was this eventually deprecated and removed? What is the replacement? Most of the methods can't be used after the commit.The text was updated successfully, but these errors were encountered: