Python library is missing operators and structs available in Rust
ChristopherRabotin opened this issue · 0 comments
ChristopherRabotin commented
These need to be added after the __sub__
function in epoch.rs
:
-
__sub__
with an Epoch -- if it isn't possible to overload this function with pyo3, a specific function will need to be provided, e.g.timedelta
to use asmy_epoch.timedelta(another_epoch)
- Functions for the
>
,<
operators -
__eq__
forEpoch
andDuration
Duration also needs the operators >
, <
, ==
. .