def append_to_queue()

in ees_network_drive/connector_queue.py [0:0]


    def append_to_queue(self, documents):
        """Append documents to the shared queue
        :param documents: documents fetched from sharepoint
        """
        if documents:
            documents_map = {"type": "document_list", "data": documents}
            self.logger.debug(f"Thread ID {threading.get_ident()} added list of {len(documents)} \
                documents into the queue ")
            self.put(documents_map)