Add a helper method declare multiple key flags.
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 279
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Would it be possible to get a new function `declare_key_flags()` that behaves like `declare_key_flag()` but takes a Collection of flags instead of a single flag? It would make it easier to do something like this:
```python
# foo.py
FEATURE1_KEY_FLAGS = ('foo', 'bar')
FEATURE2_KEY_FLAGS = ('quux', 'baz')
# main.py
flags.declare_key_flags(foo.FEATURE1_KEY_FLAGS)
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.