Skip to content

Commit daae2a2

Browse files
authored
Merge pull request #1689 from xCROv/Documentation-Update
2 parents 4e22468 + 3659617 commit daae2a2

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Documentation Contributors
2222
- jac0b-w `@jac0b-w <https://github.com/jac0b-w>`_
2323
- Kenneth Yang `@kennethy <https://github.com/kennethy>`_
2424
- Tarak Oueriache <[email protected]> `@igosad <https://github.com/igosad>`_
25+
- xCROv `@xCROv <https://github.com/xCROv>`_
2526

2627
<!-- - Add "Name <email (optional)> and github profile link" above this line. -->
2728

praw/models/reddit/subreddit.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,8 @@ def submit(
870870
newly-submitted post to.
871871
:param flair_id: The flair template to select (default: None).
872872
:param flair_text: If the template's ``flair_text_editable`` value is True, this
873-
value will set a custom text (default: None).
873+
value will set a custom text (default: None). ``flair_id`` is
874+
required when ``flair_text`` is provided.
874875
:param resubmit: When False, an error will occur if the URL has already been
875876
submitted (default: True).
876877
:param send_replies: When True, messages will be sent to the submission author
@@ -1001,7 +1002,8 @@ def submit_gallery(
10011002
traditional comments (default: None).
10021003
:param flair_id: The flair template to select (default: None).
10031004
:param flair_text: If the template's ``flair_text_editable`` value isTrue, this
1004-
value will set a custom text (default: None).
1005+
value will set a custom text (default: None). ``flair_id`` is
1006+
required when ``flair_text`` is provided.
10051007
:param nsfw: Whether or not the submission should be marked NSFW (default:
10061008
False).
10071009
:param send_replies: When True, messages will be sent to the submission author
@@ -1106,7 +1108,8 @@ def submit_image(
11061108
newly-submitted post to.
11071109
:param flair_id: The flair template to select (default: None).
11081110
:param flair_text: If the template's ``flair_text_editable`` value is True, this
1109-
value will set a custom text (default: None).
1111+
value will set a custom text (default: None). ``flair_id`` is
1112+
required when ``flair_text`` is provided.
11101113
:param resubmit: When False, an error will occur if the URL has already been
11111114
submitted (default: True).
11121115
:param send_replies: When True, messages will be sent to the submission author
@@ -1213,7 +1216,8 @@ def submit_poll(
12131216
newly-submitted post to.
12141217
:param flair_id: The flair template to select (default: None).
12151218
:param flair_text: If the template's ``flair_text_editable`` value is True, this
1216-
value will set a custom text (default: None).
1219+
value will set a custom text (default: None). ``flair_id`` is
1220+
required when ``flair_text`` is provided.
12171221
:param resubmit: When False, an error will occur if the URL has already been
12181222
submitted (default: True).
12191223
:param send_replies: When True, messages will be sent to the submission author
@@ -1289,7 +1293,8 @@ def submit_video(
12891293
newly-submitted post to.
12901294
:param flair_id: The flair template to select (default: ``None``).
12911295
:param flair_text: If the template's ``flair_text_editable`` value is True, this
1292-
value will set a custom text (default: ``None``).
1296+
value will set a custom text (default: ``None``). ``flair_id`` is
1297+
required when ``flair_text`` is provided.
12931298
:param resubmit: When False, an error will occur if the URL has already been
12941299
submitted (default: ``True``).
12951300
:param send_replies: When True, messages will be sent to the submission author

0 commit comments

Comments
 (0)