1
+ import datetime
2
+
1
3
from google .api import annotations_pb2 as _annotations_pb2
2
4
from google .api import client_pb2 as _client_pb2
3
5
from google .api import field_behavior_pb2 as _field_behavior_pb2
@@ -7,7 +9,8 @@ from google.protobuf.internal import containers as _containers
7
9
from google .protobuf .internal import enum_type_wrapper as _enum_type_wrapper
8
10
from google .protobuf import descriptor as _descriptor
9
11
from google .protobuf import message as _message
10
- from typing import ClassVar as _ClassVar , Iterable as _Iterable , Mapping as _Mapping , Optional as _Optional , Union as _Union
12
+ from collections .abc import Iterable as _Iterable , Mapping as _Mapping
13
+ from typing import ClassVar as _ClassVar , Optional as _Optional , Union as _Union
11
14
12
15
DESCRIPTOR : _descriptor .FileDescriptor
13
16
@@ -77,7 +80,7 @@ class TaskStatus(_message.Message):
77
80
state : TaskState
78
81
update : Message
79
82
timestamp : _timestamp_pb2 .Timestamp
80
- def __init__ (self , state : _Optional [_Union [TaskState , str ]] = ..., update : _Optional [_Union [Message , _Mapping ]] = ..., timestamp : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...) -> None : ...
83
+ def __init__ (self , state : _Optional [_Union [TaskState , str ]] = ..., update : _Optional [_Union [Message , _Mapping ]] = ..., timestamp : _Optional [_Union [datetime . datetime , _timestamp_pb2 .Timestamp , _Mapping ]] = ...) -> None : ...
81
84
82
85
class Part (_message .Message ):
83
86
__slots__ = ("text" , "file" , "data" )
0 commit comments