Пример #1
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(
         get_limit(s_cache=self._server_cache_for_tenant(tenant_id)))
Пример #2
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(
         get_limit(s_cache=self._server_cache_for_tenant(tenant_id))
     )
Пример #3
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(get_limit())
Пример #4
0
 def get_limit(self, request, tenant_id):
     """
     Returns a get flavor response, for any given flavorid
     """
     request.setResponseCode(200)
     return json.dumps(get_limit())