Open topknopp opened 2 years ago
Hey @topknopp Thanks for your collaboration & sorry for the very late response. I didn't see this PR until a couple of weeks ago.
Back to the PR, I suggest adding the functionality using magic functions, as this library is already heavily relying on them. For this functionality, you can implement __lshift__
and __rshift__
.
https://docs.python.org/3/reference/datamodel.html#object.__lshift__
Kudos, SonarCloud Quality Gate passed!
Added a method to shift a timeframe by a given timedelta.