1+ import datetime
2+
13from google .api import annotations_pb2 as _annotations_pb2
24from google .api import client_pb2 as _client_pb2
35from google .api import field_behavior_pb2 as _field_behavior_pb2
@@ -7,7 +9,8 @@ from google.protobuf.internal import containers as _containers
79from google .protobuf .internal import enum_type_wrapper as _enum_type_wrapper
810from google .protobuf import descriptor as _descriptor
911from 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
1114
1215DESCRIPTOR : _descriptor .FileDescriptor
1316
@@ -77,7 +80,7 @@ class TaskStatus(_message.Message):
7780 state : TaskState
7881 update : Message
7982 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 : ...
8184
8285class Part (_message .Message ):
8386 __slots__ = ("text" , "file" , "data" )
0 commit comments