jaycesles
08/02/2025, 5:50 PMXuanwo
08/03/2025, 5:12 AM/.
> Operators are truly supposed to be so short lived that I should dispose of one and create a new one for every operation?
It depends on your own use case. We encourage users to reuse operator.
> For example if I was writing a file larger than memory from local to s3 I would need several operators right?
I didn't get the connection to file size. Could you elaborate?
it should be simple like (I use rust here, but it should easy to map to python):
rust
let mut r = fs_op.reader("path").await?;
let mut w = s3_op.writer(path).await?;
io::copy(&mut w, &mut r).await?;jaycesles
08/03/2025, 5:21 PMjaycesles
08/03/2025, 5:21 PM