I'm building a pipeline using Apache Beam in Python and I'm needing to avoid a race condition when writing to a file in Google Cloud Storage.
The following link describes how to use concurrency control in Google Cloud Storage using gsutil
.
Does anyone know if there is a way to accomplish the same thing using Python or the Apache Beam Python SDK?