bloomberg / bloomberg/python-comdb2
Support intervalds and/or intervaldsus
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 29
- Fork
- 28
- Merge trung bình
- 11 giờ 25 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
**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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.