We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fbcce commit 1402606Copy full SHA for 1402606
ydb/_grpc/grpcwrapper/common_utils.py
@@ -290,6 +290,7 @@ def proto_duration_from_timedelta(t: Optional[datetime.timedelta]) -> Optional[P
290
291
res = ProtoDuration()
292
res.FromTimedelta(t)
293
+ return res
294
295
296
def proto_timestamp_from_datetime(t: Optional[datetime.datetime]) -> Optional[ProtoTimeStamp]:
@@ -298,6 +299,7 @@ def proto_timestamp_from_datetime(t: Optional[datetime.datetime]) -> Optional[Pr
298
299
300
res = ProtoTimeStamp()
301
res.FromDatetime(t)
302
303
304
305
def datetime_from_proto_timestamp(
0 commit comments