def fetch_and_append_list_items_to_queue()

in ees_sharepoint/sync_sharepoint.py [0:0]


    def fetch_and_append_list_items_to_queue(self, ids, lists_details):
        """Fetches and appends list_items to the queue
        :param ids: id collection of the all the objects
        :param lists_details: dictionary containing list name, list path and id
        """
        documents = self.fetch_items(lists_details, ids)
        if documents:
            self.queue.put(documents)
            self.logger.debug(
                f"Thread ID {threading.get_ident()} added list of {len(documents.get('data'))} list items into the queue"
            )