Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
194 changes: 194 additions & 0 deletions go/gen/sift/canvas/v1/canvas.pb.go

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

19 changes: 19 additions & 0 deletions protos/sift/canvas/v1/canvas.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

package sift.canvas.v1;
Comment thread
alexluck-sift marked this conversation as resolved.

// 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.
27 changes: 27 additions & 0 deletions python/lib/sift/canvas/v1/canvas_pb2.py

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

52 changes: 52 additions & 0 deletions python/lib/sift/canvas/v1/canvas_pb2.pyi
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
4 changes: 4 additions & 0 deletions python/lib/sift/canvas/v1/canvas_pb2_grpc.py
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

17 changes: 17 additions & 0 deletions python/lib/sift/canvas/v1/canvas_pb2_grpc.pyi
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]
...
7 changes: 7 additions & 0 deletions rust/crates/sift_rs/src/gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ pub mod sift {
// @@protoc_insertion_point(sift.campaigns.v1)
}
}
pub mod canvas {
// @@protoc_insertion_point(attribute:sift.canvas.v1)
pub mod v1 {
include!("sift/canvas/v1/sift.canvas.v1.rs");
// @@protoc_insertion_point(sift.canvas.v1)
}
}
pub mod channel_schemas {
// @@protoc_insertion_point(attribute:sift.channel_schemas.v1)
pub mod v1 {
Expand Down
Loading
Loading