Enhancement: `to_dict` method
オープン
- 主要言語
- Python
- スター
- 492
- フォーク
- 129
- 平均マージ
- 14時間 28分
- マージ済み PR(30日)
- 35
説明
Hi there,
Thanks for this library. I'd like to ask for a convenience method that output a dict of a multidict - with lists for multi-values. Currently I have this:
```python
def dict(self) -> Dict[str, List[Any]]:
"""
Returns:
A dict of lists
"""
return {k: self.getall(k) for k in set(self.keys)}
```
While this works, its not very performant.
コントリビューションガイド
評価
この issue はまだ評価されていません。