chalk-remote-call-python 1.10.12__tar.gz → 1.10.13__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.
Files changed (75) hide show
  1. {chalk_remote_call_python-1.10.12/chalk_remote_call_python.egg-info → chalk_remote_call_python-1.10.13}/PKG-INFO +1 -1
  2. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/Cargo.lock +3 -3
  3. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.runtime.v1.rs +18 -0
  4. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/descriptor.bin +0 -0
  5. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/Cargo.toml +1 -1
  6. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/self_consumer.rs +3 -3
  7. chalk_remote_call_python-1.10.13/chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2.py +104 -0
  8. chalk_remote_call_python-1.10.13/chalk_remote_call/_version.py +1 -0
  9. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13/chalk_remote_call_python.egg-info}/PKG-INFO +1 -1
  10. chalk_remote_call_python-1.10.12/chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2.py +0 -104
  11. chalk_remote_call_python-1.10.12/chalk_remote_call/_version.py +0 -1
  12. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/MANIFEST.in +0 -0
  13. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/README.md +0 -0
  14. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/Cargo.toml +0 -0
  15. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/Cargo.toml +0 -0
  16. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.auth.v1.rs +0 -0
  17. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.common.v1.rs +0 -0
  18. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.runtime.v1.tonic.rs +0 -0
  19. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.utils.v1.rs +0 -0
  20. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-proto/src/lib.rs +0 -0
  21. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/build.rs +0 -0
  22. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/async_service.rs +0 -0
  23. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/coalesce.rs +0 -0
  24. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/fnq_client.rs +0 -0
  25. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/lib.rs +0 -0
  26. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/metrics.rs +0 -0
  27. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/python_bridge.rs +0 -0
  28. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/server.rs +0 -0
  29. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/chalk-remote-call-server/src/service.rs +0 -0
  30. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk-remote-call-rs/rust-toolchain.toml +0 -0
  31. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/__init__.py +0 -0
  32. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/__main__.py +0 -0
  33. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/__init__.py +0 -0
  34. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/__init__.py +0 -0
  35. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/auth/__init__.py +0 -0
  36. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/auth/v1/__init__.py +0 -0
  37. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2.py +0 -0
  38. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2_grpc.py +0 -0
  39. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/common/__init__.py +0 -0
  40. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/common/v1/__init__.py +0 -0
  41. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2.py +0 -0
  42. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2_grpc.py +0 -0
  43. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/runtime/__init__.py +0 -0
  44. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/runtime/v1/__init__.py +0 -0
  45. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2.py +0 -0
  46. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2_grpc.py +0 -0
  47. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2_grpc.py +0 -0
  48. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/__init__.py +0 -0
  49. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/__init__.py +0 -0
  50. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2.py +0 -0
  51. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2_grpc.py +0 -0
  52. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2.py +0 -0
  53. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2_grpc.py +0 -0
  54. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/large_pb2.py +0 -0
  55. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/large_pb2_grpc.py +0 -0
  56. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2.py +0 -0
  57. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2_grpc.py +0 -0
  58. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/_native.pyi +0 -0
  59. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/arrow_utils.py +0 -0
  60. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/cli.py +0 -0
  61. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/errors.py +0 -0
  62. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/handler_loader.py +0 -0
  63. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/input_transform.py +0 -0
  64. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/logging.py +0 -0
  65. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/server.py +0 -0
  66. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/servicer.py +0 -0
  67. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call/tracing.py +0 -0
  68. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call_python.egg-info/SOURCES.txt +0 -0
  69. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call_python.egg-info/dependency_links.txt +0 -0
  70. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call_python.egg-info/entry_points.txt +0 -0
  71. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call_python.egg-info/requires.txt +0 -0
  72. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/chalk_remote_call_python.egg-info/top_level.txt +0 -0
  73. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/pyproject.toml +0 -0
  74. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/setup.cfg +0 -0
  75. {chalk_remote_call_python-1.10.12 → chalk_remote_call_python-1.10.13}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chalk-remote-call-python
3
- Version: 1.10.12
3
+ Version: 1.10.13
4
4
  Summary: Chalk remote call Python runtime interface client
5
5
  Author: Chalk AI, Inc.
6
6
  Project-URL: Homepage, https://chalk.ai
@@ -511,7 +511,7 @@ dependencies = [
511
511
  [[package]]
512
512
  name = "chalk-queue"
513
513
  version = "0.0.0"
514
- source = "git+https://github.com/chalk-ai/chalk-private.git?rev=6156b025245e28f409bd6c115cfa158ed60203ea#6156b025245e28f409bd6c115cfa158ed60203ea"
514
+ source = "git+https://github.com/chalk-ai/chalk-private.git?rev=61b67cc862036cfee5346807de1f24415a5fbfba#61b67cc862036cfee5346807de1f24415a5fbfba"
515
515
  dependencies = [
516
516
  "base64 0.22.1",
517
517
  "redis",
@@ -1476,7 +1476,7 @@ dependencies = [
1476
1476
  "libc",
1477
1477
  "percent-encoding",
1478
1478
  "pin-project-lite",
1479
- "socket2 0.6.3",
1479
+ "socket2 0.5.10",
1480
1480
  "tokio",
1481
1481
  "tower-service",
1482
1482
  "tracing",
@@ -3163,7 +3163,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3163
3163
  checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
3164
3164
  dependencies = [
3165
3165
  "fastrand",
3166
- "getrandom 0.4.2",
3166
+ "getrandom 0.3.4",
3167
3167
  "once_cell",
3168
3168
  "rustix 1.1.4",
3169
3169
  "windows-sys 0.61.2",
@@ -49,6 +49,10 @@ pub struct EnqueueRemoteCallRequest {
49
49
  /// The arguments for the call.
50
50
  #[prost(message, optional, tag="2")]
51
51
  pub args: ::core::option::Option<RemoteCallArgs>,
52
+ /// Overrides the deployed retry count, excluding the initial attempt. Absence
53
+ /// inherits the deployed policy; zero disables retries. Requires Stream workers.
54
+ #[prost(int32, optional, tag="3")]
55
+ pub max_retries: ::core::option::Option<i32>,
52
56
  }
53
57
  #[allow(clippy::derive_partial_eq_without_eq)]
54
58
  #[derive(Clone, PartialEq, ::prost::Message)]
@@ -69,6 +73,10 @@ pub struct OpenRemoteCallBatch {
69
73
  pub batch_id: ::prost::alloc::string::String,
70
74
  #[prost(string, tag="3")]
71
75
  pub result_cursor: ::prost::alloc::string::String,
76
+ /// Retry count for every row, excluding the initial attempt. Absence inherits
77
+ /// the deployed policy. Resuming a batch preserves its admitted retry policy.
78
+ #[prost(int32, optional, tag="4")]
79
+ pub max_retries: ::core::option::Option<i32>,
72
80
  }
73
81
  /// A transport chunk containing consecutive input rows. The server assigns one
74
82
  /// call ID and enqueues one independently schedulable work item per row.
@@ -291,6 +299,16 @@ pub struct FunctionCallInfo {
291
299
  /// The W3C traceparent header value propagated with this call, if any.
292
300
  #[prost(string, tag="6")]
293
301
  pub trace_id: ::prost::alloc::string::String,
302
+ /// Authorized worker dispatches, excluding exhaustion-only deliveries. A worker
303
+ /// can stop before entering the handler. Absent for older retained records.
304
+ #[prost(uint64, optional, tag="7")]
305
+ pub attempt_count: ::core::option::Option<u64>,
306
+ /// Effective retry count plus the initial attempt. Absent for older records.
307
+ #[prost(uint64, optional, tag="8")]
308
+ pub max_attempts: ::core::option::Option<u64>,
309
+ /// When the latest authorized attempt was dispatched to a worker.
310
+ #[prost(message, optional, tag="9")]
311
+ pub last_attempt_at: ::core::option::Option<::prost_types::Timestamp>,
294
312
  }
295
313
  /// Request the most recent calls to a given function.
296
314
  #[allow(clippy::derive_partial_eq_without_eq)]
@@ -45,7 +45,7 @@ futures-util = "0.3"
45
45
  # `[patch.crates-io]` here it builds against vanilla crates.io redis (it only
46
46
  # uses standard APIs). Metrics and StatsD share a revision so their client types agree.
47
47
  [target.'cfg(target_os = "linux")'.dependencies]
48
- chalk-queue = { git = "https://github.com/chalk-ai/chalk-private.git", rev = "6156b025245e28f409bd6c115cfa158ed60203ea" }
48
+ chalk-queue = { git = "https://github.com/chalk-ai/chalk-private.git", rev = "61b67cc862036cfee5346807de1f24415a5fbfba" }
49
49
  chalk_metrics = { git = "https://github.com/chalk-ai/chalk-private.git", rev = "a0f8932ec10d3b8340af3e98cf63b800d60b4926" }
50
50
  chalk_statsd = { git = "https://github.com/chalk-ai/chalk-private.git", rev = "a0f8932ec10d3b8340af3e98cf63b800d60b4926" }
51
51
 
@@ -969,7 +969,7 @@ async fn run_one_call(
969
969
  flush_timeout: Duration,
970
970
  metrics: Option<Arc<CallMetrics>>,
971
971
  ) {
972
- let attempt = match input_queue.delivery_attempt(&delivery).await {
972
+ let attempt = match input_queue.prepare_delivery(&delivery).await {
973
973
  Ok(attempt) => attempt,
974
974
  Err(error) => {
975
975
  error!(call_id = %delivery.call.call_id, %error, "failed to resolve delivery attempt");
@@ -1135,7 +1135,7 @@ async fn run_one_coalesced_call(
1135
1135
  live_calls: LiveCalls,
1136
1136
  metrics: Option<Arc<CallMetrics>>,
1137
1137
  ) {
1138
- let attempt = match input_queue.delivery_attempt(&delivery).await {
1138
+ let attempt = match input_queue.prepare_delivery(&delivery).await {
1139
1139
  Ok(attempt) => attempt,
1140
1140
  Err(error) => {
1141
1141
  error!(call_id = %delivery.call.call_id, %error, "failed to resolve delivery attempt");
@@ -1386,7 +1386,7 @@ async fn execute_and_write(
1386
1386
  let mut flushed: usize = 0;
1387
1387
  // A retry must not duplicate generator chunks. Retry-enabled calls buffer
1388
1388
  // output until the handler succeeds or reaches its final attempt.
1389
- let buffer_until_terminal = work.max_retries.is_some();
1389
+ let buffer_until_terminal = work.max_retries.unwrap_or(0) > 0;
1390
1390
 
1391
1391
  // Completion is driven by the handler future resolving, NOT by the buffer
1392
1392
  // emitter being torn down — so a handler that pins its emitter (e.g. via a
@@ -0,0 +1,104 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/runtime/v1/remote_python_call.proto
4
+ # Protobuf Python Version: 4.25.3
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from chalk_remote_call._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
16
+ from chalk_remote_call._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v1_dot_chalk__error__pb2
17
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)chalk/runtime/v1/remote_python_call.proto\x12\x10\x63halk.runtime.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x13\x43\x61llFunctionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0e\x66\x65\x61ther_stream\x18\x02 \x01(\x0cR\rfeatherStream\"=\n\x14\x43\x61llFunctionResponse\x12%\n\x0e\x66\x65\x61ther_stream\x18\x01 \x01(\x0cR\rfeatherStream\"m\n\x0eRemoteCallArgs\x12%\n\rfeather_bytes\x18\x01 \x01(\x0cH\x00R\x0c\x66\x65\x61therBytes\x12,\n\x11storage_object_id\x18\x02 \x01(\tH\x00R\x0fstorageObjectIdB\x06\n\x04\x61rgs\"\x9a\x01\n\x18\x45nqueueRemoteCallRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x34\n\x04\x61rgs\x18\x02 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\x12$\n\x0bmax_retries\x18\x03 \x01(\x05H\x00R\nmaxRetries\x88\x01\x01\x42\x0e\n\x0c_max_retries\"4\n\x19\x45nqueueRemoteCallResponse\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\"\x9f\x01\n\x13OpenRemoteCallBatch\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n\x08\x62\x61tch_id\x18\x02 \x01(\tR\x07\x62\x61tchId\x12#\n\rresult_cursor\x18\x03 \x01(\tR\x0cresultCursor\x12$\n\x0bmax_retries\x18\x04 \x01(\x05H\x00R\nmaxRetries\x88\x01\x01\x42\x0e\n\x0c_max_retries\"\x9b\x01\n\x1aSubmitRemoteCallBatchChunk\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12&\n\x0f\x66irst_row_index\x18\x02 \x01(\x04R\rfirstRowIndex\x12\x34\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\"!\n\x1f\x46inishRemoteCallBatchSubmission\"/\n\x15\x43\x61ncelRemoteCallBatch\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\"\xbe\x02\n\x1cStreamRemoteCallBatchRequest\x12;\n\x04open\x18\x01 \x01(\x0b\x32%.chalk.runtime.v1.OpenRemoteCallBatchH\x00R\x04open\x12\x46\n\x06submit\x18\x02 \x01(\x0b\x32,.chalk.runtime.v1.SubmitRemoteCallBatchChunkH\x00R\x06submit\x12K\n\x06\x66inish\x18\x03 \x01(\x0b\x32\x31.chalk.runtime.v1.FinishRemoteCallBatchSubmissionH\x00R\x06\x66inish\x12\x41\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\'.chalk.runtime.v1.CancelRemoteCallBatchH\x00R\x06\x63\x61ncelB\t\n\x07request\"\xb3\x01\n\x15RemoteCallBatchOpened\x12\x19\n\x08\x62\x61tch_id\x18\x01 \x01(\tR\x07\x62\x61tchId\x12/\n\x13submission_finished\x18\x02 \x01(\x08R\x12submissionFinished\x12(\n\x10next_chunk_index\x18\x03 \x01(\x04R\x0enextChunkIndex\x12$\n\x0enext_row_index\x18\x04 \x01(\x04R\x0cnextRowIndex\"K\n\x13RemoteCallBatchCall\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\"|\n\x1cRemoteCallBatchChunkAccepted\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12;\n\x05\x63\x61lls\x18\x02 \x03(\x0b\x32%.chalk.runtime.v1.RemoteCallBatchCallR\x05\x63\x61lls\"\x9a\x02\n\x15RemoteCallBatchResult\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12>\n\x06result\x18\x05 \x01(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x06result\x12\x33\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"w\n\x1aRemoteCallBatchResultChunk\x12\x41\n\x07results\x18\x01 \x03(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchResultR\x07results\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\x87\x01\n\x18RemoteCallBatchCompleted\x12\x1f\n\x0btotal_calls\x18\x01 \x01(\x04R\ntotalCalls\x12\'\n\x0f\x63ompleted_calls\x18\x02 \x01(\x04R\x0e\x63ompletedCalls\x12!\n\x0c\x66\x61iled_calls\x18\x03 \x01(\x04R\x0b\x66\x61iledCalls\"\xd2\x02\n\x1dStreamRemoteCallBatchResponse\x12\x41\n\x06opened\x18\x01 \x01(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchOpenedH\x00R\x06opened\x12L\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32..chalk.runtime.v1.RemoteCallBatchChunkAcceptedH\x00R\x08\x61\x63\x63\x65pted\x12H\n\x07results\x18\x03 \x01(\x0b\x32,.chalk.runtime.v1.RemoteCallBatchResultChunkH\x00R\x07results\x12J\n\tcompleted\x18\x04 \x01(\x0b\x32*.chalk.runtime.v1.RemoteCallBatchCompletedH\x00R\tcompletedB\n\n\x08response\"H\n\x15PollRemoteCallRequest\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\xe3\x01\n\x16PollRemoteCallResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12@\n\x07results\x18\x02 \x03(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x07results\x12\x16\n\x06\x63ursor\x18\x03 \x01(\tR\x06\x63ursor\x12\x33\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"Y\n\x11PurgeQueueRequest\x12%\n\rfunction_name\x18\x01 \x01(\tH\x00R\x0c\x66unctionName\x12\x12\n\x03\x61ll\x18\x02 \x01(\x08H\x00R\x03\x61llB\t\n\x07request\"\xdc\x01\n\x12PurgeQueueResponse\x12{\n\x19items_removed_by_function\x18\x01 \x03(\x0b\x32@.chalk.runtime.v1.PurgeQueueResponse.ItemsRemovedByFunctionEntryR\x16itemsRemovedByFunction\x1aI\n\x1bItemsRemovedByFunctionEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05value:\x02\x38\x01\"\xc4\x03\n\x10\x46unctionCallInfo\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12#\n\rfunction_name\x18\x02 \x01(\tR\x0c\x66unctionName\x12;\n\x0b\x65nqueued_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nenqueuedAt\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12%\n\x0eresult_summary\x18\x05 \x01(\tR\rresultSummary\x12\x19\n\x08trace_id\x18\x06 \x01(\tR\x07traceId\x12(\n\rattempt_count\x18\x07 \x01(\x04H\x00R\x0c\x61ttemptCount\x88\x01\x01\x12&\n\x0cmax_attempts\x18\x08 \x01(\x04H\x01R\x0bmaxAttempts\x88\x01\x01\x12\x42\n\x0flast_attempt_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rlastAttemptAtB\x10\n\x0e_attempt_countB\x0f\n\r_max_attempts\"q\n\x15GetRecentCallsRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\x12\x14\n\x05limit\x18\x02 \x01(\rR\x05limit\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"z\n\x16GetRecentCallsResponse\x12\x38\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\".chalk.runtime.v1.FunctionCallInfoR\x05\x63\x61lls\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"2\n\x15GetCallResultsRequest\x12\x19\n\x08\x63\x61ll_ids\x18\x01 \x03(\tR\x07\x63\x61llIds\"\x90\x01\n\nCallResult\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x44\n\x08response\x18\x02 \x01(\x0b\x32(.chalk.runtime.v1.PollRemoteCallResponseR\x08response\x12#\n\rerror_message\x18\x03 \x01(\tR\x0c\x65rrorMessage\"P\n\x16GetCallResultsResponse\x12\x36\n\x07results\x18\x01 \x03(\x0b\x32\x1c.chalk.runtime.v1.CallResultR\x07results\":\n\x13GetCallCountRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\",\n\x14GetCallCountResponse\x12\x14\n\x05\x63ount\x18\x01 \x01(\x04R\x05\x63ount*\xd7\x01\n\x10RemoteCallStatus\x12\"\n\x1eREMOTE_CALL_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREMOTE_CALL_STATUS_PENDING\x10\x01\x12\x1e\n\x1aREMOTE_CALL_STATUS_RUNNING\x10\x02\x12 \n\x1cREMOTE_CALL_STATUS_COMPLETED\x10\x03\x12\x1d\n\x19REMOTE_CALL_STATUS_FAILED\x10\x04\x12\x1e\n\x1aREMOTE_CALL_STATUS_EXPIRED\x10\x05\x32x\n\x11RemoteCallService\x12\x63\n\x0c\x43\x61llFunction\x12%.chalk.runtime.v1.CallFunctionRequest\x1a&.chalk.runtime.v1.CallFunctionResponse\"\x00(\x01\x30\x01\x32\xca\x03\n\x16\x41syncRemoteCallService\x12n\n\x11\x45nqueueRemoteCall\x12*.chalk.runtime.v1.EnqueueRemoteCallRequest\x1a+.chalk.runtime.v1.EnqueueRemoteCallResponse\"\x00\x12\x65\n\x0ePollRemoteCall\x12\'.chalk.runtime.v1.PollRemoteCallRequest\x1a(.chalk.runtime.v1.PollRemoteCallResponse\"\x00\x12~\n\x15StreamRemoteCallBatch\x12..chalk.runtime.v1.StreamRemoteCallBatchRequest\x1a/.chalk.runtime.v1.StreamRemoteCallBatchResponse\"\x00(\x01\x30\x01\x12Y\n\nPurgeQueue\x12#.chalk.runtime.v1.PurgeQueueRequest\x1a$.chalk.runtime.v1.PurgeQueueResponse\"\x00\x32\xd2\x02\n\x18\x46unctionQueueMetaService\x12h\n\x0eGetRecentCalls\x12\'.chalk.runtime.v1.GetRecentCallsRequest\x1a(.chalk.runtime.v1.GetRecentCallsResponse\"\x03\x80}\x03\x12h\n\x0eGetCallResults\x12\'.chalk.runtime.v1.GetCallResultsRequest\x1a(.chalk.runtime.v1.GetCallResultsResponse\"\x03\x80}\x03\x12\x62\n\x0cGetCallCount\x12%.chalk.runtime.v1.GetCallCountRequest\x1a&.chalk.runtime.v1.GetCallCountResponse\"\x03\x80}\x03\x42\x8f\x01\n\x14\x63om.chalk.runtime.v1B\x15RemotePythonCallProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x10\x43halk.Runtime.V1\xca\x02\x10\x43halk\\Runtime\\V1\xe2\x02\x1c\x43halk\\Runtime\\V1\\GPBMetadata\xea\x02\x12\x43halk::Runtime::V1b\x06proto3')
21
+
22
+ _globals = globals()
23
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.runtime.v1.remote_python_call_pb2', _globals)
25
+ if _descriptor._USE_C_DESCRIPTORS == False:
26
+ _globals['DESCRIPTOR']._options = None
27
+ _globals['DESCRIPTOR']._serialized_options = b'\n\024com.chalk.runtime.v1B\025RemotePythonCallProtoP\001\242\002\003CRX\252\002\020Chalk.Runtime.V1\312\002\020Chalk\\Runtime\\V1\342\002\034Chalk\\Runtime\\V1\\GPBMetadata\352\002\022Chalk::Runtime::V1'
28
+ _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._options = None
29
+ _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_options = b'8\001'
30
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._options = None
31
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._serialized_options = b'\200}\003'
32
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._options = None
33
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._serialized_options = b'\200}\003'
34
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._options = None
35
+ _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._serialized_options = b'\200}\003'
36
+ _globals['_REMOTECALLSTATUS']._serialized_start=4326
37
+ _globals['_REMOTECALLSTATUS']._serialized_end=4541
38
+ _globals['_CALLFUNCTIONREQUEST']._serialized_start=164
39
+ _globals['_CALLFUNCTIONREQUEST']._serialized_end=244
40
+ _globals['_CALLFUNCTIONRESPONSE']._serialized_start=246
41
+ _globals['_CALLFUNCTIONRESPONSE']._serialized_end=307
42
+ _globals['_REMOTECALLARGS']._serialized_start=309
43
+ _globals['_REMOTECALLARGS']._serialized_end=418
44
+ _globals['_ENQUEUEREMOTECALLREQUEST']._serialized_start=421
45
+ _globals['_ENQUEUEREMOTECALLREQUEST']._serialized_end=575
46
+ _globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_start=577
47
+ _globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_end=629
48
+ _globals['_OPENREMOTECALLBATCH']._serialized_start=632
49
+ _globals['_OPENREMOTECALLBATCH']._serialized_end=791
50
+ _globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_start=794
51
+ _globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_end=949
52
+ _globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_start=951
53
+ _globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_end=984
54
+ _globals['_CANCELREMOTECALLBATCH']._serialized_start=986
55
+ _globals['_CANCELREMOTECALLBATCH']._serialized_end=1033
56
+ _globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_start=1036
57
+ _globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_end=1354
58
+ _globals['_REMOTECALLBATCHOPENED']._serialized_start=1357
59
+ _globals['_REMOTECALLBATCHOPENED']._serialized_end=1536
60
+ _globals['_REMOTECALLBATCHCALL']._serialized_start=1538
61
+ _globals['_REMOTECALLBATCHCALL']._serialized_end=1613
62
+ _globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_start=1615
63
+ _globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_end=1739
64
+ _globals['_REMOTECALLBATCHRESULT']._serialized_start=1742
65
+ _globals['_REMOTECALLBATCHRESULT']._serialized_end=2024
66
+ _globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_start=2026
67
+ _globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_end=2145
68
+ _globals['_REMOTECALLBATCHCOMPLETED']._serialized_start=2148
69
+ _globals['_REMOTECALLBATCHCOMPLETED']._serialized_end=2283
70
+ _globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_start=2286
71
+ _globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_end=2624
72
+ _globals['_POLLREMOTECALLREQUEST']._serialized_start=2626
73
+ _globals['_POLLREMOTECALLREQUEST']._serialized_end=2698
74
+ _globals['_POLLREMOTECALLRESPONSE']._serialized_start=2701
75
+ _globals['_POLLREMOTECALLRESPONSE']._serialized_end=2928
76
+ _globals['_PURGEQUEUEREQUEST']._serialized_start=2930
77
+ _globals['_PURGEQUEUEREQUEST']._serialized_end=3019
78
+ _globals['_PURGEQUEUERESPONSE']._serialized_start=3022
79
+ _globals['_PURGEQUEUERESPONSE']._serialized_end=3242
80
+ _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_start=3169
81
+ _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_end=3242
82
+ _globals['_FUNCTIONCALLINFO']._serialized_start=3245
83
+ _globals['_FUNCTIONCALLINFO']._serialized_end=3697
84
+ _globals['_GETRECENTCALLSREQUEST']._serialized_start=3699
85
+ _globals['_GETRECENTCALLSREQUEST']._serialized_end=3812
86
+ _globals['_GETRECENTCALLSRESPONSE']._serialized_start=3814
87
+ _globals['_GETRECENTCALLSRESPONSE']._serialized_end=3936
88
+ _globals['_GETCALLRESULTSREQUEST']._serialized_start=3938
89
+ _globals['_GETCALLRESULTSREQUEST']._serialized_end=3988
90
+ _globals['_CALLRESULT']._serialized_start=3991
91
+ _globals['_CALLRESULT']._serialized_end=4135
92
+ _globals['_GETCALLRESULTSRESPONSE']._serialized_start=4137
93
+ _globals['_GETCALLRESULTSRESPONSE']._serialized_end=4217
94
+ _globals['_GETCALLCOUNTREQUEST']._serialized_start=4219
95
+ _globals['_GETCALLCOUNTREQUEST']._serialized_end=4277
96
+ _globals['_GETCALLCOUNTRESPONSE']._serialized_start=4279
97
+ _globals['_GETCALLCOUNTRESPONSE']._serialized_end=4323
98
+ _globals['_REMOTECALLSERVICE']._serialized_start=4543
99
+ _globals['_REMOTECALLSERVICE']._serialized_end=4663
100
+ _globals['_ASYNCREMOTECALLSERVICE']._serialized_start=4666
101
+ _globals['_ASYNCREMOTECALLSERVICE']._serialized_end=5124
102
+ _globals['_FUNCTIONQUEUEMETASERVICE']._serialized_start=5127
103
+ _globals['_FUNCTIONQUEUEMETASERVICE']._serialized_end=5465
104
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1 @@
1
+ __version__ = "1.10.13"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chalk-remote-call-python
3
- Version: 1.10.12
3
+ Version: 1.10.13
4
4
  Summary: Chalk remote call Python runtime interface client
5
5
  Author: Chalk AI, Inc.
6
6
  Project-URL: Homepage, https://chalk.ai
@@ -1,104 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: chalk/runtime/v1/remote_python_call.proto
4
- # Protobuf Python Version: 4.25.3
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from chalk_remote_call._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
16
- from chalk_remote_call._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v1_dot_chalk__error__pb2
17
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
18
-
19
-
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)chalk/runtime/v1/remote_python_call.proto\x12\x10\x63halk.runtime.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x13\x43\x61llFunctionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0e\x66\x65\x61ther_stream\x18\x02 \x01(\x0cR\rfeatherStream\"=\n\x14\x43\x61llFunctionResponse\x12%\n\x0e\x66\x65\x61ther_stream\x18\x01 \x01(\x0cR\rfeatherStream\"m\n\x0eRemoteCallArgs\x12%\n\rfeather_bytes\x18\x01 \x01(\x0cH\x00R\x0c\x66\x65\x61therBytes\x12,\n\x11storage_object_id\x18\x02 \x01(\tH\x00R\x0fstorageObjectIdB\x06\n\x04\x61rgs\"d\n\x18\x45nqueueRemoteCallRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x34\n\x04\x61rgs\x18\x02 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\"4\n\x19\x45nqueueRemoteCallResponse\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\"i\n\x13OpenRemoteCallBatch\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n\x08\x62\x61tch_id\x18\x02 \x01(\tR\x07\x62\x61tchId\x12#\n\rresult_cursor\x18\x03 \x01(\tR\x0cresultCursor\"\x9b\x01\n\x1aSubmitRemoteCallBatchChunk\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12&\n\x0f\x66irst_row_index\x18\x02 \x01(\x04R\rfirstRowIndex\x12\x34\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\"!\n\x1f\x46inishRemoteCallBatchSubmission\"/\n\x15\x43\x61ncelRemoteCallBatch\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\"\xbe\x02\n\x1cStreamRemoteCallBatchRequest\x12;\n\x04open\x18\x01 \x01(\x0b\x32%.chalk.runtime.v1.OpenRemoteCallBatchH\x00R\x04open\x12\x46\n\x06submit\x18\x02 \x01(\x0b\x32,.chalk.runtime.v1.SubmitRemoteCallBatchChunkH\x00R\x06submit\x12K\n\x06\x66inish\x18\x03 \x01(\x0b\x32\x31.chalk.runtime.v1.FinishRemoteCallBatchSubmissionH\x00R\x06\x66inish\x12\x41\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\'.chalk.runtime.v1.CancelRemoteCallBatchH\x00R\x06\x63\x61ncelB\t\n\x07request\"\xb3\x01\n\x15RemoteCallBatchOpened\x12\x19\n\x08\x62\x61tch_id\x18\x01 \x01(\tR\x07\x62\x61tchId\x12/\n\x13submission_finished\x18\x02 \x01(\x08R\x12submissionFinished\x12(\n\x10next_chunk_index\x18\x03 \x01(\x04R\x0enextChunkIndex\x12$\n\x0enext_row_index\x18\x04 \x01(\x04R\x0cnextRowIndex\"K\n\x13RemoteCallBatchCall\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\"|\n\x1cRemoteCallBatchChunkAccepted\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12;\n\x05\x63\x61lls\x18\x02 \x03(\x0b\x32%.chalk.runtime.v1.RemoteCallBatchCallR\x05\x63\x61lls\"\x9a\x02\n\x15RemoteCallBatchResult\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12>\n\x06result\x18\x05 \x01(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x06result\x12\x33\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"w\n\x1aRemoteCallBatchResultChunk\x12\x41\n\x07results\x18\x01 \x03(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchResultR\x07results\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\x87\x01\n\x18RemoteCallBatchCompleted\x12\x1f\n\x0btotal_calls\x18\x01 \x01(\x04R\ntotalCalls\x12\'\n\x0f\x63ompleted_calls\x18\x02 \x01(\x04R\x0e\x63ompletedCalls\x12!\n\x0c\x66\x61iled_calls\x18\x03 \x01(\x04R\x0b\x66\x61iledCalls\"\xd2\x02\n\x1dStreamRemoteCallBatchResponse\x12\x41\n\x06opened\x18\x01 \x01(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchOpenedH\x00R\x06opened\x12L\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32..chalk.runtime.v1.RemoteCallBatchChunkAcceptedH\x00R\x08\x61\x63\x63\x65pted\x12H\n\x07results\x18\x03 \x01(\x0b\x32,.chalk.runtime.v1.RemoteCallBatchResultChunkH\x00R\x07results\x12J\n\tcompleted\x18\x04 \x01(\x0b\x32*.chalk.runtime.v1.RemoteCallBatchCompletedH\x00R\tcompletedB\n\n\x08response\"H\n\x15PollRemoteCallRequest\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\xe3\x01\n\x16PollRemoteCallResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12@\n\x07results\x18\x02 \x03(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x07results\x12\x16\n\x06\x63ursor\x18\x03 \x01(\tR\x06\x63ursor\x12\x33\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"Y\n\x11PurgeQueueRequest\x12%\n\rfunction_name\x18\x01 \x01(\tH\x00R\x0c\x66unctionName\x12\x12\n\x03\x61ll\x18\x02 \x01(\x08H\x00R\x03\x61llB\t\n\x07request\"\xdc\x01\n\x12PurgeQueueResponse\x12{\n\x19items_removed_by_function\x18\x01 \x03(\x0b\x32@.chalk.runtime.v1.PurgeQueueResponse.ItemsRemovedByFunctionEntryR\x16itemsRemovedByFunction\x1aI\n\x1bItemsRemovedByFunctionEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05value:\x02\x38\x01\"\x8b\x02\n\x10\x46unctionCallInfo\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12#\n\rfunction_name\x18\x02 \x01(\tR\x0c\x66unctionName\x12;\n\x0b\x65nqueued_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nenqueuedAt\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12%\n\x0eresult_summary\x18\x05 \x01(\tR\rresultSummary\x12\x19\n\x08trace_id\x18\x06 \x01(\tR\x07traceId\"q\n\x15GetRecentCallsRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\x12\x14\n\x05limit\x18\x02 \x01(\rR\x05limit\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"z\n\x16GetRecentCallsResponse\x12\x38\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\".chalk.runtime.v1.FunctionCallInfoR\x05\x63\x61lls\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"2\n\x15GetCallResultsRequest\x12\x19\n\x08\x63\x61ll_ids\x18\x01 \x03(\tR\x07\x63\x61llIds\"\x90\x01\n\nCallResult\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x44\n\x08response\x18\x02 \x01(\x0b\x32(.chalk.runtime.v1.PollRemoteCallResponseR\x08response\x12#\n\rerror_message\x18\x03 \x01(\tR\x0c\x65rrorMessage\"P\n\x16GetCallResultsResponse\x12\x36\n\x07results\x18\x01 \x03(\x0b\x32\x1c.chalk.runtime.v1.CallResultR\x07results\":\n\x13GetCallCountRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\",\n\x14GetCallCountResponse\x12\x14\n\x05\x63ount\x18\x01 \x01(\x04R\x05\x63ount*\xd7\x01\n\x10RemoteCallStatus\x12\"\n\x1eREMOTE_CALL_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREMOTE_CALL_STATUS_PENDING\x10\x01\x12\x1e\n\x1aREMOTE_CALL_STATUS_RUNNING\x10\x02\x12 \n\x1cREMOTE_CALL_STATUS_COMPLETED\x10\x03\x12\x1d\n\x19REMOTE_CALL_STATUS_FAILED\x10\x04\x12\x1e\n\x1aREMOTE_CALL_STATUS_EXPIRED\x10\x05\x32x\n\x11RemoteCallService\x12\x63\n\x0c\x43\x61llFunction\x12%.chalk.runtime.v1.CallFunctionRequest\x1a&.chalk.runtime.v1.CallFunctionResponse\"\x00(\x01\x30\x01\x32\xca\x03\n\x16\x41syncRemoteCallService\x12n\n\x11\x45nqueueRemoteCall\x12*.chalk.runtime.v1.EnqueueRemoteCallRequest\x1a+.chalk.runtime.v1.EnqueueRemoteCallResponse\"\x00\x12\x65\n\x0ePollRemoteCall\x12\'.chalk.runtime.v1.PollRemoteCallRequest\x1a(.chalk.runtime.v1.PollRemoteCallResponse\"\x00\x12~\n\x15StreamRemoteCallBatch\x12..chalk.runtime.v1.StreamRemoteCallBatchRequest\x1a/.chalk.runtime.v1.StreamRemoteCallBatchResponse\"\x00(\x01\x30\x01\x12Y\n\nPurgeQueue\x12#.chalk.runtime.v1.PurgeQueueRequest\x1a$.chalk.runtime.v1.PurgeQueueResponse\"\x00\x32\xd2\x02\n\x18\x46unctionQueueMetaService\x12h\n\x0eGetRecentCalls\x12\'.chalk.runtime.v1.GetRecentCallsRequest\x1a(.chalk.runtime.v1.GetRecentCallsResponse\"\x03\x80}\x03\x12h\n\x0eGetCallResults\x12\'.chalk.runtime.v1.GetCallResultsRequest\x1a(.chalk.runtime.v1.GetCallResultsResponse\"\x03\x80}\x03\x12\x62\n\x0cGetCallCount\x12%.chalk.runtime.v1.GetCallCountRequest\x1a&.chalk.runtime.v1.GetCallCountResponse\"\x03\x80}\x03\x42\x8f\x01\n\x14\x63om.chalk.runtime.v1B\x15RemotePythonCallProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x10\x43halk.Runtime.V1\xca\x02\x10\x43halk\\Runtime\\V1\xe2\x02\x1c\x43halk\\Runtime\\V1\\GPBMetadata\xea\x02\x12\x43halk::Runtime::V1b\x06proto3')
21
-
22
- _globals = globals()
23
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.runtime.v1.remote_python_call_pb2', _globals)
25
- if _descriptor._USE_C_DESCRIPTORS == False:
26
- _globals['DESCRIPTOR']._options = None
27
- _globals['DESCRIPTOR']._serialized_options = b'\n\024com.chalk.runtime.v1B\025RemotePythonCallProtoP\001\242\002\003CRX\252\002\020Chalk.Runtime.V1\312\002\020Chalk\\Runtime\\V1\342\002\034Chalk\\Runtime\\V1\\GPBMetadata\352\002\022Chalk::Runtime::V1'
28
- _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._options = None
29
- _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_options = b'8\001'
30
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._options = None
31
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._serialized_options = b'\200}\003'
32
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._options = None
33
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._serialized_options = b'\200}\003'
34
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._options = None
35
- _globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._serialized_options = b'\200}\003'
36
- _globals['_REMOTECALLSTATUS']._serialized_start=4031
37
- _globals['_REMOTECALLSTATUS']._serialized_end=4246
38
- _globals['_CALLFUNCTIONREQUEST']._serialized_start=164
39
- _globals['_CALLFUNCTIONREQUEST']._serialized_end=244
40
- _globals['_CALLFUNCTIONRESPONSE']._serialized_start=246
41
- _globals['_CALLFUNCTIONRESPONSE']._serialized_end=307
42
- _globals['_REMOTECALLARGS']._serialized_start=309
43
- _globals['_REMOTECALLARGS']._serialized_end=418
44
- _globals['_ENQUEUEREMOTECALLREQUEST']._serialized_start=420
45
- _globals['_ENQUEUEREMOTECALLREQUEST']._serialized_end=520
46
- _globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_start=522
47
- _globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_end=574
48
- _globals['_OPENREMOTECALLBATCH']._serialized_start=576
49
- _globals['_OPENREMOTECALLBATCH']._serialized_end=681
50
- _globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_start=684
51
- _globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_end=839
52
- _globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_start=841
53
- _globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_end=874
54
- _globals['_CANCELREMOTECALLBATCH']._serialized_start=876
55
- _globals['_CANCELREMOTECALLBATCH']._serialized_end=923
56
- _globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_start=926
57
- _globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_end=1244
58
- _globals['_REMOTECALLBATCHOPENED']._serialized_start=1247
59
- _globals['_REMOTECALLBATCHOPENED']._serialized_end=1426
60
- _globals['_REMOTECALLBATCHCALL']._serialized_start=1428
61
- _globals['_REMOTECALLBATCHCALL']._serialized_end=1503
62
- _globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_start=1505
63
- _globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_end=1629
64
- _globals['_REMOTECALLBATCHRESULT']._serialized_start=1632
65
- _globals['_REMOTECALLBATCHRESULT']._serialized_end=1914
66
- _globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_start=1916
67
- _globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_end=2035
68
- _globals['_REMOTECALLBATCHCOMPLETED']._serialized_start=2038
69
- _globals['_REMOTECALLBATCHCOMPLETED']._serialized_end=2173
70
- _globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_start=2176
71
- _globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_end=2514
72
- _globals['_POLLREMOTECALLREQUEST']._serialized_start=2516
73
- _globals['_POLLREMOTECALLREQUEST']._serialized_end=2588
74
- _globals['_POLLREMOTECALLRESPONSE']._serialized_start=2591
75
- _globals['_POLLREMOTECALLRESPONSE']._serialized_end=2818
76
- _globals['_PURGEQUEUEREQUEST']._serialized_start=2820
77
- _globals['_PURGEQUEUEREQUEST']._serialized_end=2909
78
- _globals['_PURGEQUEUERESPONSE']._serialized_start=2912
79
- _globals['_PURGEQUEUERESPONSE']._serialized_end=3132
80
- _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_start=3059
81
- _globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_end=3132
82
- _globals['_FUNCTIONCALLINFO']._serialized_start=3135
83
- _globals['_FUNCTIONCALLINFO']._serialized_end=3402
84
- _globals['_GETRECENTCALLSREQUEST']._serialized_start=3404
85
- _globals['_GETRECENTCALLSREQUEST']._serialized_end=3517
86
- _globals['_GETRECENTCALLSRESPONSE']._serialized_start=3519
87
- _globals['_GETRECENTCALLSRESPONSE']._serialized_end=3641
88
- _globals['_GETCALLRESULTSREQUEST']._serialized_start=3643
89
- _globals['_GETCALLRESULTSREQUEST']._serialized_end=3693
90
- _globals['_CALLRESULT']._serialized_start=3696
91
- _globals['_CALLRESULT']._serialized_end=3840
92
- _globals['_GETCALLRESULTSRESPONSE']._serialized_start=3842
93
- _globals['_GETCALLRESULTSRESPONSE']._serialized_end=3922
94
- _globals['_GETCALLCOUNTREQUEST']._serialized_start=3924
95
- _globals['_GETCALLCOUNTREQUEST']._serialized_end=3982
96
- _globals['_GETCALLCOUNTRESPONSE']._serialized_start=3984
97
- _globals['_GETCALLCOUNTRESPONSE']._serialized_end=4028
98
- _globals['_REMOTECALLSERVICE']._serialized_start=4248
99
- _globals['_REMOTECALLSERVICE']._serialized_end=4368
100
- _globals['_ASYNCREMOTECALLSERVICE']._serialized_start=4371
101
- _globals['_ASYNCREMOTECALLSERVICE']._serialized_end=4829
102
- _globals['_FUNCTIONQUEUEMETASERVICE']._serialized_start=4832
103
- _globals['_FUNCTIONQUEUEMETASERVICE']._serialized_end=5170
104
- # @@protoc_insertion_point(module_scope)
@@ -1 +0,0 @@
1
- __version__ = "1.10.12"