async def async_write(batch):
    '\n            Prepare async task\n            '
    (await write_api.write(bucket='my-bucket', record=batch))
    return batch
Prepare async task
async def async_write(batch):
    '\n            \n            '
    (await write_api.write(bucket='my-bucket', record=batch))
    return batch