Skip to content

Commit 9afda0a

Browse files
committed
Update SDK using contracts version 55570ec3839eb16d895c216c30463f98acbef316
1 parent 3ec26a0 commit 9afda0a

4 files changed

Lines changed: 21 additions & 17 deletions

File tree

eolymp/judge/violation_pb2.py

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eolymp/judge/violation_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
99
DESCRIPTOR: _descriptor.FileDescriptor
1010

1111
class Violation(_message.Message):
12-
__slots__ = ("id", "cancelled", "summary", "automatic", "given_by", "given_at")
12+
__slots__ = ("id", "cancelled", "summary", "automatic", "participant_id", "given_by", "given_at")
1313
class Patch(_message.Message):
1414
__slots__ = ()
1515
class Field(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
@@ -27,12 +27,14 @@ class Violation(_message.Message):
2727
CANCELLED_FIELD_NUMBER: _ClassVar[int]
2828
SUMMARY_FIELD_NUMBER: _ClassVar[int]
2929
AUTOMATIC_FIELD_NUMBER: _ClassVar[int]
30+
PARTICIPANT_ID_FIELD_NUMBER: _ClassVar[int]
3031
GIVEN_BY_FIELD_NUMBER: _ClassVar[int]
3132
GIVEN_AT_FIELD_NUMBER: _ClassVar[int]
3233
id: str
3334
cancelled: bool
3435
summary: str
3536
automatic: bool
37+
participant_id: str
3638
given_by: str
3739
given_at: _timestamp_pb2.Timestamp
38-
def __init__(self, id: _Optional[str] = ..., cancelled: bool = ..., summary: _Optional[str] = ..., automatic: bool = ..., given_by: _Optional[str] = ..., given_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
40+
def __init__(self, id: _Optional[str] = ..., cancelled: bool = ..., summary: _Optional[str] = ..., automatic: bool = ..., participant_id: _Optional[str] = ..., given_by: _Optional[str] = ..., given_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...

eolymp/judge/violation_service_pb2.py

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eolymp/judge/violation_service_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,20 @@ class DescribeViolationOutput(_message.Message):
6464
class ListViolationsInput(_message.Message):
6565
__slots__ = ("offset", "size", "filters")
6666
class Filter(_message.Message):
67-
__slots__ = ("id", "cancelled", "summary", "automatic", "given_by")
67+
__slots__ = ("id", "cancelled", "summary", "automatic", "participant_id", "given_by")
6868
ID_FIELD_NUMBER: _ClassVar[int]
6969
CANCELLED_FIELD_NUMBER: _ClassVar[int]
7070
SUMMARY_FIELD_NUMBER: _ClassVar[int]
7171
AUTOMATIC_FIELD_NUMBER: _ClassVar[int]
72+
PARTICIPANT_ID_FIELD_NUMBER: _ClassVar[int]
7273
GIVEN_BY_FIELD_NUMBER: _ClassVar[int]
7374
id: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionID]
7475
cancelled: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionBool]
7576
summary: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionString]
7677
automatic: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionBool]
78+
participant_id: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionID]
7779
given_by: _containers.RepeatedCompositeFieldContainer[_expression_pb2.ExpressionID]
78-
def __init__(self, id: _Optional[_Iterable[_Union[_expression_pb2.ExpressionID, _Mapping]]] = ..., cancelled: _Optional[_Iterable[_Union[_expression_pb2.ExpressionBool, _Mapping]]] = ..., summary: _Optional[_Iterable[_Union[_expression_pb2.ExpressionString, _Mapping]]] = ..., automatic: _Optional[_Iterable[_Union[_expression_pb2.ExpressionBool, _Mapping]]] = ..., given_by: _Optional[_Iterable[_Union[_expression_pb2.ExpressionID, _Mapping]]] = ...) -> None: ...
80+
def __init__(self, id: _Optional[_Iterable[_Union[_expression_pb2.ExpressionID, _Mapping]]] = ..., cancelled: _Optional[_Iterable[_Union[_expression_pb2.ExpressionBool, _Mapping]]] = ..., summary: _Optional[_Iterable[_Union[_expression_pb2.ExpressionString, _Mapping]]] = ..., automatic: _Optional[_Iterable[_Union[_expression_pb2.ExpressionBool, _Mapping]]] = ..., participant_id: _Optional[_Iterable[_Union[_expression_pb2.ExpressionID, _Mapping]]] = ..., given_by: _Optional[_Iterable[_Union[_expression_pb2.ExpressionID, _Mapping]]] = ...) -> None: ...
7981
OFFSET_FIELD_NUMBER: _ClassVar[int]
8082
SIZE_FIELD_NUMBER: _ClassVar[int]
8183
FILTERS_FIELD_NUMBER: _ClassVar[int]

0 commit comments

Comments
 (0)