github praw-dev/praw v8.0.0rc2

pre-release8 hours ago

Changed

  • Subreddit.submit_gallery, Subreddit.submit_image, Subreddit.submit_poll,
    and Subreddit.submit_video have been merged into :meth:.Subreddit.submit. The
    kind of submission is selected with the gallery, image, poll, url, or
    video keyword argument. At least one of those, or selftext, must be provided,
    and they are mutually exclusive, while selftext may accompany any of them as
    optional Markdown-formatted body text. image takes a :class:.PostMedia instance;
    gallery takes a list of :class:.PostMedia instances or dict\ s with a
    media key; video takes a :class:.PostMedia instance or a dict with a
    media key and optional gif and thumbnail keys; and poll takes a
    dict with duration and options keys. selftext is no longer required
    for poll submissions.

Don't miss a new praw release

NewReleases is sending notifications on new releases.