Bogdanp/django_dramatiq

Add silent option for startup

オープン

#120 opened on 2022/03/17

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Python (86 件のフォーク)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (384 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Hi,

Currently the rundramatiq management prints each tasks module it finds on startup:

* Discovered tasks module foo.tasks
* Discovered tasks module bar.tasks

This output can be quite long if you have many tasks modules.

It would be nice if this was possible to silence by adding a -v0 option to the command.

Relevant code: https://github.com/Bogdanp/django_dramatiq/blob/master/django_dramatiq/management/commands/rundramatiq.py#L176

コントリビューターガイド