Skip to content

Commit 7159abb

Browse files
Baraduns3rius
authored andcommitted
Fixing errors and removing unnecessary parameters in docstrings. (#431)
1 parent 80b0237 commit 7159abb

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

taskiq/decor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def kicker(self) -> AsyncKicker[_FuncParams, _ReturnType]:
163163
"""
164164
This function returns kicker object.
165165
166-
Kicker is a object that can modify kiq request
166+
Kicker is an object that can modify kiq request
167167
before sending it.
168168
169169
:return: AsyncKicker instance.

taskiq/kicker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ async def schedule_by_cron(
184184
:param source: schedule source.
185185
:param cron: cron expression.
186186
:param args: function's args.
187-
:param cron_offset: cron offset.
188187
:param kwargs: function's kwargs.
189188
190189
:return: schedule id.

taskiq/serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def exception_to_python(
336336
"""Convert serialized exception to Python exception.
337337
338338
:param exc: encoded exception
339-
:raises SecurityError: exception isn't indead an exception
339+
:raises SecurityError: exception isn't indeed an exception
340340
:return: decoded exception or None
341341
"""
342342
if not exc:

taskiq/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def wait_result(
7373
ready. And if it is it returns the result.
7474
7575
It may throw TaskiqResultTimeoutError if
76-
task didn't became ready in provided
76+
task didn't become ready in provided
7777
period of time.
7878
7979
:param check_interval: How often checks are performed.

0 commit comments

Comments
 (0)