bloomberg / bloomberg/python-comdb2

Support intervalds and/or intervaldsus

オープン
#36 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。