code: def put_photo(self, image, album_path="me/photos", **kwargs):
          
          return self.request(
              "{0}/{1}".format(self.version, album_path),
              post_args=kwargs,
              files={"source": image},
              method="POST",
          )
docs: Upload an image using multipart/form-data.
  
          image - A file object representing the image to be uploaded.
          album_path - A path representing where the image should be uploaded.