-
Notifications
You must be signed in to change notification settings - Fork 8
python(feat): add public sift.canvas.v1 proto package #683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| syntax = "proto3"; | ||
|
|
||
| package sift.canvas.v1; | ||
|
|
||
| // Status of a single canvas cell execution. Also used as the status of the | ||
| // parent CanvasExecution: the parent rolls up its cells' statuses into a | ||
| // single value (e.g. any AUTO_FAILED cell yields an AUTO_FAILED execution). | ||
| enum CanvasCellExecutionStatus { | ||
| CANVAS_CELL_EXECUTION_STATUS_UNSPECIFIED = 0; | ||
| CANVAS_CELL_EXECUTION_STATUS_IN_PROGRESS = 1; | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_PASSED = 2; | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_FAILED = 3; | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_PASSED = 4; | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_FAILED = 5; | ||
| CANVAS_CELL_EXECUTION_STATUS_ERROR = 6; | ||
| CANVAS_CELL_EXECUTION_STATUS_SKIPPED = 7; | ||
| CANVAS_CELL_EXECUTION_STATUS_OPEN = 8; | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUALLY_CANCELLED = 9; | ||
| } | ||
Empty file.
Empty file.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| """ | ||
| @generated by mypy-protobuf. Do not edit manually! | ||
| isort:skip_file | ||
| """ | ||
|
|
||
| import builtins | ||
| import google.protobuf.descriptor | ||
| import google.protobuf.internal.enum_type_wrapper | ||
| import sys | ||
| import typing | ||
|
|
||
| if sys.version_info >= (3, 10): | ||
| import typing as typing_extensions | ||
| else: | ||
| import typing_extensions | ||
|
|
||
| DESCRIPTOR: google.protobuf.descriptor.FileDescriptor | ||
|
|
||
| class _CanvasCellExecutionStatus: | ||
| ValueType = typing.NewType("ValueType", builtins.int) | ||
| V: typing_extensions.TypeAlias = ValueType | ||
|
|
||
| class _CanvasCellExecutionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CanvasCellExecutionStatus.ValueType], builtins.type): | ||
| DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor | ||
| CANVAS_CELL_EXECUTION_STATUS_UNSPECIFIED: _CanvasCellExecutionStatus.ValueType # 0 | ||
| CANVAS_CELL_EXECUTION_STATUS_IN_PROGRESS: _CanvasCellExecutionStatus.ValueType # 1 | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_PASSED: _CanvasCellExecutionStatus.ValueType # 2 | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_FAILED: _CanvasCellExecutionStatus.ValueType # 3 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_PASSED: _CanvasCellExecutionStatus.ValueType # 4 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_FAILED: _CanvasCellExecutionStatus.ValueType # 5 | ||
| CANVAS_CELL_EXECUTION_STATUS_ERROR: _CanvasCellExecutionStatus.ValueType # 6 | ||
| CANVAS_CELL_EXECUTION_STATUS_SKIPPED: _CanvasCellExecutionStatus.ValueType # 7 | ||
| CANVAS_CELL_EXECUTION_STATUS_OPEN: _CanvasCellExecutionStatus.ValueType # 8 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUALLY_CANCELLED: _CanvasCellExecutionStatus.ValueType # 9 | ||
|
|
||
| class CanvasCellExecutionStatus(_CanvasCellExecutionStatus, metaclass=_CanvasCellExecutionStatusEnumTypeWrapper): | ||
| """Status of a single canvas cell execution. Also used as the status of the | ||
| parent CanvasExecution: the parent rolls up its cells' statuses into a | ||
| single value (e.g. any AUTO_FAILED cell yields an AUTO_FAILED execution). | ||
| """ | ||
|
|
||
| CANVAS_CELL_EXECUTION_STATUS_UNSPECIFIED: CanvasCellExecutionStatus.ValueType # 0 | ||
| CANVAS_CELL_EXECUTION_STATUS_IN_PROGRESS: CanvasCellExecutionStatus.ValueType # 1 | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_PASSED: CanvasCellExecutionStatus.ValueType # 2 | ||
| CANVAS_CELL_EXECUTION_STATUS_AUTO_FAILED: CanvasCellExecutionStatus.ValueType # 3 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_PASSED: CanvasCellExecutionStatus.ValueType # 4 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUAL_FAILED: CanvasCellExecutionStatus.ValueType # 5 | ||
| CANVAS_CELL_EXECUTION_STATUS_ERROR: CanvasCellExecutionStatus.ValueType # 6 | ||
| CANVAS_CELL_EXECUTION_STATUS_SKIPPED: CanvasCellExecutionStatus.ValueType # 7 | ||
| CANVAS_CELL_EXECUTION_STATUS_OPEN: CanvasCellExecutionStatus.ValueType # 8 | ||
| CANVAS_CELL_EXECUTION_STATUS_MANUALLY_CANCELLED: CanvasCellExecutionStatus.ValueType # 9 | ||
| global___CanvasCellExecutionStatus = CanvasCellExecutionStatus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
| """Client and server classes corresponding to protobuf-defined services.""" | ||
| import grpc | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| """ | ||
| @generated by mypy-protobuf. Do not edit manually! | ||
| isort:skip_file | ||
| """ | ||
|
|
||
| import abc | ||
| import collections.abc | ||
| import grpc | ||
| import grpc.aio | ||
| import typing | ||
|
|
||
| _T = typing.TypeVar("_T") | ||
|
|
||
| class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ... | ||
|
|
||
| class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] | ||
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.