@@ -10,7 +10,7 @@ DESCRIPTOR: _descriptor.FileDescriptor
1010class Form (_message .Message ):
1111 __slots__ = ("fields" ,)
1212 class Field (_message .Message ):
13- __slots__ = ("name" , "label" , "type" )
13+ __slots__ = ("name" , "label" , "type" , "code" , "file" )
1414 class Type (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
1515 __slots__ = ()
1616 UNKNOWN_TYPE : _ClassVar [Form .Field .Type ]
@@ -19,22 +19,50 @@ class Form(_message.Message):
1919 UNKNOWN_TYPE : Form .Field .Type
2020 CODE : Form .Field .Type
2121 FILE : Form .Field .Type
22+ class Code (_message .Message ):
23+ __slots__ = ("runtimes" , "max_attachments" , "max_attachment_size" , "attachment_types" , "attachment_extensions" )
24+ RUNTIMES_FIELD_NUMBER : _ClassVar [int ]
25+ MAX_ATTACHMENTS_FIELD_NUMBER : _ClassVar [int ]
26+ MAX_ATTACHMENT_SIZE_FIELD_NUMBER : _ClassVar [int ]
27+ ATTACHMENT_TYPES_FIELD_NUMBER : _ClassVar [int ]
28+ ATTACHMENT_EXTENSIONS_FIELD_NUMBER : _ClassVar [int ]
29+ runtimes : _containers .RepeatedScalarFieldContainer [str ]
30+ max_attachments : int
31+ max_attachment_size : int
32+ attachment_types : _containers .RepeatedScalarFieldContainer [str ]
33+ attachment_extensions : _containers .RepeatedScalarFieldContainer [str ]
34+ def __init__ (self , runtimes : _Optional [_Iterable [str ]] = ..., max_attachments : _Optional [int ] = ..., max_attachment_size : _Optional [int ] = ..., attachment_types : _Optional [_Iterable [str ]] = ..., attachment_extensions : _Optional [_Iterable [str ]] = ...) -> None : ...
35+ class File (_message .Message ):
36+ __slots__ = ("types" , "extensions" , "max_size" )
37+ TYPES_FIELD_NUMBER : _ClassVar [int ]
38+ EXTENSIONS_FIELD_NUMBER : _ClassVar [int ]
39+ MAX_SIZE_FIELD_NUMBER : _ClassVar [int ]
40+ types : _containers .RepeatedScalarFieldContainer [str ]
41+ extensions : _containers .RepeatedScalarFieldContainer [str ]
42+ max_size : int
43+ def __init__ (self , types : _Optional [_Iterable [str ]] = ..., extensions : _Optional [_Iterable [str ]] = ..., max_size : _Optional [int ] = ...) -> None : ...
2244 NAME_FIELD_NUMBER : _ClassVar [int ]
2345 LABEL_FIELD_NUMBER : _ClassVar [int ]
2446 TYPE_FIELD_NUMBER : _ClassVar [int ]
47+ CODE_FIELD_NUMBER : _ClassVar [int ]
48+ FILE_FIELD_NUMBER : _ClassVar [int ]
2549 name : str
2650 label : str
2751 type : Form .Field .Type
28- def __init__ (self , name : _Optional [str ] = ..., label : _Optional [str ] = ..., type : _Optional [_Union [Form .Field .Type , str ]] = ...) -> None : ...
52+ code : Form .Field .Code
53+ file : Form .Field .File
54+ def __init__ (self , name : _Optional [str ] = ..., label : _Optional [str ] = ..., type : _Optional [_Union [Form .Field .Type , str ]] = ..., code : _Optional [_Union [Form .Field .Code , _Mapping ]] = ..., file : _Optional [_Union [Form .Field .File , _Mapping ]] = ...) -> None : ...
2955 class Value (_message .Message ):
3056 __slots__ = ("name" , "code" , "file" )
3157 class Code (_message .Message ):
32- __slots__ = ("runtime" , "source_url" )
58+ __slots__ = ("runtime" , "source_url" , "attachments" )
3359 RUNTIME_FIELD_NUMBER : _ClassVar [int ]
3460 SOURCE_URL_FIELD_NUMBER : _ClassVar [int ]
61+ ATTACHMENTS_FIELD_NUMBER : _ClassVar [int ]
3562 runtime : str
3663 source_url : str
37- def __init__ (self , runtime : _Optional [str ] = ..., source_url : _Optional [str ] = ...) -> None : ...
64+ attachments : _containers .RepeatedCompositeFieldContainer [Form .Value .File ]
65+ def __init__ (self , runtime : _Optional [str ] = ..., source_url : _Optional [str ] = ..., attachments : _Optional [_Iterable [_Union [Form .Value .File , _Mapping ]]] = ...) -> None : ...
3866 class File (_message .Message ):
3967 __slots__ = ("filename" , "data_url" )
4068 FILENAME_FIELD_NUMBER : _ClassVar [int ]
0 commit comments