'Creates a generator to extract data from the queue.
Skip the data if it is `None`.
# Returns
A generator'

def get(self):

    while self.is_running():
        if (not self.queue.empty()):
            inputs = self.queue.get()
            if (inputs is not None):
                (yield inputs)
        else:
            time.sleep(self.wait_time)
