Skip to content

Commit

Permalink
10: Add missing CANCELLED result type.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfse-slafleur committed Mar 6, 2024
1 parent 9b912f9 commit a641d31
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
22 changes: 11 additions & 11 deletions python/src/omotes_sdk_protocol/job_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions python/src/omotes_sdk_protocol/job_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ class JobResult(google.protobuf.message.Message):
SUCCEEDED: JobResult._ResultType.ValueType # 0
TIMEOUT: JobResult._ResultType.ValueType # 1
ERROR: JobResult._ResultType.ValueType # 2
CANCELLED: JobResult._ResultType.ValueType # 3

class ResultType(_ResultType, metaclass=_ResultTypeEnumTypeWrapper): ...
SUCCEEDED: JobResult.ResultType.ValueType # 0
TIMEOUT: JobResult.ResultType.ValueType # 1
ERROR: JobResult.ResultType.ValueType # 2
CANCELLED: JobResult.ResultType.ValueType # 3

UUID_FIELD_NUMBER: builtins.int
RESULT_TYPE_FIELD_NUMBER: builtins.int
Expand Down
1 change: 1 addition & 0 deletions src/job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ message JobResult {
SUCCEEDED = 0;
TIMEOUT = 1;
ERROR = 2;
CANCELLED = 3;
}
}

Expand Down

0 comments on commit a641d31

Please sign in to comment.