Bogdanp/django_dramatiq

Add silent option for startup

开放

#120 创建于 2022年3月17日

 (3 条评论) (0 个反应) (0 位负责人)Python (86 个派生)github user discovery
enhancementgood first issue

仓库指标

星标
 (384 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南