bloomberg / bloomberg/python-comdb2
Support intervalds and/or intervaldsus
オープン
- 主要言語
- Python
- スター
- 29
- フォーク
- 28
- 平均マージ
- 11時間 25分
- マージ済み PR(30日)
- 2
説明
**Is your feature request related to a problem? Please describe.**
It would be convenient to store time durations directly in the DB rather than storing it as a number of seconds.
**Describe the solution you'd like**
Use a Python timedelta to map to the Comdb2 intervalds or intervaldsus values. This seems like a natural mapping.
**Describe alternatives you've considered**
The alternative is to use a double or an int (depending on the needed precision) to store the duration as a number of seconds.
コントリビューションガイド
評価
この issue はまだ評価されていません。