@@ -70,28 +70,28 @@ async def publish(
7070 :param method: The HTTP method to use when sending a webhook to your API.
7171 :param headers: Headers to forward along with the message.
7272 :param callback_headers: Headers to forward along with the callback message.
73- :param failure_callback_headers: Headers to forward along with the failure
73+ :param failure_callback_headers: Headers to forward along with the failure \
7474 callback message.
75- :param retries: How often should this message be retried in case the destination
75+ :param retries: How often should this message be retried in case the destination \
7676 API is not available.
7777 :param callback: A callback url that will be called after each attempt.
78- :param failure_callback: A failure callback url that will be called when a delivery
78+ :param failure_callback: A failure callback url that will be called when a delivery \
7979 is failed, that is when all the defined retries are exhausted.
80- :param delay: Delay the message delivery. The format for the delay string is a
81- number followed by duration abbreviation, like `10s`. Available durations
82- are `s` (seconds), `m` (minutes), `h` (hours), and `d` (days). As convenience,
83- it is also possible to specify the delay as an integer, which will be
80+ :param delay: Delay the message delivery. The format for the delay string is a \
81+ number followed by duration abbreviation, like `10s`. Available durations \
82+ are `s` (seconds), `m` (minutes), `h` (hours), and `d` (days). As convenience, \
83+ it is also possible to specify the delay as an integer, which will be \
8484 interpreted as delay in seconds.
85- :param not_before: Delay the message until a certain time in the future.
85+ :param not_before: Delay the message until a certain time in the future. \
8686 The format is a unix timestamp in seconds, based on the UTC timezone.
8787 :param deduplication_id: Id to use while deduplicating messages.
88- :param content_based_deduplication: Automatically deduplicate messages based on
88+ :param content_based_deduplication: Automatically deduplicate messages based on \
8989 their content.
90- :param timeout: The HTTP timeout value to use while calling the destination URL.
91- When a timeout is specified, it will be used instead of the maximum timeout
92- value permitted by the QStash plan. It is useful in scenarios, where a message
90+ :param timeout: The HTTP timeout value to use while calling the destination URL. \
91+ When a timeout is specified, it will be used instead of the maximum timeout \
92+ value permitted by the QStash plan. It is useful in scenarios, where a message \
9393 should be delivered with a shorter timeout.
94- :param flow_control: Settings for controlling the number of active requests,
94+ :param flow_control: Settings for controlling the number of active requests, \
9595 as well as the rate of requests with the same flow control key.
9696 """
9797 headers = headers or {}
@@ -163,33 +163,33 @@ async def publish_json(
163163 :param url: Url to send the message to.
164164 :param url_group: Url group to send the message to.
165165 :param api: Api to send the message to.
166- :param body: The request message body passed to the destination after being
166+ :param body: The request message body passed to the destination after being \
167167 serialized as JSON string.
168168 :param method: The HTTP method to use when sending a webhook to your API.
169169 :param headers: Headers to forward along with the message.
170170 :param callback_headers: Headers to forward along with the callback message.
171- :param failure_callback_headers: Headers to forward along with the failure
171+ :param failure_callback_headers: Headers to forward along with the failure \
172172 callback message.
173- :param retries: How often should this message be retried in case the destination
173+ :param retries: How often should this message be retried in case the destination \
174174 API is not available.
175175 :param callback: A callback url that will be called after each attempt.
176- :param failure_callback: A failure callback url that will be called when a delivery
176+ :param failure_callback: A failure callback url that will be called when a delivery \
177177 is failed, that is when all the defined retries are exhausted.
178- :param delay: Delay the message delivery. The format for the delay string is a
179- number followed by duration abbreviation, like `10s`. Available durations
180- are `s` (seconds), `m` (minutes), `h` (hours), and `d` (days). As convenience,
181- it is also possible to specify the delay as an integer, which will be
178+ :param delay: Delay the message delivery. The format for the delay string is a \
179+ number followed by duration abbreviation, like `10s`. Available durations \
180+ are `s` (seconds), `m` (minutes), `h` (hours), and `d` (days). As convenience, \
181+ it is also possible to specify the delay as an integer, which will be \
182182 interpreted as delay in seconds.
183- :param not_before: Delay the message until a certain time in the future.
183+ :param not_before: Delay the message until a certain time in the future. \
184184 The format is a unix timestamp in seconds, based on the UTC timezone.
185185 :param deduplication_id: Id to use while deduplicating messages.
186- :param content_based_deduplication: Automatically deduplicate messages based on
186+ :param content_based_deduplication: Automatically deduplicate messages based on \
187187 their content.
188- :param timeout: The HTTP timeout value to use while calling the destination URL.
189- When a timeout is specified, it will be used instead of the maximum timeout
190- value permitted by the QStash plan. It is useful in scenarios, where a message
188+ :param timeout: The HTTP timeout value to use while calling the destination URL. \
189+ When a timeout is specified, it will be used instead of the maximum timeout \
190+ value permitted by the QStash plan. It is useful in scenarios, where a message \
191191 should be delivered with a shorter timeout.
192- :param flow_control: Settings for controlling the number of active requests,
192+ :param flow_control: Settings for controlling the number of active requests, \
193193 as well as the rate of requests with the same flow control key.
194194 """
195195 return await self .publish (
@@ -253,19 +253,19 @@ async def enqueue(
253253 :param method: The HTTP method to use when sending a webhook to your API.
254254 :param headers: Headers to forward along with the message.
255255 :param callback_headers: Headers to forward along with the callback message.
256- :param failure_callback_headers: Headers to forward along with the failure
256+ :param failure_callback_headers: Headers to forward along with the failure \
257257 callback message.
258- :param retries: How often should this message be retried in case the destination
258+ :param retries: How often should this message be retried in case the destination \
259259 API is not available.
260260 :param callback: A callback url that will be called after each attempt.
261- :param failure_callback: A failure callback url that will be called when a delivery
261+ :param failure_callback: A failure callback url that will be called when a delivery \
262262 is failed, that is when all the defined retries are exhausted.
263263 :param deduplication_id: Id to use while deduplicating messages.
264- :param content_based_deduplication: Automatically deduplicate messages based on
264+ :param content_based_deduplication: Automatically deduplicate messages based on \
265265 their content.
266- :param timeout: The HTTP timeout value to use while calling the destination URL.
267- When a timeout is specified, it will be used instead of the maximum timeout
268- value permitted by the QStash plan. It is useful in scenarios, where a message
266+ :param timeout: The HTTP timeout value to use while calling the destination URL. \
267+ When a timeout is specified, it will be used instead of the maximum timeout \
268+ value permitted by the QStash plan. It is useful in scenarios, where a message \
269269 should be delivered with a shorter timeout.
270270 """
271271 headers = headers or {}
@@ -342,19 +342,19 @@ async def enqueue_json(
342342 :param method: The HTTP method to use when sending a webhook to your API.
343343 :param headers: Headers to forward along with the message.
344344 :param callback_headers: Headers to forward along with the callback message.
345- :param failure_callback_headers: Headers to forward along with the failure
345+ :param failure_callback_headers: Headers to forward along with the failure \
346346 callback message.
347- :param retries: How often should this message be retried in case the destination
347+ :param retries: How often should this message be retried in case the destination \
348348 API is not available.
349349 :param callback: A callback url that will be called after each attempt.
350- :param failure_callback: A failure callback url that will be called when a delivery
350+ :param failure_callback: A failure callback url that will be called when a delivery \
351351 is failed, that is when all the defined retries are exhausted.
352352 :param deduplication_id: Id to use while deduplicating messages.
353- :param content_based_deduplication: Automatically deduplicate messages based on
353+ :param content_based_deduplication: Automatically deduplicate messages based on \
354354 their content.
355- :param timeout: The HTTP timeout value to use while calling the destination URL.
356- When a timeout is specified, it will be used instead of the maximum timeout
357- value permitted by the QStash plan. It is useful in scenarios, where a message
355+ :param timeout: The HTTP timeout value to use while calling the destination URL. \
356+ When a timeout is specified, it will be used instead of the maximum timeout \
357+ value permitted by the QStash plan. It is useful in scenarios, where a message \
358358 should be delivered with a shorter timeout.
359359 """
360360 return await self .enqueue (
0 commit comments