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)
        if IAuthnetSubscriptionCreate.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['create']
        elif IAuthnetSubscriptionUpdate.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['update']
        elif IAuthnetSubscriptionStatus.providedBy(trans):

src/p/a/PayPy-0.6/paypy/adapters/authnet/arb.py   PayPy(Download)
    def update(self):
        """Update a given subscription."""
 
        if not IAuthnetSubscriptionUpdate.providedBy(self.options.subscription):
            raise ARBException('an update request must conform to the IAuthnetSubscriptionUpdate interface')