@staticmethod
    def get_handle(protocol, *args, **kwargs):

        if protocol == MB_IMAP4:
            return IMAPHandler(*args, **kwargs)
        elif protocol == MB_POP3:
            return POPHandler(*args, **kwargs)

        return None
Make a request to API internally.
dataset/ETHPy150Open codekoala/django-articles/articles/management/commands/check_for_articles_from_email.py/MailboxHandler.get_handle--crossover with--dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/core/utils.py/request_api