<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_items(self, source=None, target=None):
 """Get all records from source collection to add to target. :param source: Input collection :type source: QueryEngine :param target: Output collection :type target: QueryEngine """

        self._groups = self.shared_dict()
        self._target_coll = target.collection
        self._src = source
        return source.query()