imranariffin / aiotaskq

A simple asynchronous task queue
MIT License
4 stars 1 forks source link

(#54) Raise error early on invalid arguments to apply_async #62

Closed imranariffin closed 1 year ago

imranariffin commented 1 year ago

Close #54

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +4.61 :tada:

Comparison is base (5c368d7) 94.59% compared to head (c20d8ac) 99.21%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #62 +/- ## ========================================== + Coverage 94.59% 99.21% +4.61% ========================================== Files 17 18 +1 Lines 555 635 +80 ========================================== + Hits 525 630 +105 + Misses 30 5 -25 ``` | [Impacted Files](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin) | Coverage Δ | | |---|---|---| | [src/aiotaskq/\_\_main\_\_.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL2Fpb3Rhc2txL19fbWFpbl9fLnB5) | `85.00% <ø> (ø)` | | | [src/aiotaskq/interfaces.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL2Fpb3Rhc2txL2ludGVyZmFjZXMucHk=) | `100.00% <ø> (ø)` | | | [src/tests/test\_cli.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL3Rlc3RzL3Rlc3RfY2xpLnB5) | `100.00% <ø> (ø)` | | | [src/aiotaskq/exceptions.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL2Fpb3Rhc2txL2V4Y2VwdGlvbnMucHk=) | `100.00% <100.00%> (ø)` | | | [src/aiotaskq/task.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL2Fpb3Rhc2txL3Rhc2sucHk=) | `98.48% <100.00%> (+0.17%)` | :arrow_up: | | [src/aiotaskq/worker.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL2Fpb3Rhc2txL3dvcmtlci5weQ==) | `100.00% <100.00%> (+17.51%)` | :arrow_up: | | [src/tests/apps/simple\_app.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL3Rlc3RzL2FwcHMvc2ltcGxlX2FwcC5weQ==) | `100.00% <100.00%> (+5.00%)` | :arrow_up: | | [src/tests/conftest.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL3Rlc3RzL2NvbmZ0ZXN0LnB5) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_concurrency.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL3Rlc3RzL3Rlc3RfY29uY3VycmVuY3kucHk=) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_integration.py](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin#diff-c3JjL3Rlc3RzL3Rlc3RfaW50ZWdyYXRpb24ucHk=) | `100.00% <100.00%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/imranariffin/aiotaskq/pull/62?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Imran+Ariffin) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.