@@ -53,8 +53,10 @@ class Editor(_message.Message):
5353 def __init__ (self , state : _Optional [_Union [Editor .State , _Mapping ]] = ..., features : _Optional [_Iterable [_Union [Editor .Feature , str ]]] = ..., runtimes : _Optional [_Iterable [_Union [_runtime_pb2 .Runtime , _Mapping ]]] = ..., type : _Optional [_Union [_problem_pb2 .Problem .Type , str ]] = ...) -> None : ...
5454
5555class DescribeEditorInput (_message .Message ):
56- __slots__ = ()
57- def __init__ (self ) -> None : ...
56+ __slots__ = ("problem_id" ,)
57+ PROBLEM_ID_FIELD_NUMBER : _ClassVar [int ]
58+ problem_id : str
59+ def __init__ (self , problem_id : _Optional [str ] = ...) -> None : ...
5860
5961class DescribeEditorOutput (_message .Message ):
6062 __slots__ = ("editor" ,)
@@ -63,8 +65,10 @@ class DescribeEditorOutput(_message.Message):
6365 def __init__ (self , editor : _Optional [_Union [Editor , _Mapping ]] = ...) -> None : ...
6466
6567class DescribeEditorStateInput (_message .Message ):
66- __slots__ = ()
67- def __init__ (self ) -> None : ...
68+ __slots__ = ("problem_id" ,)
69+ PROBLEM_ID_FIELD_NUMBER : _ClassVar [int ]
70+ problem_id : str
71+ def __init__ (self , problem_id : _Optional [str ] = ...) -> None : ...
6872
6973class DescribeEditorStateOutput (_message .Message ):
7074 __slots__ = ("runtime" , "source_code" , "input_data" , "output" , "features" )
@@ -81,22 +85,26 @@ class DescribeEditorStateOutput(_message.Message):
8185 def __init__ (self , runtime : _Optional [str ] = ..., source_code : _Optional [str ] = ..., input_data : _Optional [str ] = ..., output : _Optional [_Union [_submission_pb2 .Submission .Output , _Mapping ]] = ..., features : _Optional [_Iterable [_Union [Editor .Feature , str ]]] = ...) -> None : ...
8286
8387class UpdateEditorStateInput (_message .Message ):
84- __slots__ = ("runtime" , "source_code" , "input_data" , "output" )
88+ __slots__ = ("problem_id" , "runtime" , "source_code" , "input_data" , "output" )
89+ PROBLEM_ID_FIELD_NUMBER : _ClassVar [int ]
8590 RUNTIME_FIELD_NUMBER : _ClassVar [int ]
8691 SOURCE_CODE_FIELD_NUMBER : _ClassVar [int ]
8792 INPUT_DATA_FIELD_NUMBER : _ClassVar [int ]
8893 OUTPUT_FIELD_NUMBER : _ClassVar [int ]
94+ problem_id : str
8995 runtime : str
9096 source_code : str
9197 input_data : str
9298 output : _submission_pb2 .Submission .Output
93- def __init__ (self , runtime : _Optional [str ] = ..., source_code : _Optional [str ] = ..., input_data : _Optional [str ] = ..., output : _Optional [_Union [_submission_pb2 .Submission .Output , _Mapping ]] = ...) -> None : ...
99+ def __init__ (self , problem_id : _Optional [ str ] = ..., runtime : _Optional [str ] = ..., source_code : _Optional [str ] = ..., input_data : _Optional [str ] = ..., output : _Optional [_Union [_submission_pb2 .Submission .Output , _Mapping ]] = ...) -> None : ...
94100
95101class ListInputsInput (_message .Message ):
96- __slots__ = ("version" ,)
102+ __slots__ = ("problem_id" , "version" )
103+ PROBLEM_ID_FIELD_NUMBER : _ClassVar [int ]
97104 VERSION_FIELD_NUMBER : _ClassVar [int ]
105+ problem_id : str
98106 version : int
99- def __init__ (self , version : _Optional [int ] = ...) -> None : ...
107+ def __init__ (self , problem_id : _Optional [ str ] = ..., version : _Optional [int ] = ...) -> None : ...
100108
101109class ListInputsOutput (_message .Message ):
102110 __slots__ = ("total" , "items" )
@@ -111,12 +119,14 @@ class UpdateEditorStateOutput(_message.Message):
111119 def __init__ (self ) -> None : ...
112120
113121class PrintEditorCodeInput (_message .Message ):
114- __slots__ = ("runtime" , "source_code" )
122+ __slots__ = ("problem_id" , "runtime" , "source_code" )
123+ PROBLEM_ID_FIELD_NUMBER : _ClassVar [int ]
115124 RUNTIME_FIELD_NUMBER : _ClassVar [int ]
116125 SOURCE_CODE_FIELD_NUMBER : _ClassVar [int ]
126+ problem_id : str
117127 runtime : str
118128 source_code : str
119- def __init__ (self , runtime : _Optional [str ] = ..., source_code : _Optional [str ] = ...) -> None : ...
129+ def __init__ (self , problem_id : _Optional [ str ] = ..., runtime : _Optional [str ] = ..., source_code : _Optional [str ] = ...) -> None : ...
120130
121131class PrintEditorCodeOutput (_message .Message ):
122132 __slots__ = ()
0 commit comments