code: def upload_file(self, path: str, bucket: str, key: str) -> None:
      with open(path, "r") as fp:
          self.put_object(Bucket=bucket, Key=key, Body=fp.read())
  
file_path: determined/harness/tests/s3.py
imports: from typing import Any, Dict, List, Tuple
  import boto3.exceptions
label_desc: Use image node_id 3 for calling the MockS3Client obj's underlying member method code with example usage: obj.upload_file(path, bucket, key) without return types