<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bulk_upsert(self, docs, namespace, timestamp):
 """Upsert each document in a set of documents. This method may be overridden to upsert many documents at once. """

        for doc in docs:
            self.upsert(doc, namespace, timestamp)