Did I find the right examples for you? yes no

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

src/t/x/txAWS-0.2.3/txaws/ec2/client.py   txAWS(Download)
 
from txaws import version
from txaws.client.base import BaseClient, BaseQuery, error_wrapper
from txaws.ec2 import model
from txaws.ec2.exception import EC2Error
def ec2_error_wrapper(error):
    error_wrapper(error, EC2Error)
 
 
class EC2Client(BaseClient):

src/t/x/txAWS-0.2.3/txaws/s3/client.py   txAWS(Download)
from dateutil.parser import parse as parseTime
 
from txaws.client.base import BaseClient, BaseQuery, error_wrapper
from txaws.s3.acls import AccessControlPolicy
from txaws.s3.model import (
def s3_error_wrapper(error):
    error_wrapper(error, S3Error)
 
 
class URLContext(object):

src/l/e/leastauthority.com-HEAD/content/static/patches/txaws/s3/client.py   leastauthority.com(Download)
from epsilon.extime import Time
 
from txaws.client.base import BaseClient, BaseQuery, error_wrapper
from txaws.s3.acls import AccessControlPolicy
from txaws.s3.model import (
def s3_error_wrapper(error):
    error_wrapper(error, S3Error)
 
BUCKET_IN_HOST = True
 

src/t/x/txAWS-0.2.3/txaws/client/tests/test_base.py   txAWS(Download)
 
from txaws.client import ssl
from txaws.client.base import BaseClient, BaseQuery, error_wrapper
from txaws.service import AWSServiceEndpoint
from txaws.testing.base import TXAWSTestCase
    def test_204_no_content(self):
        failure = Failure(TwistedWebError(204, "No content"))
        wrapped = error_wrapper(failure, None)
        self.assertEquals(wrapped, "204 No content")