Python Anti-Pattern :: Valinsky

I was writing a lambda function which, among other things, was supposed to read a csv file from S3, perform some validation on every row, then use boto3 to perform an S3 multipart upload.
I created a wrapper class around the multipart upload functionality and I was using it inside the lambda_handler. The code is simplified for brevity.
class S3MultipartUploader: """ Wrapper class around the S3 multipart upload functionality. """ def __init__(self, key: str, mu…