weave-python 0.34.0__tar.gz → 0.36.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {weave_python-0.34.0 → weave_python-0.36.0}/PKG-INFO +1 -1
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/service_pb2.py +21 -9
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/service_pb2.pyi +86 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/service_pb2_grpc.py +49 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/service_pb2_grpc.pyi +25 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/inference_pb2.py +669 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/inference_pb2.pyi +3043 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/service_pb2.py +120 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/service_pb2.pyi +8 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/service_pb2_grpc.py +668 -0
- weave_python-0.36.0/weave/weaveapi/inference/v1/service_pb2_grpc.pyi +307 -0
- weave_python-0.36.0/weave/weaveapi/provider/v1/provider_pb2.py +76 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/provider/v1/provider_pb2.pyi +43 -0
- weave_python-0.36.0/weave/weaveapi/provider/v1/service_pb2.py +190 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/provider/v1/service_pb2.pyi +103 -0
- weave_python-0.36.0/weave/weaveapi/task/v1/task_pb2_grpc.py +2 -0
- weave_python-0.36.0/weave/weaveapi/task/v1/task_pb2_grpc.pyi +21 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/weavedb/models.py +2 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/weavedb/provider.py +302 -155
- weave_python-0.34.0/weave/weaveapi/provider/v1/provider_pb2.py +0 -70
- weave_python-0.34.0/weave/weaveapi/provider/v1/service_pb2.py +0 -154
- {weave_python-0.34.0 → weave_python-0.36.0}/.github/runs-on.yml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/.github/workflows/format-lint.yaml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/.github/workflows/generate.yaml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/.github/workflows/release.yaml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/.gitignore +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/.python-version +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/LICENSE +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/README.md +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/Taskfile.yaml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/buf.gen.yaml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/pyproject.toml +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/renovate.json +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/tools/sqlcgen/README.md +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/tools/sqlcgen/sqlcgen.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/tools/sqlcgen/test_sqlcgen.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/uv.lock +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/event_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/event_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/event_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/event_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/message_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/message_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/message_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/message_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/process_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/process_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/process_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/process_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/run_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/run_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/run_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/atc/v1/run_pb2_grpc.pyi +0 -0
- /weave_python-0.34.0/weave/weaveapi/project/v1/project_pb2_grpc.py → /weave_python-0.36.0/weave/weaveapi/inference/v1/inference_pb2_grpc.py +0 -0
- /weave_python-0.34.0/weave/weaveapi/project/v1/project_pb2_grpc.pyi → /weave_python-0.36.0/weave/weaveapi/inference/v1/inference_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/project_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/project_pb2.pyi +0 -0
- /weave_python-0.34.0/weave/weaveapi/provider/v1/provider_pb2_grpc.py → /weave_python-0.36.0/weave/weaveapi/project/v1/project_pb2_grpc.py +0 -0
- /weave_python-0.34.0/weave/weaveapi/provider/v1/provider_pb2_grpc.pyi → /weave_python-0.36.0/weave/weaveapi/project/v1/project_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/service_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/service_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/project/v1/service_pb2_grpc.pyi +0 -0
- /weave_python-0.34.0/weave/weaveapi/task/v1/task_pb2_grpc.py → /weave_python-0.36.0/weave/weaveapi/provider/v1/provider_pb2_grpc.py +0 -0
- /weave_python-0.34.0/weave/weaveapi/task/v1/task_pb2_grpc.pyi → /weave_python-0.36.0/weave/weaveapi/provider/v1/provider_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/provider/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/provider/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/service_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/service_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/task_pb2.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weaveapi/task/v1/task_pb2.pyi +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/event.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/inspection.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/mailbox.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/models.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/run_template.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/snapshot.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/atcdb/team.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/weavedb/project.py +0 -0
- {weave_python-0.34.0 → weave_python-0.36.0}/weave/weavesql/weavedb/task.py +0 -0
|
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n\x1dweaveapi/atc/v1/service.proto\x12\x0fweaveapi.atc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bweaveapi/atc/v1/event.proto\x1a\x1dweaveapi/atc/v1/message.proto\x1a\x1dweaveapi/atc/v1/process.proto\x1a\x19weaveapi/atc/v1/run.proto"b\n\x10\x43reateRunRequest\x12\x16\n\x06prompt\x18\x01 \x01(\tR\x06prompt\x12\x36\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1a.weaveapi.atc.v1.RunConfigB\x02(\x01R\x06\x63onfig"?\n\x11\x43reateRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run"\x9b\x01\n\x12SendMessageRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12"\n\rto_process_id\x18\x02 \x01(\tR\x0btoProcessId\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x18\n\x07payload\x18\x04 \x01(\x0cR\x07payload\x12\x1c\n\tinterrupt\x18\x05 \x01(\x08R\tinterrupt"T\n\x13SendMessageResponse\x12=\n\x07message\x18\x01 \x01(\x0b\x32\x1f.weaveapi.atc.v1.MailboxMessageB\x02(\x01R\x07message")\n\x10\x43\x61ncelRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"?\n\x11\x43\x61ncelRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run"\'\n\x0eWaitRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"q\n\x0fWaitRunResponse\x12\x32\n\x06status\x18\x01 \x01(\x0e\x32\x1a.weaveapi.atc.v1.RunStatusR\x06status\x12*\n\x03run\x18\x02 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run",\n\x13GetRunStatusRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"\xf4\x01\n\x14GetRunStatusResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run\x12\'\n\x0ftotal_processes\x18\x02 \x01(\x05R\x0etotalProcesses\x12+\n\x11running_processes\x18\x03 \x01(\x05R\x10runningProcesses\x12/\n\x13\x63ompleted_processes\x18\x04 \x01(\x05R\x12\x63ompletedProcesses\x12)\n\x10\x66\x61iled_processes\x18\x05 \x01(\x05R\x0f\x66\x61iledProcesses"\x9a\x02\n\x0fListRunsRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken\x12?\n\rstatus_filter\x18\x03 \x01(\x0e\x32\x1a.weaveapi.atc.v1.RunStatusR\x0cstatusFilter\x12\x43\n\rcreated_after\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0c\x63reatedAfter\x12\x45\n\x0e\x63reated_before\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\rcreatedBefore"\x89\x01\n\x10ListRunsResponse\x12,\n\x04runs\x18\x01 \x03(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount"&\n\rGetRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"x\n\x0eGetRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run\x12:\n\tprocesses\x18\x02 \x03(\x0b\x32\x18.weaveapi.atc.v1.ProcessB\x02(\x01R\tprocesses"\xb9\x01\n\x11ListEventsRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12%\n\x0e\x61\x66ter_sequence\x18\x04 \x01(\x04R\rafterSequence\x12*\n\x11\x65vent_type_filter\x18\x05 \x01(\tR\x0f\x65ventTypeFilter"p\n\x12ListEventsResponse\x12\x32\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.weaveapi.atc.v1.EventB\x02(\x01R\x06\x65vents\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"~\n\x12WatchEventsRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12%\n\x0e\x61\x66ter_sequence\x18\x02 \x01(\x04R\rafterSequence\x12*\n\x11\x65vent_type_filter\x18\x03 \x01(\tR\x0f\x65ventTypeFilter"G\n\x13WatchEventsResponse\x12\x30\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x16.weaveapi.atc.v1.EventB\x02(\x01R\x05\x65vent"\xed\x04\n\x1bListInspectionEventsRequest\x12I\n\x0csubject_kind\x18\x01 \x01(\x0e\x32&.weaveapi.atc.v1.InspectionSubjectKindR\x0bsubjectKind\x12\x1d\n\nsubject_id\x18\x02 \x01(\tR\tsubjectId\x12\x1f\n\x0btype_filter\x18\x03 \x01(\tR\ntypeFilter\x12\x43\n\nactor_kind\x18\x04 \x01(\x0e\x32$.weaveapi.atc.v1.InspectionActorKindR\tactorKind\x12\x19\n\x08\x61\x63tor_id\x18\x05 \x01(\tR\x07\x61\x63torId\x12\x15\n\x06run_id\x18\x06 \x01(\tR\x05runId\x12\x1d\n\nprocess_id\x18\x07 \x01(\tR\tprocessId\x12\x39\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32!.weaveapi.atc.v1.InspectionActionR\x06\x61\x63tion\x12<\n\x07outcome\x18\t \x01(\x0e\x32".weaveapi.atc.v1.InspectionOutcomeR\x07outcome\x12=\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartTime\x12\x39\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndTime\x12\x1b\n\tpage_size\x18\x0c \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\r \x01(\tR\tpageToken"\x84\x01\n\x1cListInspectionEventsResponse\x12<\n\x06\x65vents\x18\x01 \x03(\x0b\x32 .weaveapi.atc.v1.InspectionEventB\x02(\x01R\x06\x65vents\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"\xd9\x04\n\x1cWatchInspectionEventsRequest\x12I\n\x0csubject_kind\x18\x01 \x01(\x0e\x32&.weaveapi.atc.v1.InspectionSubjectKindR\x0bsubjectKind\x12\x1d\n\nsubject_id\x18\x02 \x01(\tR\tsubjectId\x12\x1f\n\x0btype_filter\x18\x03 \x01(\tR\ntypeFilter\x12\x43\n\nactor_kind\x18\x04 \x01(\x0e\x32$.weaveapi.atc.v1.InspectionActorKindR\tactorKind\x12\x19\n\x08\x61\x63tor_id\x18\x05 \x01(\tR\x07\x61\x63torId\x12\x15\n\x06run_id\x18\x06 \x01(\tR\x05runId\x12\x1d\n\nprocess_id\x18\x07 \x01(\tR\tprocessId\x12\x39\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32!.weaveapi.atc.v1.InspectionActionR\x06\x61\x63tion\x12<\n\x07outcome\x18\t \x01(\x0e\x32".weaveapi.atc.v1.InspectionOutcomeR\x07outcome\x12=\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartTime\x12\x39\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndTime\x12%\n\x0e\x61\x66ter_sequence\x18\x0c \x01(\x04R\rafterSequence"[\n\x1dWatchInspectionEventsResponse\x12:\n\x05\x65vent\x18\x01 \x01(\x0b\x32 .weaveapi.atc.v1.InspectionEventB\x02(\x01R\x05\x65vent"U\n\x17ListProcessTypesRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken"\x90\x01\n\x18ListProcessTypesResponse\x12L\n\rprocess_types\x18\x01 \x03(\x0b\x32#.weaveapi.atc.v1.ProcessTypeSummaryB\x02(\x01R\x0cprocessTypes\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xde\x04\n\nATCService\x12g\n\tCreateRun\x12!.weaveapi.atc.v1.CreateRunRequest\x1a".weaveapi.atc.v1.CreateRunResponse"\x13\x82\xd3\xe4\x93\x02\r"\x08/v1/runs:\x01*\x12\x7f\n\x0bSendMessage\x12#.weaveapi.atc.v1.SendMessageRequest\x1a$.weaveapi.atc.v1.SendMessageResponse"%\x82\xd3\xe4\x93\x02\x1f"\x1a/v1/runs/{run_id}/messages:\x01*\x12w\n\tCancelRun\x12!.weaveapi.atc.v1.CancelRunRequest\x1a".weaveapi.atc.v1.CancelRunResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/v1/runs/{run_id}/cancel:\x01*\x12n\n\x07WaitRun\x12\x1f.weaveapi.atc.v1.WaitRunRequest\x1a .weaveapi.atc.v1.WaitRunResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/runs/{run_id}/wait0\x01\x12}\n\x0cGetRunStatus\x12$.weaveapi.atc.v1.GetRunStatusRequest\x1a%.weaveapi.atc.v1.GetRunStatusResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/runs/{run_id}/status2\
|
|
23
|
+
b'\n\x1dweaveapi/atc/v1/service.proto\x12\x0fweaveapi.atc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bweaveapi/atc/v1/event.proto\x1a\x1dweaveapi/atc/v1/message.proto\x1a\x1dweaveapi/atc/v1/process.proto\x1a\x19weaveapi/atc/v1/run.proto"b\n\x10\x43reateRunRequest\x12\x16\n\x06prompt\x18\x01 \x01(\tR\x06prompt\x12\x36\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1a.weaveapi.atc.v1.RunConfigB\x02(\x01R\x06\x63onfig"?\n\x11\x43reateRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run"\x9b\x01\n\x12SendMessageRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12"\n\rto_process_id\x18\x02 \x01(\tR\x0btoProcessId\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x18\n\x07payload\x18\x04 \x01(\x0cR\x07payload\x12\x1c\n\tinterrupt\x18\x05 \x01(\x08R\tinterrupt"T\n\x13SendMessageResponse\x12=\n\x07message\x18\x01 \x01(\x0b\x32\x1f.weaveapi.atc.v1.MailboxMessageB\x02(\x01R\x07message")\n\x10\x43\x61ncelRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"?\n\x11\x43\x61ncelRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run"\'\n\x0eWaitRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"q\n\x0fWaitRunResponse\x12\x32\n\x06status\x18\x01 \x01(\x0e\x32\x1a.weaveapi.atc.v1.RunStatusR\x06status\x12*\n\x03run\x18\x02 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run",\n\x13GetRunStatusRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"\xf4\x01\n\x14GetRunStatusResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run\x12\'\n\x0ftotal_processes\x18\x02 \x01(\x05R\x0etotalProcesses\x12+\n\x11running_processes\x18\x03 \x01(\x05R\x10runningProcesses\x12/\n\x13\x63ompleted_processes\x18\x04 \x01(\x05R\x12\x63ompletedProcesses\x12)\n\x10\x66\x61iled_processes\x18\x05 \x01(\x05R\x0f\x66\x61iledProcesses"\x9a\x02\n\x0fListRunsRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken\x12?\n\rstatus_filter\x18\x03 \x01(\x0e\x32\x1a.weaveapi.atc.v1.RunStatusR\x0cstatusFilter\x12\x43\n\rcreated_after\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0c\x63reatedAfter\x12\x45\n\x0e\x63reated_before\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\rcreatedBefore"\x89\x01\n\x10ListRunsResponse\x12,\n\x04runs\x18\x01 \x03(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount"&\n\rGetRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"x\n\x0eGetRunResponse\x12*\n\x03run\x18\x01 \x01(\x0b\x32\x14.weaveapi.atc.v1.RunB\x02(\x01R\x03run\x12:\n\tprocesses\x18\x02 \x03(\x0b\x32\x18.weaveapi.atc.v1.ProcessB\x02(\x01R\tprocesses"\xb9\x01\n\x11ListEventsRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12%\n\x0e\x61\x66ter_sequence\x18\x04 \x01(\x04R\rafterSequence\x12*\n\x11\x65vent_type_filter\x18\x05 \x01(\tR\x0f\x65ventTypeFilter"p\n\x12ListEventsResponse\x12\x32\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.weaveapi.atc.v1.EventB\x02(\x01R\x06\x65vents\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"~\n\x12WatchEventsRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12%\n\x0e\x61\x66ter_sequence\x18\x02 \x01(\x04R\rafterSequence\x12*\n\x11\x65vent_type_filter\x18\x03 \x01(\tR\x0f\x65ventTypeFilter"G\n\x13WatchEventsResponse\x12\x30\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x16.weaveapi.atc.v1.EventB\x02(\x01R\x05\x65vent"\xed\x04\n\x1bListInspectionEventsRequest\x12I\n\x0csubject_kind\x18\x01 \x01(\x0e\x32&.weaveapi.atc.v1.InspectionSubjectKindR\x0bsubjectKind\x12\x1d\n\nsubject_id\x18\x02 \x01(\tR\tsubjectId\x12\x1f\n\x0btype_filter\x18\x03 \x01(\tR\ntypeFilter\x12\x43\n\nactor_kind\x18\x04 \x01(\x0e\x32$.weaveapi.atc.v1.InspectionActorKindR\tactorKind\x12\x19\n\x08\x61\x63tor_id\x18\x05 \x01(\tR\x07\x61\x63torId\x12\x15\n\x06run_id\x18\x06 \x01(\tR\x05runId\x12\x1d\n\nprocess_id\x18\x07 \x01(\tR\tprocessId\x12\x39\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32!.weaveapi.atc.v1.InspectionActionR\x06\x61\x63tion\x12<\n\x07outcome\x18\t \x01(\x0e\x32".weaveapi.atc.v1.InspectionOutcomeR\x07outcome\x12=\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartTime\x12\x39\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndTime\x12\x1b\n\tpage_size\x18\x0c \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\r \x01(\tR\tpageToken"\x84\x01\n\x1cListInspectionEventsResponse\x12<\n\x06\x65vents\x18\x01 \x03(\x0b\x32 .weaveapi.atc.v1.InspectionEventB\x02(\x01R\x06\x65vents\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"\xd9\x04\n\x1cWatchInspectionEventsRequest\x12I\n\x0csubject_kind\x18\x01 \x01(\x0e\x32&.weaveapi.atc.v1.InspectionSubjectKindR\x0bsubjectKind\x12\x1d\n\nsubject_id\x18\x02 \x01(\tR\tsubjectId\x12\x1f\n\x0btype_filter\x18\x03 \x01(\tR\ntypeFilter\x12\x43\n\nactor_kind\x18\x04 \x01(\x0e\x32$.weaveapi.atc.v1.InspectionActorKindR\tactorKind\x12\x19\n\x08\x61\x63tor_id\x18\x05 \x01(\tR\x07\x61\x63torId\x12\x15\n\x06run_id\x18\x06 \x01(\tR\x05runId\x12\x1d\n\nprocess_id\x18\x07 \x01(\tR\tprocessId\x12\x39\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32!.weaveapi.atc.v1.InspectionActionR\x06\x61\x63tion\x12<\n\x07outcome\x18\t \x01(\x0e\x32".weaveapi.atc.v1.InspectionOutcomeR\x07outcome\x12=\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartTime\x12\x39\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x07\x65ndTime\x12%\n\x0e\x61\x66ter_sequence\x18\x0c \x01(\x04R\rafterSequence"[\n\x1dWatchInspectionEventsResponse\x12:\n\x05\x65vent\x18\x01 \x01(\x0b\x32 .weaveapi.atc.v1.InspectionEventB\x02(\x01R\x05\x65vent"x\n\x19WatchProcessOutputRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x1d\n\nprocess_id\x18\x02 \x01(\tR\tprocessId\x12%\n\x0e\x61\x66ter_sequence\x18\x03 \x01(\x04R\rafterSequence"\\\n\x12ProcessOutputChunk\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x16\n\x06replay\x18\x03 \x01(\x08R\x06replay"[\n\x1aWatchProcessOutputResponse\x12=\n\x05\x63hunk\x18\x01 \x01(\x0b\x32#.weaveapi.atc.v1.ProcessOutputChunkB\x02(\x01R\x05\x63hunk"U\n\x17ListProcessTypesRequest\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x02 \x01(\tR\tpageToken"\x90\x01\n\x18ListProcessTypesResponse\x12L\n\rprocess_types\x18\x01 \x03(\x0b\x32#.weaveapi.atc.v1.ProcessTypeSummaryB\x02(\x01R\x0cprocessTypes\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xde\x04\n\nATCService\x12g\n\tCreateRun\x12!.weaveapi.atc.v1.CreateRunRequest\x1a".weaveapi.atc.v1.CreateRunResponse"\x13\x82\xd3\xe4\x93\x02\r"\x08/v1/runs:\x01*\x12\x7f\n\x0bSendMessage\x12#.weaveapi.atc.v1.SendMessageRequest\x1a$.weaveapi.atc.v1.SendMessageResponse"%\x82\xd3\xe4\x93\x02\x1f"\x1a/v1/runs/{run_id}/messages:\x01*\x12w\n\tCancelRun\x12!.weaveapi.atc.v1.CancelRunRequest\x1a".weaveapi.atc.v1.CancelRunResponse"#\x82\xd3\xe4\x93\x02\x1d"\x18/v1/runs/{run_id}/cancel:\x01*\x12n\n\x07WaitRun\x12\x1f.weaveapi.atc.v1.WaitRunRequest\x1a .weaveapi.atc.v1.WaitRunResponse"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/runs/{run_id}/wait0\x01\x12}\n\x0cGetRunStatus\x12$.weaveapi.atc.v1.GetRunStatusRequest\x1a%.weaveapi.atc.v1.GetRunStatusResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/runs/{run_id}/status2\xb6\x07\n\x11InspectionService\x12\x61\n\x08ListRuns\x12 .weaveapi.atc.v1.ListRunsRequest\x1a!.weaveapi.atc.v1.ListRunsResponse"\x10\x82\xd3\xe4\x93\x02\n\x12\x08/v1/runs\x12\x64\n\x06GetRun\x12\x1e.weaveapi.atc.v1.GetRunRequest\x1a\x1f.weaveapi.atc.v1.GetRunResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/runs/{run_id}\x12w\n\nListEvents\x12".weaveapi.atc.v1.ListEventsRequest\x1a#.weaveapi.atc.v1.ListEventsResponse" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/runs/{run_id}/events\x12Z\n\x0bWatchEvents\x12#.weaveapi.atc.v1.WatchEventsRequest\x1a$.weaveapi.atc.v1.WatchEventsResponse0\x01\x12\x92\x01\n\x14ListInspectionEvents\x12,.weaveapi.atc.v1.ListInspectionEventsRequest\x1a-.weaveapi.atc.v1.ListInspectionEventsResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/inspection/events\x12x\n\x15WatchInspectionEvents\x12-.weaveapi.atc.v1.WatchInspectionEventsRequest\x1a..weaveapi.atc.v1.WatchInspectionEventsResponse0\x01\x12o\n\x12WatchProcessOutput\x12*.weaveapi.atc.v1.WatchProcessOutputRequest\x1a+.weaveapi.atc.v1.WatchProcessOutputResponse0\x01\x12\x82\x01\n\x10ListProcessTypes\x12(.weaveapi.atc.v1.ListProcessTypesRequest\x1a).weaveapi.atc.v1.ListProcessTypesResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/process-typesB\xb5\x01\n\x13\x63om.weaveapi.atc.v1B\x0cServiceProtoP\x01Z2github.com/weave-labs/weave-go/weaveapi/atc/v1;atc\xa2\x02\x03WAX\xaa\x02\x0fWeaveapi.Atc.V1\xca\x02\x0fWeaveapi\\Atc\\V1\xe2\x02\x1bWeaveapi\\Atc\\V1\\GPBMetadata\xea\x02\x11Weaveapi::Atc::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -111,6 +111,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
111
111
|
_globals["_WATCHINSPECTIONEVENTSRESPONSE"].fields_by_name[
|
|
112
112
|
"event"
|
|
113
113
|
]._serialized_options = b"(\001"
|
|
114
|
+
_globals["_WATCHPROCESSOUTPUTRESPONSE"].fields_by_name[
|
|
115
|
+
"chunk"
|
|
116
|
+
]._loaded_options = None
|
|
117
|
+
_globals["_WATCHPROCESSOUTPUTRESPONSE"].fields_by_name[
|
|
118
|
+
"chunk"
|
|
119
|
+
]._serialized_options = b"(\001"
|
|
114
120
|
_globals["_LISTPROCESSTYPESRESPONSE"].fields_by_name[
|
|
115
121
|
"process_types"
|
|
116
122
|
]._loaded_options = None
|
|
@@ -209,12 +215,18 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
209
215
|
_globals["_WATCHINSPECTIONEVENTSREQUEST"]._serialized_end = 3648
|
|
210
216
|
_globals["_WATCHINSPECTIONEVENTSRESPONSE"]._serialized_start = 3650
|
|
211
217
|
_globals["_WATCHINSPECTIONEVENTSRESPONSE"]._serialized_end = 3741
|
|
212
|
-
_globals["
|
|
213
|
-
_globals["
|
|
214
|
-
_globals["
|
|
215
|
-
_globals["
|
|
216
|
-
_globals["
|
|
217
|
-
_globals["
|
|
218
|
-
_globals["
|
|
219
|
-
_globals["
|
|
218
|
+
_globals["_WATCHPROCESSOUTPUTREQUEST"]._serialized_start = 3743
|
|
219
|
+
_globals["_WATCHPROCESSOUTPUTREQUEST"]._serialized_end = 3863
|
|
220
|
+
_globals["_PROCESSOUTPUTCHUNK"]._serialized_start = 3865
|
|
221
|
+
_globals["_PROCESSOUTPUTCHUNK"]._serialized_end = 3957
|
|
222
|
+
_globals["_WATCHPROCESSOUTPUTRESPONSE"]._serialized_start = 3959
|
|
223
|
+
_globals["_WATCHPROCESSOUTPUTRESPONSE"]._serialized_end = 4050
|
|
224
|
+
_globals["_LISTPROCESSTYPESREQUEST"]._serialized_start = 4052
|
|
225
|
+
_globals["_LISTPROCESSTYPESREQUEST"]._serialized_end = 4137
|
|
226
|
+
_globals["_LISTPROCESSTYPESRESPONSE"]._serialized_start = 4140
|
|
227
|
+
_globals["_LISTPROCESSTYPESRESPONSE"]._serialized_end = 4284
|
|
228
|
+
_globals["_ATCSERVICE"]._serialized_start = 4287
|
|
229
|
+
_globals["_ATCSERVICE"]._serialized_end = 4893
|
|
230
|
+
_globals["_INSPECTIONSERVICE"]._serialized_start = 4896
|
|
231
|
+
_globals["_INSPECTIONSERVICE"]._serialized_end = 5846
|
|
220
232
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -844,6 +844,92 @@ class WatchInspectionEventsResponse(_message.Message):
|
|
|
844
844
|
|
|
845
845
|
Global___WatchInspectionEventsResponse: _TypeAlias = WatchInspectionEventsResponse # noqa: Y015
|
|
846
846
|
|
|
847
|
+
@_typing.final
|
|
848
|
+
class WatchProcessOutputRequest(_message.Message):
|
|
849
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
850
|
+
|
|
851
|
+
RUN_ID_FIELD_NUMBER: _builtins.int
|
|
852
|
+
PROCESS_ID_FIELD_NUMBER: _builtins.int
|
|
853
|
+
AFTER_SEQUENCE_FIELD_NUMBER: _builtins.int
|
|
854
|
+
run_id: _builtins.str
|
|
855
|
+
process_id: _builtins.str
|
|
856
|
+
after_sequence: _builtins.int
|
|
857
|
+
"""Only return output chunks with sequence greater than this value."""
|
|
858
|
+
def __init__(
|
|
859
|
+
self,
|
|
860
|
+
*,
|
|
861
|
+
run_id: _builtins.str | None = ...,
|
|
862
|
+
process_id: _builtins.str | None = ...,
|
|
863
|
+
after_sequence: _builtins.int | None = ...,
|
|
864
|
+
) -> None: ...
|
|
865
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
866
|
+
"after_sequence",
|
|
867
|
+
b"after_sequence",
|
|
868
|
+
"process_id",
|
|
869
|
+
b"process_id",
|
|
870
|
+
"run_id",
|
|
871
|
+
b"run_id",
|
|
872
|
+
] # noqa: Y015
|
|
873
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
874
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
875
|
+
"after_sequence",
|
|
876
|
+
b"after_sequence",
|
|
877
|
+
"process_id",
|
|
878
|
+
b"process_id",
|
|
879
|
+
"run_id",
|
|
880
|
+
b"run_id",
|
|
881
|
+
] # noqa: Y015
|
|
882
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
883
|
+
|
|
884
|
+
Global___WatchProcessOutputRequest: _TypeAlias = WatchProcessOutputRequest # noqa: Y015
|
|
885
|
+
|
|
886
|
+
@_typing.final
|
|
887
|
+
class ProcessOutputChunk(_message.Message):
|
|
888
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
889
|
+
|
|
890
|
+
SEQUENCE_FIELD_NUMBER: _builtins.int
|
|
891
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
892
|
+
REPLAY_FIELD_NUMBER: _builtins.int
|
|
893
|
+
sequence: _builtins.int
|
|
894
|
+
data: _builtins.bytes
|
|
895
|
+
replay: _builtins.bool
|
|
896
|
+
def __init__(
|
|
897
|
+
self,
|
|
898
|
+
*,
|
|
899
|
+
sequence: _builtins.int | None = ...,
|
|
900
|
+
data: _builtins.bytes | None = ...,
|
|
901
|
+
replay: _builtins.bool | None = ...,
|
|
902
|
+
) -> None: ...
|
|
903
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
904
|
+
"data", b"data", "replay", b"replay", "sequence", b"sequence"
|
|
905
|
+
] # noqa: Y015
|
|
906
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
907
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
908
|
+
"data", b"data", "replay", b"replay", "sequence", b"sequence"
|
|
909
|
+
] # noqa: Y015
|
|
910
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
911
|
+
|
|
912
|
+
Global___ProcessOutputChunk: _TypeAlias = ProcessOutputChunk # noqa: Y015
|
|
913
|
+
|
|
914
|
+
@_typing.final
|
|
915
|
+
class WatchProcessOutputResponse(_message.Message):
|
|
916
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
917
|
+
|
|
918
|
+
CHUNK_FIELD_NUMBER: _builtins.int
|
|
919
|
+
@_builtins.property
|
|
920
|
+
def chunk(self) -> Global___ProcessOutputChunk: ...
|
|
921
|
+
def __init__(
|
|
922
|
+
self,
|
|
923
|
+
*,
|
|
924
|
+
chunk: Global___ProcessOutputChunk | None = ...,
|
|
925
|
+
) -> None: ...
|
|
926
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["chunk", b"chunk"] # noqa: Y015
|
|
927
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
928
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["chunk", b"chunk"] # noqa: Y015
|
|
929
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
930
|
+
|
|
931
|
+
Global___WatchProcessOutputResponse: _TypeAlias = WatchProcessOutputResponse # noqa: Y015
|
|
932
|
+
|
|
847
933
|
@_typing.final
|
|
848
934
|
class ListProcessTypesRequest(_message.Message):
|
|
849
935
|
DESCRIPTOR: _descriptor.Descriptor
|
|
@@ -326,6 +326,12 @@ class InspectionServiceStub(object):
|
|
|
326
326
|
response_deserializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchInspectionEventsResponse.FromString,
|
|
327
327
|
_registered_method=True,
|
|
328
328
|
)
|
|
329
|
+
self.WatchProcessOutput = channel.unary_stream(
|
|
330
|
+
"/weaveapi.atc.v1.InspectionService/WatchProcessOutput",
|
|
331
|
+
request_serializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputRequest.SerializeToString,
|
|
332
|
+
response_deserializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputResponse.FromString,
|
|
333
|
+
_registered_method=True,
|
|
334
|
+
)
|
|
329
335
|
self.ListProcessTypes = channel.unary_unary(
|
|
330
336
|
"/weaveapi.atc.v1.InspectionService/ListProcessTypes",
|
|
331
337
|
request_serializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.ListProcessTypesRequest.SerializeToString,
|
|
@@ -379,6 +385,14 @@ class InspectionServiceServicer(object):
|
|
|
379
385
|
context.set_details("Method not implemented!")
|
|
380
386
|
raise NotImplementedError("Method not implemented!")
|
|
381
387
|
|
|
388
|
+
def WatchProcessOutput(self, request, context):
|
|
389
|
+
"""WatchProcessOutput streams live subprocess output for one process after an
|
|
390
|
+
optional output chunk cursor.
|
|
391
|
+
"""
|
|
392
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
393
|
+
context.set_details("Method not implemented!")
|
|
394
|
+
raise NotImplementedError("Method not implemented!")
|
|
395
|
+
|
|
382
396
|
def ListProcessTypes(self, request, context):
|
|
383
397
|
"""ListProcessTypes discovers registered process types."""
|
|
384
398
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -418,6 +432,11 @@ def add_InspectionServiceServicer_to_server(servicer, server):
|
|
|
418
432
|
request_deserializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchInspectionEventsRequest.FromString,
|
|
419
433
|
response_serializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchInspectionEventsResponse.SerializeToString,
|
|
420
434
|
),
|
|
435
|
+
"WatchProcessOutput": grpc.unary_stream_rpc_method_handler(
|
|
436
|
+
servicer.WatchProcessOutput,
|
|
437
|
+
request_deserializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputRequest.FromString,
|
|
438
|
+
response_serializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputResponse.SerializeToString,
|
|
439
|
+
),
|
|
421
440
|
"ListProcessTypes": grpc.unary_unary_rpc_method_handler(
|
|
422
441
|
servicer.ListProcessTypes,
|
|
423
442
|
request_deserializer=weaveapi_dot_atc_dot_v1_dot_service__pb2.ListProcessTypesRequest.FromString,
|
|
@@ -619,6 +638,36 @@ class InspectionService(object):
|
|
|
619
638
|
_registered_method=True,
|
|
620
639
|
)
|
|
621
640
|
|
|
641
|
+
@staticmethod
|
|
642
|
+
def WatchProcessOutput(
|
|
643
|
+
request,
|
|
644
|
+
target,
|
|
645
|
+
options=(),
|
|
646
|
+
channel_credentials=None,
|
|
647
|
+
call_credentials=None,
|
|
648
|
+
insecure=False,
|
|
649
|
+
compression=None,
|
|
650
|
+
wait_for_ready=None,
|
|
651
|
+
timeout=None,
|
|
652
|
+
metadata=None,
|
|
653
|
+
):
|
|
654
|
+
return grpc.experimental.unary_stream(
|
|
655
|
+
request,
|
|
656
|
+
target,
|
|
657
|
+
"/weaveapi.atc.v1.InspectionService/WatchProcessOutput",
|
|
658
|
+
weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputRequest.SerializeToString,
|
|
659
|
+
weaveapi_dot_atc_dot_v1_dot_service__pb2.WatchProcessOutputResponse.FromString,
|
|
660
|
+
options,
|
|
661
|
+
channel_credentials,
|
|
662
|
+
insecure,
|
|
663
|
+
call_credentials,
|
|
664
|
+
compression,
|
|
665
|
+
wait_for_ready,
|
|
666
|
+
timeout,
|
|
667
|
+
metadata,
|
|
668
|
+
_registered_method=True,
|
|
669
|
+
)
|
|
670
|
+
|
|
622
671
|
@staticmethod
|
|
623
672
|
def ListProcessTypes(
|
|
624
673
|
request,
|
|
@@ -186,6 +186,12 @@ class InspectionServiceStub:
|
|
|
186
186
|
"""WatchInspectionEvents streams tenant-scoped inspection events after an
|
|
187
187
|
optional sequence cursor.
|
|
188
188
|
"""
|
|
189
|
+
WatchProcessOutput: _grpc.UnaryStreamMultiCallable[
|
|
190
|
+
_service_pb2.WatchProcessOutputRequest, _service_pb2.WatchProcessOutputResponse
|
|
191
|
+
]
|
|
192
|
+
"""WatchProcessOutput streams live subprocess output for one process after an
|
|
193
|
+
optional output chunk cursor.
|
|
194
|
+
"""
|
|
189
195
|
ListProcessTypes: _grpc.UnaryUnaryMultiCallable[
|
|
190
196
|
_service_pb2.ListProcessTypesRequest, _service_pb2.ListProcessTypesResponse
|
|
191
197
|
]
|
|
@@ -228,6 +234,12 @@ class InspectionServiceAsyncStub(InspectionServiceStub):
|
|
|
228
234
|
"""WatchInspectionEvents streams tenant-scoped inspection events after an
|
|
229
235
|
optional sequence cursor.
|
|
230
236
|
"""
|
|
237
|
+
WatchProcessOutput: _aio.UnaryStreamMultiCallable[
|
|
238
|
+
_service_pb2.WatchProcessOutputRequest, _service_pb2.WatchProcessOutputResponse
|
|
239
|
+
] # type: ignore[assignment]
|
|
240
|
+
"""WatchProcessOutput streams live subprocess output for one process after an
|
|
241
|
+
optional output chunk cursor.
|
|
242
|
+
"""
|
|
231
243
|
ListProcessTypes: _aio.UnaryUnaryMultiCallable[
|
|
232
244
|
_service_pb2.ListProcessTypesRequest, _service_pb2.ListProcessTypesResponse
|
|
233
245
|
] # type: ignore[assignment]
|
|
@@ -305,6 +317,19 @@ class InspectionServiceServicer(metaclass=_abc_1.ABCMeta):
|
|
|
305
317
|
optional sequence cursor.
|
|
306
318
|
"""
|
|
307
319
|
|
|
320
|
+
@_abc_1.abstractmethod
|
|
321
|
+
def WatchProcessOutput(
|
|
322
|
+
self,
|
|
323
|
+
request: _service_pb2.WatchProcessOutputRequest,
|
|
324
|
+
context: _ServicerContext,
|
|
325
|
+
) -> _typing.Union[
|
|
326
|
+
_abc.Iterator[_service_pb2.WatchProcessOutputResponse],
|
|
327
|
+
_abc.AsyncIterator[_service_pb2.WatchProcessOutputResponse],
|
|
328
|
+
]:
|
|
329
|
+
"""WatchProcessOutput streams live subprocess output for one process after an
|
|
330
|
+
optional output chunk cursor.
|
|
331
|
+
"""
|
|
332
|
+
|
|
308
333
|
@_abc_1.abstractmethod
|
|
309
334
|
def ListProcessTypes(
|
|
310
335
|
self,
|