bloomberg / bloomberg/python-comdb2
Support intervalds and/or intervaldsus
Aperta
- Lingua principale
- Python
- Stelle
- 29
- Fork
- 28
- Merge medio
- 11h 25m
- PR unite (30g)
- 2
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.