Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-orchestra-HEAD/orchestra/apps/orchestration/models.py   django-orchestra(Download)
    def get_backend(self):
        for backend in ServiceBackend.get_backends():
            if backend.get_name() == self.backend:
                return backend
        raise KeyError('This backend is not registered')

src/d/j/django-orchestra-HEAD/orchestra/apps/orchestration/middlewares.py   django-orchestra(Download)
            return
        pending_operations = cls.get_pending_operations()
        for backend in ServiceBackend.get_backends():
            instance = None
            if backend.is_main(kwargs['instance']):