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

All Samples(19)  |  Call(10)  |  Derive(0)  |  Import(9)
Base AstakosClientException Class

src/s/y/synnefo-HEAD/astakosclient/astakosclient/__init__.py   synnefo(Download)
from astakosclient.utils import \
    retry_dec, scheme_to_class, parse_request, check_input, join_urls
from astakosclient.errors import \
    AstakosClientException, Unauthorized, BadRequest, NotFound, Forbidden, \
    NoUserName, NoUUID, BadValue, QuotaLimit, InvalidResponse, NoEndpoints
        except Exception as err:
            self.logger.error("Failed to send request: %s" % repr(err))
            raise AstakosClientException(str(err))
 
        # Return
            raise NotFound(message, data)
        elif status < 200 or status >= 300:
            raise AstakosClientException(message, data, status)
 
        try:
                  % data
            self.logger.error(msg)
            raise AstakosClientException(msg)
 
    def get_usernames(self, uuids):
                  "No displayname_catalog found" % data
            self.logger.error(msg)
            raise AstakosClientException(msg)
 
    def get_uuids(self, display_names):

src/a/s/astakosclient-0.15/astakosclient/__init__.py   astakosclient(Download)
from astakosclient.utils import \
    retry_dec, scheme_to_class, parse_request, check_input, join_urls
from astakosclient.errors import \
    AstakosClientException, Unauthorized, BadRequest, NotFound, Forbidden, \
    NoUserName, NoUUID, BadValue, QuotaLimit, InvalidResponse, NoEndpoints
        except Exception as err:
            self.logger.error("Failed to send request: %s" % repr(err))
            raise AstakosClientException(str(err))
 
        # Return
            raise NotFound(message, data)
        elif status < 200 or status >= 300:
            raise AstakosClientException(message, data, status)
 
        try:
                  % data
            self.logger.error(msg)
            raise AstakosClientException(msg)
 
    def get_usernames(self, uuids):
                  "No displayname_catalog found" % data
            self.logger.error(msg)
            raise AstakosClientException(msg)
 
    def get_uuids(self, display_names):

src/s/y/synnefo-HEAD/snf-django-lib/snf_django/lib/astakos.py   synnefo(Download)
 
from astakosclient import AstakosClient
from astakosclient.errors import (Unauthorized, NoUUID, NoUserName,
                                  AstakosClientException)
 

src/s/y/synnefo-HEAD/snf-pithos-app/pithos/api/util.py   synnefo(Download)
 
from astakosclient import AstakosClient
from astakosclient.errors import NoUserName, NoUUID, AstakosClientException
 
import logging

src/s/y/synnefo-HEAD/astakosclient/astakosclient/utils.py   synnefo(Download)
import simplejson
from objpool.http import PooledHTTPConnection
from astakosclient.errors import AstakosClientException, BadValue
 
 

src/a/s/astakosclient-0.15/astakosclient/utils.py   astakosclient(Download)
import simplejson
from objpool.http import PooledHTTPConnection
from astakosclient.errors import AstakosClientException, BadValue
 
 

src/s/y/synnefo-HEAD/snf-django-lib/snf_django/lib/api/__init__.py   synnefo(Download)
 
from astakosclient import AstakosClient
from astakosclient.errors import AstakosClientException
from django.conf import settings
from snf_django.lib.api import faults

src/s/y/synnefo-HEAD/astakosclient/astakosclient/tests.py   synnefo(Download)
from astakosclient import AstakosClient
from astakosclient.utils import join_urls
from astakosclient.errors import \
    AstakosClientException, Unauthorized, BadRequest, NotFound, \
    NoUserName, NoUUID, BadValue, QuotaLimit

src/a/s/astakosclient-0.15/astakosclient/tests.py   astakosclient(Download)
from astakosclient import AstakosClient
from astakosclient.utils import join_urls
from astakosclient.errors import \
    AstakosClientException, Unauthorized, BadRequest, NotFound, \
    NoUserName, NoUUID, BadValue, QuotaLimit