def OnDelete(self, deletion_pool=None):
    if deletion_pool is None:
      raise ValueError("deletion_pool can't be None")
The commit_on_success decorator also works with a using argument.
dataset/ETHPy150Open google/grr/grr/lib/aff4.py/AFF4Object.OnDelete--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/modeltests/transactions/tests.py/TransactionTests.test_commit_on_success_with_using