Hi,
I am mostly working with Dataflow using Beam, but I mostly develop using
the local runner. However, I am interacting with other google service in
production which I don't want to necessarily interact with during the
development stage.

I am wondering if there is a way to write something like:

if (runner == "Dataflow") {
  // do stuff
} else {
  // do nothing
}

inside my PTransform / DoFn or elsewhere in the code.

Is there anyway I can fill the "runner" variable in a consistent way?

Thanks,
D.

Reply via email to