We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 380e573 commit 5d99664Copy full SHA for 5d99664
1 file changed
infrahub_sdk/timestamp.py
@@ -153,7 +153,7 @@ def add(
153
nanoseconds: int = 0,
154
disambiguate: Literal["compatible"] = "compatible",
155
) -> Timestamp:
156
- return Timestamp(
+ return self.__class__(
157
self._obj.add(
158
years=years,
159
months=months,
@@ -183,7 +183,7 @@ def subtract(
183
184
185
186
187
self._obj.subtract(
188
189
0 commit comments