Clarify that PreparedRequests should not be manually created

Closes #5504
This commit is contained in:
Nick Krichevsky
2020-06-18 22:06:23 -04:00
parent 1ca1c52e69
commit 9cae7be94f
+3 -1
View File
@@ -273,7 +273,9 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
"""The fully mutable :class:`PreparedRequest <PreparedRequest>` object,
containing the exact bytes that will be sent to the server.
Generated from either a :class:`Request <Request>` object or manually.
Instances are generated from a :class:`Request <Request>` object, and
should not be instantiated manually; doing so may produce undesirable
effects.
Usage::