Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Test whether an interface is implemented by the specification

src/p/a/PayPy-0.6/paypy/serializers/authnet/arb.py   PayPy(Download)
        auth      = schema.authentication
 
        if IAuthnetSubscriptionCreate.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['create']
        elif IAuthnetSubscriptionUpdate.providedBy(trans):

src/p/a/PayPy-0.6/paypy/adapters/authnet/arb.py   PayPy(Download)
    def create(self):
        """Create a new subscription."""
 
        if not IAuthnetSubscriptionCreate.providedBy(self.options.subscription):
            raise ARBException('a creation request must conform to the IAuthnetSubscriptionCreate interface')