chalkpy 2.94.5__py3-none-any.whl → 2.94.7__py3-none-any.whl

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 (74) hide show
  1. chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +37 -33
  2. chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +24 -3
  3. chalk/_gen/chalk/server/v1/benchmark_pb2.py +42 -11
  4. chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +86 -4
  5. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +180 -0
  6. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +48 -0
  7. chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
  8. chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
  9. chalk/_gen/chalk/server/v1/builder_pb2.py +357 -296
  10. chalk/_gen/chalk/server/v1/builder_pb2.pyi +273 -6
  11. chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +225 -0
  12. chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +60 -0
  13. chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
  14. chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
  15. chalk/_gen/chalk/server/v1/cloud_components_pb2.py +137 -123
  16. chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +86 -4
  17. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +50 -44
  18. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +33 -1
  19. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +45 -0
  20. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +12 -0
  21. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +38 -18
  22. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +55 -10
  23. chalk/_gen/chalk/server/v1/deployment_pb2.py +6 -6
  24. chalk/_gen/chalk/server/v1/deployment_pb2.pyi +20 -0
  25. chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
  26. chalk/_gen/chalk/server/v1/graph_pb2.py +38 -26
  27. chalk/_gen/chalk/server/v1/graph_pb2.pyi +58 -0
  28. chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +47 -0
  29. chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +18 -0
  30. chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
  31. chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
  32. chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
  33. chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
  34. chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
  35. chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
  36. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
  37. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
  38. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +10 -10
  39. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +4 -1
  40. chalk/_gen/chalk/server/v1/scheduler_pb2.py +17 -5
  41. chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +42 -0
  42. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
  43. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
  44. chalk/_gen/chalk/server/v1/script_tasks_pb2.py +15 -3
  45. chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +22 -0
  46. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
  47. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
  48. chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
  49. chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
  50. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
  51. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
  52. chalk/_gen/chalk/server/v1/team_pb2.py +142 -141
  53. chalk/_gen/chalk/server/v1/team_pb2.pyi +9 -2
  54. chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
  55. chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
  56. chalk/_gen/chalk/server/v1/trace_pb2.py +10 -10
  57. chalk/_gen/chalk/server/v1/trace_pb2.pyi +8 -0
  58. chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
  59. chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
  60. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
  61. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
  62. chalk/_version.py +1 -1
  63. chalk/df/LazyFramePlaceholder.py +9 -5
  64. chalk/gitignore/gitignore_parser.py +5 -1
  65. chalk/sql/_internal/integrations/redshift.py +4 -0
  66. {chalkpy-2.94.5.dist-info → chalkpy-2.94.7.dist-info}/METADATA +1 -1
  67. {chalkpy-2.94.5.dist-info → chalkpy-2.94.7.dist-info}/RECORD +70 -62
  68. chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py +0 -38
  69. chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi +0 -25
  70. chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py +0 -80
  71. chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi +0 -36
  72. {chalkpy-2.94.5.dist-info → chalkpy-2.94.7.dist-info}/WHEEL +0 -0
  73. {chalkpy-2.94.5.dist-info → chalkpy-2.94.7.dist-info}/entry_points.txt +0 -0
  74. {chalkpy-2.94.5.dist-info → chalkpy-2.94.7.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@ from chalk._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v
18
18
 
19
19
 
20
20
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
21
- b'\n#chalk/protosql/v1/sql_service.proto\x12\x11\x63halk.protosql.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto"#\n!ExecuteSqlSyncQueryRequestOptions"$\n"ExecuteSqlAsyncQueryRequestOptions"\xb1\x02\n\x16\x45xecuteSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12*\n\x0e\x63orrelation_id\x18\x02 \x01(\tH\x01R\rcorrelationId\x88\x01\x01\x12Y\n\x0csync_options\x18\n \x01(\x0b\x32\x34.chalk.protosql.v1.ExecuteSqlSyncQueryRequestOptionsH\x00R\x0bsyncOptions\x12\\\n\rasync_options\x18\x0b \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlAsyncQueryRequestOptionsH\x00R\x0c\x61syncOptionsB\t\n\x07optionsB\x11\n\x0f_correlation_id"O\n"ExecuteSqlSyncQueryResponsePayload\x12)\n\x10parquet_response\x18\x01 \x01(\x0cR\x0fparquetResponse"\xa0\x01\n#ExecuteSqlAsyncQueryResponsePayload\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12V\n\x0e\x65xecution_mode\x18\x02 \x01(\x0e\x32/.chalk.protosql.v1.ExecuteSqlAsyncExecutionModeR\rexecutionMode"\xcb\x02\n\x17\x45xecuteSqlQueryResponse\x12\x19\n\x08query_id\x18\x01 \x01(\tR\x07queryId\x12\x1a\n\x07parquet\x18\x02 \x01(\x0cH\x00R\x07parquet\x12Z\n\x0csync_payload\x18\n \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlSyncQueryResponsePayloadH\x00R\x0bsyncPayload\x12]\n\rasync_payload\x18\x0b \x01(\x0b\x32\x36.chalk.protosql.v1.ExecuteSqlAsyncQueryResponsePayloadH\x00R\x0c\x61syncPayload\x12\x33\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\t\n\x07payload"+\n\x13PlanSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query"n\n\x14PlanSqlQueryResponse\x12!\n\x0clogical_plan\x18\x01 \x01(\tR\x0blogicalPlan\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x16\n\x14GetDbCatalogsRequest"q\n\x15GetDbCatalogsResponse\x12#\n\rcatalog_names\x18\x01 \x03(\tR\x0c\x63\x61talogNames\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\xd0\x01\n\x13GetDbSchemasRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_pattern"W\n\x0c\x44\x62SchemaInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName"\x86\x01\n\x14GetDbSchemasResponse\x12\x39\n\x07schemas\x18\x01 \x03(\x0b\x32\x1f.chalk.protosql.v1.DbSchemaInfoR\x07schemas\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x9f\x02\n\x10GetTablesRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12>\n\x19table_name_filter_pattern\x18\x03 \x01(\tH\x02R\x16tableNameFilterPattern\x88\x01\x01\x12\'\n\x0finclude_schemas\x18\n \x01(\x08R\x0eincludeSchemasB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_patternB\x1c\n\x1a_table_name_filter_pattern"\xbd\x01\n\tTableInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName\x12\x1d\n\ntable_name\x18\x03 \x01(\tR\ttableName\x12\x31\n\x12table_arrow_schema\x18\x04 \x01(\x0cH\x00R\x10tableArrowSchema\x88\x01\x01\x42\x15\n\x13_table_arrow_schema"~\n\x11GetTablesResponse\x12\x34\n\x06tables\x18\x01 \x03(\x0b\x32\x1c.chalk.protosql.v1.TableInfoR\x06tables\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors*\xad\x01\n\x1c\x45xecuteSqlAsyncExecutionMode\x12\x30\n,EXECUTE_SQL_ASYNC_EXECUTION_MODE_UNSPECIFIED\x10\x00\x12/\n+EXECUTE_SQL_ASYNC_EXECUTION_MODE_IN_PROCESS\x10\x01\x12*\n&EXECUTE_SQL_ASYNC_EXECUTION_MODE_ASYNC\x10\x02\x32\x8d\x04\n\nSqlService\x12m\n\x0f\x45xecuteSqlQuery\x12).chalk.protosql.v1.ExecuteSqlQueryRequest\x1a*.chalk.protosql.v1.ExecuteSqlQueryResponse"\x03\x80}\x03\x12\x64\n\x0cPlanSqlQuery\x12&.chalk.protosql.v1.PlanSqlQueryRequest\x1a\'.chalk.protosql.v1.PlanSqlQueryResponse"\x03\x80}\x03\x12g\n\rGetDbCatalogs\x12\'.chalk.protosql.v1.GetDbCatalogsRequest\x1a(.chalk.protosql.v1.GetDbCatalogsResponse"\x03\x80}\x0b\x12\x64\n\x0cGetDbSchemas\x12&.chalk.protosql.v1.GetDbSchemasRequest\x1a\'.chalk.protosql.v1.GetDbSchemasResponse"\x03\x80}\x0b\x12[\n\tGetTables\x12#.chalk.protosql.v1.GetTablesRequest\x1a$.chalk.protosql.v1.GetTablesResponse"\x03\x80}\x0b\x42\x8e\x01\n\x15\x63om.chalk.protosql.v1B\x0fSqlServiceProtoP\x01\xa2\x02\x03\x43PX\xaa\x02\x11\x43halk.Protosql.V1\xca\x02\x11\x43halk\\Protosql\\V1\xe2\x02\x1d\x43halk\\Protosql\\V1\\GPBMetadata\xea\x02\x13\x43halk::Protosql::V1b\x06proto3'
21
+ b'\n#chalk/protosql/v1/sql_service.proto\x12\x11\x63halk.protosql.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto"#\n!ExecuteSqlSyncQueryRequestOptions"$\n"ExecuteSqlAsyncQueryRequestOptions"?\n#ExecuteSqlResultPersistenceSettings\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled"\x9c\x03\n\x16\x45xecuteSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12*\n\x0e\x63orrelation_id\x18\x02 \x01(\tH\x01R\rcorrelationId\x88\x01\x01\x12i\n\x14persistence_settings\x18\x03 \x01(\x0b\x32\x36.chalk.protosql.v1.ExecuteSqlResultPersistenceSettingsR\x13persistenceSettings\x12Y\n\x0csync_options\x18\n \x01(\x0b\x32\x34.chalk.protosql.v1.ExecuteSqlSyncQueryRequestOptionsH\x00R\x0bsyncOptions\x12\\\n\rasync_options\x18\x0b \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlAsyncQueryRequestOptionsH\x00R\x0c\x61syncOptionsB\t\n\x07optionsB\x11\n\x0f_correlation_id"&\n\x10SignedOutputUris\x12\x12\n\x04uris\x18\x01 \x03(\tR\x04uris"\xb1\x01\n"ExecuteSqlSyncQueryResponsePayload\x12+\n\x10parquet_response\x18\x01 \x01(\x0cH\x00R\x0fparquetResponse\x12S\n\x12signed_output_uris\x18\n \x01(\x0b\x32#.chalk.protosql.v1.SignedOutputUrisH\x00R\x10signedOutputUrisB\t\n\x07payload"\xa0\x01\n#ExecuteSqlAsyncQueryResponsePayload\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12V\n\x0e\x65xecution_mode\x18\x02 \x01(\x0e\x32/.chalk.protosql.v1.ExecuteSqlAsyncExecutionModeR\rexecutionMode"\xcb\x02\n\x17\x45xecuteSqlQueryResponse\x12\x19\n\x08query_id\x18\x01 \x01(\tR\x07queryId\x12\x1a\n\x07parquet\x18\x02 \x01(\x0cH\x00R\x07parquet\x12Z\n\x0csync_payload\x18\n \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlSyncQueryResponsePayloadH\x00R\x0bsyncPayload\x12]\n\rasync_payload\x18\x0b \x01(\x0b\x32\x36.chalk.protosql.v1.ExecuteSqlAsyncQueryResponsePayloadH\x00R\x0c\x61syncPayload\x12\x33\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\t\n\x07payload"+\n\x13PlanSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query"n\n\x14PlanSqlQueryResponse\x12!\n\x0clogical_plan\x18\x01 \x01(\tR\x0blogicalPlan\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x16\n\x14GetDbCatalogsRequest"q\n\x15GetDbCatalogsResponse\x12#\n\rcatalog_names\x18\x01 \x03(\tR\x0c\x63\x61talogNames\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\xd0\x01\n\x13GetDbSchemasRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_pattern"W\n\x0c\x44\x62SchemaInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName"\x86\x01\n\x14GetDbSchemasResponse\x12\x39\n\x07schemas\x18\x01 \x03(\x0b\x32\x1f.chalk.protosql.v1.DbSchemaInfoR\x07schemas\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x9f\x02\n\x10GetTablesRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12>\n\x19table_name_filter_pattern\x18\x03 \x01(\tH\x02R\x16tableNameFilterPattern\x88\x01\x01\x12\'\n\x0finclude_schemas\x18\n \x01(\x08R\x0eincludeSchemasB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_patternB\x1c\n\x1a_table_name_filter_pattern"\xbd\x01\n\tTableInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName\x12\x1d\n\ntable_name\x18\x03 \x01(\tR\ttableName\x12\x31\n\x12table_arrow_schema\x18\x04 \x01(\x0cH\x00R\x10tableArrowSchema\x88\x01\x01\x42\x15\n\x13_table_arrow_schema"~\n\x11GetTablesResponse\x12\x34\n\x06tables\x18\x01 \x03(\x0b\x32\x1c.chalk.protosql.v1.TableInfoR\x06tables\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors*\xad\x01\n\x1c\x45xecuteSqlAsyncExecutionMode\x12\x30\n,EXECUTE_SQL_ASYNC_EXECUTION_MODE_UNSPECIFIED\x10\x00\x12/\n+EXECUTE_SQL_ASYNC_EXECUTION_MODE_IN_PROCESS\x10\x01\x12*\n&EXECUTE_SQL_ASYNC_EXECUTION_MODE_ASYNC\x10\x02\x32\x8d\x04\n\nSqlService\x12m\n\x0f\x45xecuteSqlQuery\x12).chalk.protosql.v1.ExecuteSqlQueryRequest\x1a*.chalk.protosql.v1.ExecuteSqlQueryResponse"\x03\x80}\x03\x12\x64\n\x0cPlanSqlQuery\x12&.chalk.protosql.v1.PlanSqlQueryRequest\x1a\'.chalk.protosql.v1.PlanSqlQueryResponse"\x03\x80}\x03\x12g\n\rGetDbCatalogs\x12\'.chalk.protosql.v1.GetDbCatalogsRequest\x1a(.chalk.protosql.v1.GetDbCatalogsResponse"\x03\x80}\x0b\x12\x64\n\x0cGetDbSchemas\x12&.chalk.protosql.v1.GetDbSchemasRequest\x1a\'.chalk.protosql.v1.GetDbSchemasResponse"\x03\x80}\x0b\x12[\n\tGetTables\x12#.chalk.protosql.v1.GetTablesRequest\x1a$.chalk.protosql.v1.GetTablesResponse"\x03\x80}\x0b\x42\x8e\x01\n\x15\x63om.chalk.protosql.v1B\x0fSqlServiceProtoP\x01\xa2\x02\x03\x43PX\xaa\x02\x11\x43halk.Protosql.V1\xca\x02\x11\x43halk\\Protosql\\V1\xe2\x02\x1d\x43halk\\Protosql\\V1\\GPBMetadata\xea\x02\x13\x43halk::Protosql::V1b\x06proto3'
22
22
  )
23
23
 
24
24
  _globals = globals()
@@ -39,40 +39,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
39
39
  _globals["_SQLSERVICE"].methods_by_name["GetDbSchemas"]._serialized_options = b"\200}\013"
40
40
  _globals["_SQLSERVICE"].methods_by_name["GetTables"]._options = None
41
41
  _globals["_SQLSERVICE"].methods_by_name["GetTables"]._serialized_options = b"\200}\013"
42
- _globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_start = 2431
43
- _globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_end = 2604
42
+ _globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_start = 2742
43
+ _globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_end = 2915
44
44
  _globals["_EXECUTESQLSYNCQUERYREQUESTOPTIONS"]._serialized_start = 126
45
45
  _globals["_EXECUTESQLSYNCQUERYREQUESTOPTIONS"]._serialized_end = 161
46
46
  _globals["_EXECUTESQLASYNCQUERYREQUESTOPTIONS"]._serialized_start = 163
47
47
  _globals["_EXECUTESQLASYNCQUERYREQUESTOPTIONS"]._serialized_end = 199
48
- _globals["_EXECUTESQLQUERYREQUEST"]._serialized_start = 202
49
- _globals["_EXECUTESQLQUERYREQUEST"]._serialized_end = 507
50
- _globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 509
51
- _globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 588
52
- _globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 591
53
- _globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 751
54
- _globals["_EXECUTESQLQUERYRESPONSE"]._serialized_start = 754
55
- _globals["_EXECUTESQLQUERYRESPONSE"]._serialized_end = 1085
56
- _globals["_PLANSQLQUERYREQUEST"]._serialized_start = 1087
57
- _globals["_PLANSQLQUERYREQUEST"]._serialized_end = 1130
58
- _globals["_PLANSQLQUERYRESPONSE"]._serialized_start = 1132
59
- _globals["_PLANSQLQUERYRESPONSE"]._serialized_end = 1242
60
- _globals["_GETDBCATALOGSREQUEST"]._serialized_start = 1244
61
- _globals["_GETDBCATALOGSREQUEST"]._serialized_end = 1266
62
- _globals["_GETDBCATALOGSRESPONSE"]._serialized_start = 1268
63
- _globals["_GETDBCATALOGSRESPONSE"]._serialized_end = 1381
64
- _globals["_GETDBSCHEMASREQUEST"]._serialized_start = 1384
65
- _globals["_GETDBSCHEMASREQUEST"]._serialized_end = 1592
66
- _globals["_DBSCHEMAINFO"]._serialized_start = 1594
67
- _globals["_DBSCHEMAINFO"]._serialized_end = 1681
68
- _globals["_GETDBSCHEMASRESPONSE"]._serialized_start = 1684
69
- _globals["_GETDBSCHEMASRESPONSE"]._serialized_end = 1818
70
- _globals["_GETTABLESREQUEST"]._serialized_start = 1821
71
- _globals["_GETTABLESREQUEST"]._serialized_end = 2108
72
- _globals["_TABLEINFO"]._serialized_start = 2111
73
- _globals["_TABLEINFO"]._serialized_end = 2300
74
- _globals["_GETTABLESRESPONSE"]._serialized_start = 2302
75
- _globals["_GETTABLESRESPONSE"]._serialized_end = 2428
76
- _globals["_SQLSERVICE"]._serialized_start = 2607
77
- _globals["_SQLSERVICE"]._serialized_end = 3132
48
+ _globals["_EXECUTESQLRESULTPERSISTENCESETTINGS"]._serialized_start = 201
49
+ _globals["_EXECUTESQLRESULTPERSISTENCESETTINGS"]._serialized_end = 264
50
+ _globals["_EXECUTESQLQUERYREQUEST"]._serialized_start = 267
51
+ _globals["_EXECUTESQLQUERYREQUEST"]._serialized_end = 679
52
+ _globals["_SIGNEDOUTPUTURIS"]._serialized_start = 681
53
+ _globals["_SIGNEDOUTPUTURIS"]._serialized_end = 719
54
+ _globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 722
55
+ _globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 899
56
+ _globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 902
57
+ _globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 1062
58
+ _globals["_EXECUTESQLQUERYRESPONSE"]._serialized_start = 1065
59
+ _globals["_EXECUTESQLQUERYRESPONSE"]._serialized_end = 1396
60
+ _globals["_PLANSQLQUERYREQUEST"]._serialized_start = 1398
61
+ _globals["_PLANSQLQUERYREQUEST"]._serialized_end = 1441
62
+ _globals["_PLANSQLQUERYRESPONSE"]._serialized_start = 1443
63
+ _globals["_PLANSQLQUERYRESPONSE"]._serialized_end = 1553
64
+ _globals["_GETDBCATALOGSREQUEST"]._serialized_start = 1555
65
+ _globals["_GETDBCATALOGSREQUEST"]._serialized_end = 1577
66
+ _globals["_GETDBCATALOGSRESPONSE"]._serialized_start = 1579
67
+ _globals["_GETDBCATALOGSRESPONSE"]._serialized_end = 1692
68
+ _globals["_GETDBSCHEMASREQUEST"]._serialized_start = 1695
69
+ _globals["_GETDBSCHEMASREQUEST"]._serialized_end = 1903
70
+ _globals["_DBSCHEMAINFO"]._serialized_start = 1905
71
+ _globals["_DBSCHEMAINFO"]._serialized_end = 1992
72
+ _globals["_GETDBSCHEMASRESPONSE"]._serialized_start = 1995
73
+ _globals["_GETDBSCHEMASRESPONSE"]._serialized_end = 2129
74
+ _globals["_GETTABLESREQUEST"]._serialized_start = 2132
75
+ _globals["_GETTABLESREQUEST"]._serialized_end = 2419
76
+ _globals["_TABLEINFO"]._serialized_start = 2422
77
+ _globals["_TABLEINFO"]._serialized_end = 2611
78
+ _globals["_GETTABLESRESPONSE"]._serialized_start = 2613
79
+ _globals["_GETTABLESRESPONSE"]._serialized_end = 2739
80
+ _globals["_SQLSERVICE"]._serialized_start = 2918
81
+ _globals["_SQLSERVICE"]._serialized_end = 3443
78
82
  # @@protoc_insertion_point(module_scope)
@@ -32,29 +32,50 @@ class ExecuteSqlAsyncQueryRequestOptions(_message.Message):
32
32
  __slots__ = ()
33
33
  def __init__(self) -> None: ...
34
34
 
35
+ class ExecuteSqlResultPersistenceSettings(_message.Message):
36
+ __slots__ = ("enabled",)
37
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
38
+ enabled: bool
39
+ def __init__(self, enabled: bool = ...) -> None: ...
40
+
35
41
  class ExecuteSqlQueryRequest(_message.Message):
36
- __slots__ = ("query", "correlation_id", "sync_options", "async_options")
42
+ __slots__ = ("query", "correlation_id", "persistence_settings", "sync_options", "async_options")
37
43
  QUERY_FIELD_NUMBER: _ClassVar[int]
38
44
  CORRELATION_ID_FIELD_NUMBER: _ClassVar[int]
45
+ PERSISTENCE_SETTINGS_FIELD_NUMBER: _ClassVar[int]
39
46
  SYNC_OPTIONS_FIELD_NUMBER: _ClassVar[int]
40
47
  ASYNC_OPTIONS_FIELD_NUMBER: _ClassVar[int]
41
48
  query: str
42
49
  correlation_id: str
50
+ persistence_settings: ExecuteSqlResultPersistenceSettings
43
51
  sync_options: ExecuteSqlSyncQueryRequestOptions
44
52
  async_options: ExecuteSqlAsyncQueryRequestOptions
45
53
  def __init__(
46
54
  self,
47
55
  query: _Optional[str] = ...,
48
56
  correlation_id: _Optional[str] = ...,
57
+ persistence_settings: _Optional[_Union[ExecuteSqlResultPersistenceSettings, _Mapping]] = ...,
49
58
  sync_options: _Optional[_Union[ExecuteSqlSyncQueryRequestOptions, _Mapping]] = ...,
50
59
  async_options: _Optional[_Union[ExecuteSqlAsyncQueryRequestOptions, _Mapping]] = ...,
51
60
  ) -> None: ...
52
61
 
62
+ class SignedOutputUris(_message.Message):
63
+ __slots__ = ("uris",)
64
+ URIS_FIELD_NUMBER: _ClassVar[int]
65
+ uris: _containers.RepeatedScalarFieldContainer[str]
66
+ def __init__(self, uris: _Optional[_Iterable[str]] = ...) -> None: ...
67
+
53
68
  class ExecuteSqlSyncQueryResponsePayload(_message.Message):
54
- __slots__ = ("parquet_response",)
69
+ __slots__ = ("parquet_response", "signed_output_uris")
55
70
  PARQUET_RESPONSE_FIELD_NUMBER: _ClassVar[int]
71
+ SIGNED_OUTPUT_URIS_FIELD_NUMBER: _ClassVar[int]
56
72
  parquet_response: bytes
57
- def __init__(self, parquet_response: _Optional[bytes] = ...) -> None: ...
73
+ signed_output_uris: SignedOutputUris
74
+ def __init__(
75
+ self,
76
+ parquet_response: _Optional[bytes] = ...,
77
+ signed_output_uris: _Optional[_Union[SignedOutputUris, _Mapping]] = ...,
78
+ ) -> None: ...
58
79
 
59
80
  class ExecuteSqlAsyncQueryResponsePayload(_message.Message):
60
81
  __slots__ = ("operation_id", "execution_mode")
@@ -16,10 +16,11 @@ _sym_db = _symbol_database.Default()
16
16
  from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
17
17
  from chalk._gen.chalk.common.v1 import online_query_pb2 as chalk_dot_common_dot_v1_dot_online__query__pb2
18
18
  from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
19
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
19
20
 
20
21
 
21
22
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
22
- b'\n\x1f\x63halk/server/v1/benchmark.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a"chalk/common/v1/online_query.proto\x1a\x1egoogle/protobuf/duration.proto"n\n\x1cSimpleOnlineQueryBulkRequest\x12%\n\x0einput_features\x18\x01 \x03(\tR\rinputFeatures\x12\'\n\x0foutput_features\x18\x02 \x03(\tR\x0eoutputFeatures"\xfc\x02\n\x16\x43reateBenchmarkRequest\x12\x1d\n\nwarmup_qps\x18\x01 \x01(\x03R\twarmupQps\x12\x42\n\x0fwarmup_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0ewarmupDuration\x12\x10\n\x03qps\x18\x03 \x01(\x03R\x03qps\x12\x35\n\x08\x64uration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12H\n\nquery_bulk\x18\x05 \x01(\x0b\x32\'.chalk.common.v1.OnlineQueryBulkRequestH\x00R\tqueryBulk\x12[\n\x11simple_query_bulk\x18\x06 \x01(\x0b\x32-.chalk.server.v1.SimpleOnlineQueryBulkRequestH\x00R\x0fsimpleQueryBulkB\x0f\n\rquery_request"S\n\x17\x43reateBenchmarkResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32 .chalk.server.v1.BenchmarkStatusR\x06status*\xe8\x01\n\x0f\x42\x65nchmarkStatus\x12 \n\x1c\x42\x45NCHMARK_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_QUEUED\x10\x01\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_WORKING\x10\x02\x12\x1e\n\x1a\x42\x45NCHMARK_STATUS_COMPLETED\x10\x03\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_FAILED\x10\x04\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_SKIPPED\x10\x05\x12\x1d\n\x19\x42\x45NCHMARK_STATUS_CANCELED\x10\x06\x32}\n\x10\x42\x65nchmarkService\x12i\n\x0f\x43reateBenchmark\x12\'.chalk.server.v1.CreateBenchmarkRequest\x1a(.chalk.server.v1.CreateBenchmarkResponse"\x03\x80}\x03\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0e\x42\x65nchmarkProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
23
+ b'\n\x1f\x63halk/server/v1/benchmark.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a"chalk/common/v1/online_query.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"6\n\rInputFeatures\x12%\n\x0einput_features\x18\x01 \x03(\tR\rinputFeatures"\xef\x01\n\x1cSimpleOnlineQueryBulkRequest\x12)\n\x0einput_features\x18\x01 \x03(\tB\x02\x18\x01R\rinputFeatures\x12P\n\x13input_features_list\x18\x03 \x01(\x0b\x32\x1e.chalk.server.v1.InputFeaturesH\x00R\x11inputFeaturesList\x12\x1f\n\ninput_file\x18\x04 \x01(\tH\x00R\tinputFile\x12\'\n\x0foutput_features\x18\x02 \x03(\tR\x0eoutputFeaturesB\x08\n\x06inputs"\xfc\x02\n\x16\x43reateBenchmarkRequest\x12\x1d\n\nwarmup_qps\x18\x01 \x01(\x03R\twarmupQps\x12\x42\n\x0fwarmup_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0ewarmupDuration\x12\x10\n\x03qps\x18\x03 \x01(\x03R\x03qps\x12\x35\n\x08\x64uration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12H\n\nquery_bulk\x18\x05 \x01(\x0b\x32\'.chalk.common.v1.OnlineQueryBulkRequestH\x00R\tqueryBulk\x12[\n\x11simple_query_bulk\x18\x06 \x01(\x0b\x32-.chalk.server.v1.SimpleOnlineQueryBulkRequestH\x00R\x0fsimpleQueryBulkB\x0f\n\rquery_request"v\n\x17\x43reateBenchmarkResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32 .chalk.server.v1.BenchmarkStatusR\x06status\x12!\n\x0c\x62\x65nchmark_id\x18\x02 \x01(\tR\x0b\x62\x65nchmarkId"\x99\x01\n\x12\x42\x65nchmarkInputFile\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x04size\x18\x02 \x01(\x03H\x00R\x04size\x88\x01\x01\x12>\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tupdatedAt\x88\x01\x01\x42\x07\n\x05_sizeB\r\n\x0b_updated_at"7\n\x1dGetAvailableInputFilesRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix"f\n\x1eGetAvailableInputFilesResponse\x12\x44\n\x0binput_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\ninputFiles"e\n\x1dGetInputFileUploadUrlsRequest\x12\x44\n\x0binput_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\ninputFiles"G\n\x1eGetInputFileUploadUrlsResponse\x12%\n\x0epresigned_urls\x18\x01 \x03(\tR\rpresignedUrls"8\n\x1eGetAvailableResultFilesRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix"i\n\x1fGetAvailableResultFilesResponse\x12\x46\n\x0cresult_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\x0bresultFiles"9\n\x18GetResultFileUrlsRequest\x12\x1d\n\nfile_names\x18\x01 \x03(\tR\tfileNames"B\n\x19GetResultFileUrlsResponse\x12%\n\x0epresigned_urls\x18\x01 \x03(\tR\rpresignedUrls*\xe8\x01\n\x0f\x42\x65nchmarkStatus\x12 \n\x1c\x42\x45NCHMARK_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_QUEUED\x10\x01\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_WORKING\x10\x02\x12\x1e\n\x1a\x42\x45NCHMARK_STATUS_COMPLETED\x10\x03\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_FAILED\x10\x04\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_SKIPPED\x10\x05\x12\x1d\n\x19\x42\x45NCHMARK_STATUS_CANCELED\x10\x06\x32\xf2\x04\n\x10\x42\x65nchmarkService\x12i\n\x0f\x43reateBenchmark\x12\'.chalk.server.v1.CreateBenchmarkRequest\x1a(.chalk.server.v1.CreateBenchmarkResponse"\x03\x80}\x03\x12~\n\x16GetAvailableInputFiles\x12..chalk.server.v1.GetAvailableInputFilesRequest\x1a/.chalk.server.v1.GetAvailableInputFilesResponse"\x03\x80}\x03\x12~\n\x16GetInputFileUploadUrls\x12..chalk.server.v1.GetInputFileUploadUrlsRequest\x1a/.chalk.server.v1.GetInputFileUploadUrlsResponse"\x03\x80}\x03\x12\x81\x01\n\x17GetAvailableResultFiles\x12/.chalk.server.v1.GetAvailableResultFilesRequest\x1a\x30.chalk.server.v1.GetAvailableResultFilesResponse"\x03\x80}\x03\x12o\n\x11GetResultFileUrls\x12).chalk.server.v1.GetResultFileUrlsRequest\x1a*.chalk.server.v1.GetResultFileUrlsResponse"\x03\x80}\x03\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0e\x42\x65nchmarkProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
23
24
  )
24
25
 
25
26
  _globals = globals()
@@ -30,16 +31,46 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
31
  _globals[
31
32
  "DESCRIPTOR"
32
33
  ]._serialized_options = b"\n\023com.chalk.server.v1B\016BenchmarkProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
34
+ _globals["_SIMPLEONLINEQUERYBULKREQUEST"].fields_by_name["input_features"]._options = None
35
+ _globals["_SIMPLEONLINEQUERYBULKREQUEST"].fields_by_name["input_features"]._serialized_options = b"\030\001"
33
36
  _globals["_BENCHMARKSERVICE"].methods_by_name["CreateBenchmark"]._options = None
34
37
  _globals["_BENCHMARKSERVICE"].methods_by_name["CreateBenchmark"]._serialized_options = b"\200}\003"
35
- _globals["_BENCHMARKSTATUS"]._serialized_start = 734
36
- _globals["_BENCHMARKSTATUS"]._serialized_end = 966
37
- _globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_start = 153
38
- _globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_end = 263
39
- _globals["_CREATEBENCHMARKREQUEST"]._serialized_start = 266
40
- _globals["_CREATEBENCHMARKREQUEST"]._serialized_end = 646
41
- _globals["_CREATEBENCHMARKRESPONSE"]._serialized_start = 648
42
- _globals["_CREATEBENCHMARKRESPONSE"]._serialized_end = 731
43
- _globals["_BENCHMARKSERVICE"]._serialized_start = 968
44
- _globals["_BENCHMARKSERVICE"]._serialized_end = 1093
38
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableInputFiles"]._options = None
39
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableInputFiles"]._serialized_options = b"\200}\003"
40
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetInputFileUploadUrls"]._options = None
41
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetInputFileUploadUrls"]._serialized_options = b"\200}\003"
42
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableResultFiles"]._options = None
43
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableResultFiles"]._serialized_options = b"\200}\003"
44
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetResultFileUrls"]._options = None
45
+ _globals["_BENCHMARKSERVICE"].methods_by_name["GetResultFileUrls"]._serialized_options = b"\200}\003"
46
+ _globals["_BENCHMARKSTATUS"]._serialized_start = 1773
47
+ _globals["_BENCHMARKSTATUS"]._serialized_end = 2005
48
+ _globals["_INPUTFEATURES"]._serialized_start = 186
49
+ _globals["_INPUTFEATURES"]._serialized_end = 240
50
+ _globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_start = 243
51
+ _globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_end = 482
52
+ _globals["_CREATEBENCHMARKREQUEST"]._serialized_start = 485
53
+ _globals["_CREATEBENCHMARKREQUEST"]._serialized_end = 865
54
+ _globals["_CREATEBENCHMARKRESPONSE"]._serialized_start = 867
55
+ _globals["_CREATEBENCHMARKRESPONSE"]._serialized_end = 985
56
+ _globals["_BENCHMARKINPUTFILE"]._serialized_start = 988
57
+ _globals["_BENCHMARKINPUTFILE"]._serialized_end = 1141
58
+ _globals["_GETAVAILABLEINPUTFILESREQUEST"]._serialized_start = 1143
59
+ _globals["_GETAVAILABLEINPUTFILESREQUEST"]._serialized_end = 1198
60
+ _globals["_GETAVAILABLEINPUTFILESRESPONSE"]._serialized_start = 1200
61
+ _globals["_GETAVAILABLEINPUTFILESRESPONSE"]._serialized_end = 1302
62
+ _globals["_GETINPUTFILEUPLOADURLSREQUEST"]._serialized_start = 1304
63
+ _globals["_GETINPUTFILEUPLOADURLSREQUEST"]._serialized_end = 1405
64
+ _globals["_GETINPUTFILEUPLOADURLSRESPONSE"]._serialized_start = 1407
65
+ _globals["_GETINPUTFILEUPLOADURLSRESPONSE"]._serialized_end = 1478
66
+ _globals["_GETAVAILABLERESULTFILESREQUEST"]._serialized_start = 1480
67
+ _globals["_GETAVAILABLERESULTFILESREQUEST"]._serialized_end = 1536
68
+ _globals["_GETAVAILABLERESULTFILESRESPONSE"]._serialized_start = 1538
69
+ _globals["_GETAVAILABLERESULTFILESRESPONSE"]._serialized_end = 1643
70
+ _globals["_GETRESULTFILEURLSREQUEST"]._serialized_start = 1645
71
+ _globals["_GETRESULTFILEURLSREQUEST"]._serialized_end = 1702
72
+ _globals["_GETRESULTFILEURLSRESPONSE"]._serialized_start = 1704
73
+ _globals["_GETRESULTFILEURLSRESPONSE"]._serialized_end = 1770
74
+ _globals["_BENCHMARKSERVICE"]._serialized_start = 2008
75
+ _globals["_BENCHMARKSERVICE"]._serialized_end = 2634
45
76
  # @@protoc_insertion_point(module_scope)
@@ -1,6 +1,7 @@
1
1
  from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
2
2
  from chalk._gen.chalk.common.v1 import online_query_pb2 as _online_query_pb2
3
3
  from google.protobuf import duration_pb2 as _duration_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
5
  from google.protobuf.internal import containers as _containers
5
6
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6
7
  from google.protobuf import descriptor as _descriptor
@@ -33,14 +34,28 @@ BENCHMARK_STATUS_FAILED: BenchmarkStatus
33
34
  BENCHMARK_STATUS_SKIPPED: BenchmarkStatus
34
35
  BENCHMARK_STATUS_CANCELED: BenchmarkStatus
35
36
 
37
+ class InputFeatures(_message.Message):
38
+ __slots__ = ("input_features",)
39
+ INPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
40
+ input_features: _containers.RepeatedScalarFieldContainer[str]
41
+ def __init__(self, input_features: _Optional[_Iterable[str]] = ...) -> None: ...
42
+
36
43
  class SimpleOnlineQueryBulkRequest(_message.Message):
37
- __slots__ = ("input_features", "output_features")
44
+ __slots__ = ("input_features", "input_features_list", "input_file", "output_features")
38
45
  INPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
46
+ INPUT_FEATURES_LIST_FIELD_NUMBER: _ClassVar[int]
47
+ INPUT_FILE_FIELD_NUMBER: _ClassVar[int]
39
48
  OUTPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
40
49
  input_features: _containers.RepeatedScalarFieldContainer[str]
50
+ input_features_list: InputFeatures
51
+ input_file: str
41
52
  output_features: _containers.RepeatedScalarFieldContainer[str]
42
53
  def __init__(
43
- self, input_features: _Optional[_Iterable[str]] = ..., output_features: _Optional[_Iterable[str]] = ...
54
+ self,
55
+ input_features: _Optional[_Iterable[str]] = ...,
56
+ input_features_list: _Optional[_Union[InputFeatures, _Mapping]] = ...,
57
+ input_file: _Optional[str] = ...,
58
+ output_features: _Optional[_Iterable[str]] = ...,
44
59
  ) -> None: ...
45
60
 
46
61
  class CreateBenchmarkRequest(_message.Message):
@@ -68,7 +83,74 @@ class CreateBenchmarkRequest(_message.Message):
68
83
  ) -> None: ...
69
84
 
70
85
  class CreateBenchmarkResponse(_message.Message):
71
- __slots__ = ("status",)
86
+ __slots__ = ("status", "benchmark_id")
72
87
  STATUS_FIELD_NUMBER: _ClassVar[int]
88
+ BENCHMARK_ID_FIELD_NUMBER: _ClassVar[int]
73
89
  status: BenchmarkStatus
74
- def __init__(self, status: _Optional[_Union[BenchmarkStatus, str]] = ...) -> None: ...
90
+ benchmark_id: str
91
+ def __init__(
92
+ self, status: _Optional[_Union[BenchmarkStatus, str]] = ..., benchmark_id: _Optional[str] = ...
93
+ ) -> None: ...
94
+
95
+ class BenchmarkInputFile(_message.Message):
96
+ __slots__ = ("name", "size", "updated_at")
97
+ NAME_FIELD_NUMBER: _ClassVar[int]
98
+ SIZE_FIELD_NUMBER: _ClassVar[int]
99
+ UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
100
+ name: str
101
+ size: int
102
+ updated_at: _timestamp_pb2.Timestamp
103
+ def __init__(
104
+ self,
105
+ name: _Optional[str] = ...,
106
+ size: _Optional[int] = ...,
107
+ updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
108
+ ) -> None: ...
109
+
110
+ class GetAvailableInputFilesRequest(_message.Message):
111
+ __slots__ = ("prefix",)
112
+ PREFIX_FIELD_NUMBER: _ClassVar[int]
113
+ prefix: str
114
+ def __init__(self, prefix: _Optional[str] = ...) -> None: ...
115
+
116
+ class GetAvailableInputFilesResponse(_message.Message):
117
+ __slots__ = ("input_files",)
118
+ INPUT_FILES_FIELD_NUMBER: _ClassVar[int]
119
+ input_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
120
+ def __init__(self, input_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
121
+
122
+ class GetInputFileUploadUrlsRequest(_message.Message):
123
+ __slots__ = ("input_files",)
124
+ INPUT_FILES_FIELD_NUMBER: _ClassVar[int]
125
+ input_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
126
+ def __init__(self, input_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
127
+
128
+ class GetInputFileUploadUrlsResponse(_message.Message):
129
+ __slots__ = ("presigned_urls",)
130
+ PRESIGNED_URLS_FIELD_NUMBER: _ClassVar[int]
131
+ presigned_urls: _containers.RepeatedScalarFieldContainer[str]
132
+ def __init__(self, presigned_urls: _Optional[_Iterable[str]] = ...) -> None: ...
133
+
134
+ class GetAvailableResultFilesRequest(_message.Message):
135
+ __slots__ = ("prefix",)
136
+ PREFIX_FIELD_NUMBER: _ClassVar[int]
137
+ prefix: str
138
+ def __init__(self, prefix: _Optional[str] = ...) -> None: ...
139
+
140
+ class GetAvailableResultFilesResponse(_message.Message):
141
+ __slots__ = ("result_files",)
142
+ RESULT_FILES_FIELD_NUMBER: _ClassVar[int]
143
+ result_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
144
+ def __init__(self, result_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
145
+
146
+ class GetResultFileUrlsRequest(_message.Message):
147
+ __slots__ = ("file_names",)
148
+ FILE_NAMES_FIELD_NUMBER: _ClassVar[int]
149
+ file_names: _containers.RepeatedScalarFieldContainer[str]
150
+ def __init__(self, file_names: _Optional[_Iterable[str]] = ...) -> None: ...
151
+
152
+ class GetResultFileUrlsResponse(_message.Message):
153
+ __slots__ = ("presigned_urls",)
154
+ PRESIGNED_URLS_FIELD_NUMBER: _ClassVar[int]
155
+ presigned_urls: _containers.RepeatedScalarFieldContainer[str]
156
+ def __init__(self, presigned_urls: _Optional[_Iterable[str]] = ...) -> None: ...
@@ -20,6 +20,26 @@ class BenchmarkServiceStub(object):
20
20
  request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkRequest.SerializeToString,
21
21
  response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkResponse.FromString,
22
22
  )
23
+ self.GetAvailableInputFiles = channel.unary_unary(
24
+ "/chalk.server.v1.BenchmarkService/GetAvailableInputFiles",
25
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.SerializeToString,
26
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.FromString,
27
+ )
28
+ self.GetInputFileUploadUrls = channel.unary_unary(
29
+ "/chalk.server.v1.BenchmarkService/GetInputFileUploadUrls",
30
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.SerializeToString,
31
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.FromString,
32
+ )
33
+ self.GetAvailableResultFiles = channel.unary_unary(
34
+ "/chalk.server.v1.BenchmarkService/GetAvailableResultFiles",
35
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.SerializeToString,
36
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.FromString,
37
+ )
38
+ self.GetResultFileUrls = channel.unary_unary(
39
+ "/chalk.server.v1.BenchmarkService/GetResultFileUrls",
40
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.SerializeToString,
41
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.FromString,
42
+ )
23
43
 
24
44
 
25
45
  class BenchmarkServiceServicer(object):
@@ -31,6 +51,30 @@ class BenchmarkServiceServicer(object):
31
51
  context.set_details("Method not implemented!")
32
52
  raise NotImplementedError("Method not implemented!")
33
53
 
54
+ def GetAvailableInputFiles(self, request, context):
55
+ """Missing associated documentation comment in .proto file."""
56
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
57
+ context.set_details("Method not implemented!")
58
+ raise NotImplementedError("Method not implemented!")
59
+
60
+ def GetInputFileUploadUrls(self, request, context):
61
+ """Missing associated documentation comment in .proto file."""
62
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63
+ context.set_details("Method not implemented!")
64
+ raise NotImplementedError("Method not implemented!")
65
+
66
+ def GetAvailableResultFiles(self, request, context):
67
+ """Missing associated documentation comment in .proto file."""
68
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
+ context.set_details("Method not implemented!")
70
+ raise NotImplementedError("Method not implemented!")
71
+
72
+ def GetResultFileUrls(self, request, context):
73
+ """Missing associated documentation comment in .proto file."""
74
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
75
+ context.set_details("Method not implemented!")
76
+ raise NotImplementedError("Method not implemented!")
77
+
34
78
 
35
79
  def add_BenchmarkServiceServicer_to_server(servicer, server):
36
80
  rpc_method_handlers = {
@@ -39,6 +83,26 @@ def add_BenchmarkServiceServicer_to_server(servicer, server):
39
83
  request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkRequest.FromString,
40
84
  response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkResponse.SerializeToString,
41
85
  ),
86
+ "GetAvailableInputFiles": grpc.unary_unary_rpc_method_handler(
87
+ servicer.GetAvailableInputFiles,
88
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.FromString,
89
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.SerializeToString,
90
+ ),
91
+ "GetInputFileUploadUrls": grpc.unary_unary_rpc_method_handler(
92
+ servicer.GetInputFileUploadUrls,
93
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.FromString,
94
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.SerializeToString,
95
+ ),
96
+ "GetAvailableResultFiles": grpc.unary_unary_rpc_method_handler(
97
+ servicer.GetAvailableResultFiles,
98
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.FromString,
99
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.SerializeToString,
100
+ ),
101
+ "GetResultFileUrls": grpc.unary_unary_rpc_method_handler(
102
+ servicer.GetResultFileUrls,
103
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.FromString,
104
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.SerializeToString,
105
+ ),
42
106
  }
43
107
  generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.BenchmarkService", rpc_method_handlers)
44
108
  server.add_generic_rpc_handlers((generic_handler,))
@@ -76,3 +140,119 @@ class BenchmarkService(object):
76
140
  timeout,
77
141
  metadata,
78
142
  )
143
+
144
+ @staticmethod
145
+ def GetAvailableInputFiles(
146
+ request,
147
+ target,
148
+ options=(),
149
+ channel_credentials=None,
150
+ call_credentials=None,
151
+ insecure=False,
152
+ compression=None,
153
+ wait_for_ready=None,
154
+ timeout=None,
155
+ metadata=None,
156
+ ):
157
+ return grpc.experimental.unary_unary(
158
+ request,
159
+ target,
160
+ "/chalk.server.v1.BenchmarkService/GetAvailableInputFiles",
161
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.SerializeToString,
162
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.FromString,
163
+ options,
164
+ channel_credentials,
165
+ insecure,
166
+ call_credentials,
167
+ compression,
168
+ wait_for_ready,
169
+ timeout,
170
+ metadata,
171
+ )
172
+
173
+ @staticmethod
174
+ def GetInputFileUploadUrls(
175
+ request,
176
+ target,
177
+ options=(),
178
+ channel_credentials=None,
179
+ call_credentials=None,
180
+ insecure=False,
181
+ compression=None,
182
+ wait_for_ready=None,
183
+ timeout=None,
184
+ metadata=None,
185
+ ):
186
+ return grpc.experimental.unary_unary(
187
+ request,
188
+ target,
189
+ "/chalk.server.v1.BenchmarkService/GetInputFileUploadUrls",
190
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.SerializeToString,
191
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.FromString,
192
+ options,
193
+ channel_credentials,
194
+ insecure,
195
+ call_credentials,
196
+ compression,
197
+ wait_for_ready,
198
+ timeout,
199
+ metadata,
200
+ )
201
+
202
+ @staticmethod
203
+ def GetAvailableResultFiles(
204
+ request,
205
+ target,
206
+ options=(),
207
+ channel_credentials=None,
208
+ call_credentials=None,
209
+ insecure=False,
210
+ compression=None,
211
+ wait_for_ready=None,
212
+ timeout=None,
213
+ metadata=None,
214
+ ):
215
+ return grpc.experimental.unary_unary(
216
+ request,
217
+ target,
218
+ "/chalk.server.v1.BenchmarkService/GetAvailableResultFiles",
219
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.SerializeToString,
220
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.FromString,
221
+ options,
222
+ channel_credentials,
223
+ insecure,
224
+ call_credentials,
225
+ compression,
226
+ wait_for_ready,
227
+ timeout,
228
+ metadata,
229
+ )
230
+
231
+ @staticmethod
232
+ def GetResultFileUrls(
233
+ request,
234
+ target,
235
+ options=(),
236
+ channel_credentials=None,
237
+ call_credentials=None,
238
+ insecure=False,
239
+ compression=None,
240
+ wait_for_ready=None,
241
+ timeout=None,
242
+ metadata=None,
243
+ ):
244
+ return grpc.experimental.unary_unary(
245
+ request,
246
+ target,
247
+ "/chalk.server.v1.BenchmarkService/GetResultFileUrls",
248
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.SerializeToString,
249
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.FromString,
250
+ options,
251
+ channel_credentials,
252
+ insecure,
253
+ call_credentials,
254
+ compression,
255
+ wait_for_ready,
256
+ timeout,
257
+ metadata,
258
+ )
@@ -10,6 +10,14 @@ from abc import (
10
10
  from chalk._gen.chalk.server.v1.benchmark_pb2 import (
11
11
  CreateBenchmarkRequest,
12
12
  CreateBenchmarkResponse,
13
+ GetAvailableInputFilesRequest,
14
+ GetAvailableInputFilesResponse,
15
+ GetAvailableResultFilesRequest,
16
+ GetAvailableResultFilesResponse,
17
+ GetInputFileUploadUrlsRequest,
18
+ GetInputFileUploadUrlsResponse,
19
+ GetResultFileUrlsRequest,
20
+ GetResultFileUrlsResponse,
13
21
  )
14
22
  from grpc import (
15
23
  Channel,
@@ -24,6 +32,22 @@ class BenchmarkServiceStub:
24
32
  CreateBenchmarkRequest,
25
33
  CreateBenchmarkResponse,
26
34
  ]
35
+ GetAvailableInputFiles: UnaryUnaryMultiCallable[
36
+ GetAvailableInputFilesRequest,
37
+ GetAvailableInputFilesResponse,
38
+ ]
39
+ GetInputFileUploadUrls: UnaryUnaryMultiCallable[
40
+ GetInputFileUploadUrlsRequest,
41
+ GetInputFileUploadUrlsResponse,
42
+ ]
43
+ GetAvailableResultFiles: UnaryUnaryMultiCallable[
44
+ GetAvailableResultFilesRequest,
45
+ GetAvailableResultFilesResponse,
46
+ ]
47
+ GetResultFileUrls: UnaryUnaryMultiCallable[
48
+ GetResultFileUrlsRequest,
49
+ GetResultFileUrlsResponse,
50
+ ]
27
51
 
28
52
  class BenchmarkServiceServicer(metaclass=ABCMeta):
29
53
  @abstractmethod
@@ -32,5 +56,29 @@ class BenchmarkServiceServicer(metaclass=ABCMeta):
32
56
  request: CreateBenchmarkRequest,
33
57
  context: ServicerContext,
34
58
  ) -> CreateBenchmarkResponse: ...
59
+ @abstractmethod
60
+ def GetAvailableInputFiles(
61
+ self,
62
+ request: GetAvailableInputFilesRequest,
63
+ context: ServicerContext,
64
+ ) -> GetAvailableInputFilesResponse: ...
65
+ @abstractmethod
66
+ def GetInputFileUploadUrls(
67
+ self,
68
+ request: GetInputFileUploadUrlsRequest,
69
+ context: ServicerContext,
70
+ ) -> GetInputFileUploadUrlsResponse: ...
71
+ @abstractmethod
72
+ def GetAvailableResultFiles(
73
+ self,
74
+ request: GetAvailableResultFilesRequest,
75
+ context: ServicerContext,
76
+ ) -> GetAvailableResultFilesResponse: ...
77
+ @abstractmethod
78
+ def GetResultFileUrls(
79
+ self,
80
+ request: GetResultFileUrlsRequest,
81
+ context: ServicerContext,
82
+ ) -> GetResultFileUrlsResponse: ...
35
83
 
36
84
  def add_BenchmarkServiceServicer_to_server(servicer: BenchmarkServiceServicer, server: Server) -> None: ...