(self)
Disable the proxying and always use self.main_client

        This is mainly useful within the lightbus worker (i.e. `lightbus run`).
        In this case lightbus is in control of the process so can make sane choices
        with regards its use of threads, rather than being at the mercy of some
        other system (i.e. gunicorn, django's development server, etc)
Disable the proxying and always use self.main_client
Disable the proxying and always use self . main_client
def disable_proxy(self):
        """Disable the proxying and always use self.main_client

        This is mainly useful within the lightbus worker (i.e. `lightbus run`).
        In this case lightbus is in control of the process so can make sane choices
        with regards its use of threads, rather than being at the mercy of some
        other system (i.e. gunicorn, django's development server, etc)
        """
        self.enabled = False
def disable_proxy ( self ) : self . enabled = False