def METHOD_NAME(self):
    from sentry.plugins.base import bindings
    if self.has_integration_provider():
        provider_cls = bindings.get("integration-repository.provider").get(self.provider)
        return provider_cls(self.provider)
    provider_cls = bindings.get("repository.provider").get(self.provider)
    return provider_cls(self.provider)