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

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

src/d/j/django-multitenant-HEAD/tenant/providers.py   django-multitenant(Download)
        if len(self._tenants) > 0:
            from tenant import settings
            if len(self._tenants) >= settings.MULTITENANT_MAX_TENANTS['default']:
                tenant, timestamp = self._tenants.pop(0)
                if tenant and tenant in self.store: