code: def put(self, bucket=None, key=None, upload_id=None):
          
          if upload_id is not None:
              return self.multipart_uploadpart(bucket, key, upload_id)
          else:
              return self.create_object(bucket, key)
docs: Update a new object or upload a part of a multipart upload.
  
          :param bucket: The bucket (instance or id) to get the object from.
              (Default: ``None``)
          :param key: The file key. (Default: ``None``)
          :param upload_id: The upload ID. (Default: ``None``)
          :returns: A Flask response.