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 591b83b commit 34e0f66Copy full SHA for 34e0f66
src/dispatch/proto.py
@@ -55,6 +55,8 @@ class Input:
55
"dispatch_id",
56
"parent_dispatch_id",
57
"root_dispatch_id",
58
+ "creation_time",
59
+ "expiration_time",
60
"_has_input",
61
"_input",
62
"_coroutine_state",
@@ -66,6 +68,12 @@ def __init__(self, req: function_pb.RunRequest):
66
68
self.dispatch_id = req.dispatch_id
67
69
self.parent_dispatch_id = req.parent_dispatch_id
70
self.root_dispatch_id = req.root_dispatch_id
71
+ self.creation_time = (
72
+ req.creation_time.ToDatetime() if req.creation_time else None
73
+ )
74
+ self.expiration_time = (
75
+ req.expiration_time.ToDatetime() if req.expiration_time else None
76
77
78
self._has_input = req.HasField("input")
79
if self._has_input:
0 commit comments