def batch(self, requester_pays_project=None):
     return Batch(backend=LocalBackend(),
                  requester_pays_project=requester_pays_project)
 def test_backend_context_manager(self):
     with LocalBackend() as backend:
         b = Batch(backend=backend)
         b.run()
Пример #3
0
 def batch(self):
     return Batch(backend=LocalBackend())