Traceback (most recent call last):


 "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 383, in run_background_function

_function_handler.invoke_user_function(event_object)


 "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 217, in invoke_user_function

return call_user_function(request_or_event)


 "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 214, in call_user_function

event_context.Context(**request_or_event.context))


 "/user_code/main.py", line 62, in user_delete_anonymous

if check_event(context.event_id):


 "/user_code/main.py", line 27, in check_event

events_ref.update({'events': ArrayUnion([event_id])})


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/document.py", line 379, in update

batch.update(self, field_updates, option=option)


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/batch.py", line 112, in update

reference._document_path, field_updates, option


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 822, in pbs_for_update

update_pb = extractor.get_update_pb(document_path)


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 459, in get_update_pb

name=document_path, fields=encode_dict(self.set_fields)


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 215, in encode_dict

return {key: encode_value(value) for key, value in six.iteritems(values_dict)}


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 215, in <dictcomp>

return {key: encode_value(value) for key, value in six.iteritems(values_dict)}


 "/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 200, in encode_value

"Cannot convert to a Firestore Value", value, "Invalid type", type(value)
TypeError: ('Cannot convert to a Firestore Value', <google.cloud.firestore_v1beta1.transforms.ArrayUnion object at 0x2a79c19b2fd0>, 'Invalid type', <class 'google.cloud.firestore_v1beta1.transforms.ArrayUnion'>)

Traceback (most recent call last):


 "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/garage/experiment/experiment_wrapper.py", line 251, in <module>

run_experiment(sys.argv)


 "/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/garage/experiment/experiment_wrapper.py", line 166, in run_experiment

args.resume_from_epoch)


 "examples/tf/dqn_pong.py", line 87, in run_task

buffer_batch_size=32)
TypeError: __init__() got an unexpected keyword argument 'steps_per_epoch'
