def ptransform_fn(fn):
  return CallablePTransform(fn)
A decorator for a function-based PTransform.
dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/transforms/ptransform.py/ptransform_fn