chalkpy 2.89.22__py3-none-any.whl → 2.95.3__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.
- chalk/__init__.py +2 -1
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/artifacts/v1/chart_pb2.py +36 -33
- chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +41 -1
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +8 -7
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +5 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +19 -13
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +37 -0
- chalk/_gen/chalk/common/v1/online_query_pb2.py +54 -54
- chalk/_gen/chalk/common/v1/online_query_pb2.pyi +13 -1
- chalk/_gen/chalk/common/v1/script_task_pb2.py +13 -11
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +19 -1
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +123 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +25 -0
- chalk/_gen/chalk/graph/v1/sources_pb2.py +94 -84
- chalk/_gen/chalk/graph/v1/sources_pb2.pyi +56 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +54 -27
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +131 -3
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.py +45 -0
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.pyi +14 -0
- chalk/_gen/chalk/python/v1/types_pb2.py +14 -14
- chalk/_gen/chalk/python/v1/types_pb2.pyi +8 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +76 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +156 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +258 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +84 -0
- chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
- chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
- chalk/_gen/chalk/server/v1/branches_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/branches_pb2.pyi +80 -0
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +372 -272
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +479 -12
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +360 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +96 -0
- chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
- chalk/_gen/chalk/server/v1/clickhouse_pb2.py +42 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2.pyi +17 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +153 -107
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +146 -4
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.py +11 -3
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +59 -35
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +127 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +90 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +264 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/datasets_pb2.py +36 -24
- chalk/_gen/chalk/server/v1/datasets_pb2.pyi +71 -2
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/deploy_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deployment_pb2.py +20 -15
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +25 -0
- chalk/_gen/chalk/server/v1/environment_pb2.py +25 -15
- chalk/_gen/chalk/server/v1/environment_pb2.pyi +93 -1
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.pyi +64 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/graph_pb2.py +41 -3
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +191 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +92 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +32 -0
- chalk/_gen/chalk/server/v1/incident_pb2.py +57 -0
- chalk/_gen/chalk/server/v1/incident_pb2.pyi +165 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.pyi +38 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/integrations_pb2.py +11 -9
- chalk/_gen/chalk/server/v1/integrations_pb2.pyi +34 -2
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
- chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.py +73 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.pyi +212 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.py +217 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.pyi +74 -0
- chalk/_gen/chalk/server/v1/model_registry_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/model_registry_pb2.pyi +4 -1
- chalk/_gen/chalk/server/v1/monitoring_pb2.py +84 -75
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +1 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +136 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2.py +32 -10
- chalk/_gen/chalk/server/v1/offline_queries_pb2.pyi +73 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/queries_pb2.py +76 -48
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +155 -2
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -6
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +75 -2
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +24 -12
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +61 -1
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2.py +26 -14
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +33 -3
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
- chalk/_gen/chalk/server/v1/team_pb2.py +156 -137
- chalk/_gen/chalk/server/v1/team_pb2.pyi +56 -10
- chalk/_gen/chalk/server/v1/team_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
- chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/trace_pb2.py +50 -28
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +121 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.pyi +42 -0
- chalk/_gen/chalk/server/v1/webhook_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/webhook_pb2.pyi +18 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +19 -7
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +96 -3
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.py +48 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.pyi +20 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
- chalk/_lsp/error_builder.py +11 -0
- chalk/_monitoring/Chart.py +1 -3
- chalk/_version.py +1 -1
- chalk/cli.py +5 -10
- chalk/client/client.py +178 -64
- chalk/client/client_async.py +154 -0
- chalk/client/client_async_impl.py +22 -0
- chalk/client/client_grpc.py +738 -112
- chalk/client/client_impl.py +541 -136
- chalk/client/dataset.py +27 -6
- chalk/client/models.py +99 -2
- chalk/client/serialization/model_serialization.py +126 -10
- chalk/config/project_config.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1154 -0
- chalk/df/ast_parser.py +2 -10
- chalk/features/_class_property.py +7 -0
- chalk/features/_embedding/embedding.py +1 -0
- chalk/features/_embedding/sentence_transformer.py +1 -1
- chalk/features/_encoding/converter.py +83 -2
- chalk/features/_encoding/pyarrow.py +20 -4
- chalk/features/_encoding/rich.py +1 -3
- chalk/features/_tensor.py +1 -2
- chalk/features/dataframe/_filters.py +14 -5
- chalk/features/dataframe/_impl.py +91 -36
- chalk/features/dataframe/_validation.py +11 -7
- chalk/features/feature_field.py +40 -30
- chalk/features/feature_set.py +1 -2
- chalk/features/feature_set_decorator.py +1 -0
- chalk/features/feature_wrapper.py +42 -3
- chalk/features/hooks.py +81 -12
- chalk/features/inference.py +65 -10
- chalk/features/resolver.py +338 -56
- chalk/features/tag.py +1 -3
- chalk/features/underscore_features.py +2 -1
- chalk/functions/__init__.py +456 -21
- chalk/functions/holidays.py +1 -3
- chalk/gitignore/gitignore_parser.py +5 -1
- chalk/importer.py +186 -74
- chalk/ml/__init__.py +6 -2
- chalk/ml/model_hooks.py +368 -51
- chalk/ml/model_reference.py +68 -10
- chalk/ml/model_version.py +34 -21
- chalk/ml/utils.py +143 -40
- chalk/operators/_utils.py +14 -3
- chalk/parsed/_proto/export.py +22 -0
- chalk/parsed/duplicate_input_gql.py +4 -0
- chalk/parsed/expressions.py +1 -3
- chalk/parsed/json_conversions.py +21 -14
- chalk/parsed/to_proto.py +16 -4
- chalk/parsed/user_types_to_json.py +31 -10
- chalk/parsed/validation_from_registries.py +182 -0
- chalk/queries/named_query.py +16 -6
- chalk/queries/scheduled_query.py +13 -1
- chalk/serialization/parsed_annotation.py +25 -12
- chalk/sql/__init__.py +221 -0
- chalk/sql/_internal/integrations/athena.py +6 -1
- chalk/sql/_internal/integrations/bigquery.py +22 -2
- chalk/sql/_internal/integrations/databricks.py +61 -18
- chalk/sql/_internal/integrations/mssql.py +281 -0
- chalk/sql/_internal/integrations/postgres.py +11 -3
- chalk/sql/_internal/integrations/redshift.py +4 -0
- chalk/sql/_internal/integrations/snowflake.py +11 -2
- chalk/sql/_internal/integrations/util.py +2 -1
- chalk/sql/_internal/sql_file_resolver.py +55 -10
- chalk/sql/_internal/sql_source.py +36 -2
- chalk/streams/__init__.py +1 -3
- chalk/streams/_kafka_source.py +5 -1
- chalk/streams/_windows.py +16 -4
- chalk/streams/types.py +1 -2
- chalk/utils/__init__.py +1 -3
- chalk/utils/_otel_version.py +13 -0
- chalk/utils/async_helpers.py +14 -5
- chalk/utils/df_utils.py +2 -2
- chalk/utils/duration.py +1 -3
- chalk/utils/job_log_display.py +538 -0
- chalk/utils/missing_dependency.py +5 -4
- chalk/utils/notebook.py +255 -2
- chalk/utils/pl_helpers.py +190 -37
- chalk/utils/pydanticutil/pydantic_compat.py +1 -2
- chalk/utils/storage_client.py +246 -0
- chalk/utils/threading.py +1 -3
- chalk/utils/tracing.py +194 -86
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/METADATA +53 -21
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/RECORD +268 -198
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
|
@@ -19,7 +19,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
22
|
-
b'\n\x1e\x63halk/server/v1/datasets.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb6\n\n\x13\x44\x61tasetRevisionMeta\x12\x1d\n\nnumeric_id\x18\x01 \x01(\x03R\tnumericId\x12(\n\x10offline_query_id\x18\x02 \x01(\tR\x0eofflineQueryId\x12\x1d\n\ndataset_id\x18\x03 \x01(\tR\tdatasetId\x12"\n\ngivens_uri\x18\x04 \x01(\tH\x00R\tgivensUri\x88\x01\x01\x12V\n\x0egivens_version\x18\x05 \x01(\x0e\x32*.chalk.server.v1.OfflineQueryGivensVersionH\x01R\rgivensVersion\x88\x01\x01\x12"\n\noutput_uri\x18\x06 \x01(\tH\x02R\toutputUri\x88\x01\x01\x12K\n\x0eoutput_version\x18\x07 \x01(\x0e\x32\x1f.chalk.server.v1.DatasetVersionH\x03R\routputVersion\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x08 \x01(\tH\x04R\nbranchName\x88\x01\x01\x12\x1e\n\x08num_rows\x18\t \x01(\x03H\x05R\x07numRows\x88\x01\x01\x12\x33\n\x13physical_size_bytes\x18\n \x01(\x03H\x06R\x11physicalSizeBytes\x88\x01\x01\x12%\n\x0eoutput_columns\x18\x0b \x03(\tR\routputColumns\x12\x1f\n\x0boutput_fqns\x18\x0c \x03(\tR\noutputFqns\x12\x1e\n\x08\x61gent_id\x18\r \x01(\tH\x07R\x07\x61gentId\x88\x01\x01\x12\x42\n\x0c\x63ompleted_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x08R\x0b\x63ompletedAt\x88\x01\x01\x12"\n\nnum_shards\x18\x0f \x01(\x03H\tR\tnumShards\x88\x01\x01\x12(\n\rnum_computers\x18\x10 \x01(\x03H\nR\x0cnumComputers\x88\x01\x01\x12\x37\n\x08metadata\x18\x11 \x01(\x0b\x32\x16.google.protobuf.ValueH\x0bR\x08metadata\x88\x01\x01\x12\x43\n\x06status\x18\x12 \x01(\x0e\x32&.chalk.server.v1.DatasetRevisionStatusH\x0cR\x06status\x88\x01\x01\x12\x33\n\x13num_rows_calculated\x18\x13 \x01(\x03H\rR\x11numRowsCalculated\x88\x01\x01\x12H\n\x1ephysical_size_bytes_calculated\x18\x14 \x01(\x03H\x0eR\x1bphysicalSizeBytesCalculated\x88\x01\x01\x12>\n\ncreated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x0fR\tcreatedAt\x88\x01\x01\x42\r\n\x0b_givens_uriB\x11\n\x0f_givens_versionB\r\n\x0b_output_uriB\x11\n\x0f_output_versionB\x0e\n\x0c_branch_nameB\x0b\n\t_num_rowsB\x16\n\x14_physical_size_bytesB\x0b\n\t_agent_idB\x0f\n\r_completed_atB\r\n\x0b_num_shardsB\x10\n\x0e_num_computersB\x0b\n\t_metadataB\t\n\x07_statusB\x16\n\x14_num_rows_calculatedB!\n\x1f_physical_size_bytes_calculatedB\r\n\x0b_created_at"\xae\x02\n\x0b\x44\x61tasetMeta\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12&\n\x0c\x64\x61taset_name\x18\x03 \x01(\tH\x00R\x0b\x64\x61tasetName\x88\x01\x01\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12[\n\x14most_recent_revision\x18\x07 \x01(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaH\x01R\x12mostRecentRevision\x88\x01\x01\x42\x0f\n\r_dataset_nameB\x17\n\x15_most_recent_revision"\
|
|
22
|
+
b'\n\x1e\x63halk/server/v1/datasets.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb6\n\n\x13\x44\x61tasetRevisionMeta\x12\x1d\n\nnumeric_id\x18\x01 \x01(\x03R\tnumericId\x12(\n\x10offline_query_id\x18\x02 \x01(\tR\x0eofflineQueryId\x12\x1d\n\ndataset_id\x18\x03 \x01(\tR\tdatasetId\x12"\n\ngivens_uri\x18\x04 \x01(\tH\x00R\tgivensUri\x88\x01\x01\x12V\n\x0egivens_version\x18\x05 \x01(\x0e\x32*.chalk.server.v1.OfflineQueryGivensVersionH\x01R\rgivensVersion\x88\x01\x01\x12"\n\noutput_uri\x18\x06 \x01(\tH\x02R\toutputUri\x88\x01\x01\x12K\n\x0eoutput_version\x18\x07 \x01(\x0e\x32\x1f.chalk.server.v1.DatasetVersionH\x03R\routputVersion\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x08 \x01(\tH\x04R\nbranchName\x88\x01\x01\x12\x1e\n\x08num_rows\x18\t \x01(\x03H\x05R\x07numRows\x88\x01\x01\x12\x33\n\x13physical_size_bytes\x18\n \x01(\x03H\x06R\x11physicalSizeBytes\x88\x01\x01\x12%\n\x0eoutput_columns\x18\x0b \x03(\tR\routputColumns\x12\x1f\n\x0boutput_fqns\x18\x0c \x03(\tR\noutputFqns\x12\x1e\n\x08\x61gent_id\x18\r \x01(\tH\x07R\x07\x61gentId\x88\x01\x01\x12\x42\n\x0c\x63ompleted_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x08R\x0b\x63ompletedAt\x88\x01\x01\x12"\n\nnum_shards\x18\x0f \x01(\x03H\tR\tnumShards\x88\x01\x01\x12(\n\rnum_computers\x18\x10 \x01(\x03H\nR\x0cnumComputers\x88\x01\x01\x12\x37\n\x08metadata\x18\x11 \x01(\x0b\x32\x16.google.protobuf.ValueH\x0bR\x08metadata\x88\x01\x01\x12\x43\n\x06status\x18\x12 \x01(\x0e\x32&.chalk.server.v1.DatasetRevisionStatusH\x0cR\x06status\x88\x01\x01\x12\x33\n\x13num_rows_calculated\x18\x13 \x01(\x03H\rR\x11numRowsCalculated\x88\x01\x01\x12H\n\x1ephysical_size_bytes_calculated\x18\x14 \x01(\x03H\x0eR\x1bphysicalSizeBytesCalculated\x88\x01\x01\x12>\n\ncreated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x0fR\tcreatedAt\x88\x01\x01\x42\r\n\x0b_givens_uriB\x11\n\x0f_givens_versionB\r\n\x0b_output_uriB\x11\n\x0f_output_versionB\x0e\n\x0c_branch_nameB\x0b\n\t_num_rowsB\x16\n\x14_physical_size_bytesB\x0b\n\t_agent_idB\x0f\n\r_completed_atB\r\n\x0b_num_shardsB\x10\n\x0e_num_computersB\x0b\n\t_metadataB\t\n\x07_statusB\x16\n\x14_num_rows_calculatedB!\n\x1f_physical_size_bytes_calculatedB\r\n\x0b_created_at"\xae\x02\n\x0b\x44\x61tasetMeta\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12&\n\x0c\x64\x61taset_name\x18\x03 \x01(\tH\x00R\x0b\x64\x61tasetName\x88\x01\x01\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12[\n\x14most_recent_revision\x18\x07 \x01(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaH\x01R\x12mostRecentRevision\x88\x01\x01\x42\x0f\n\r_dataset_nameB\x17\n\x15_most_recent_revision"\xfb\x02\n\x13ListDatasetsRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12\x1b\n\x06search\x18\x03 \x01(\tH\x02R\x06search\x88\x01\x01\x12\x30\n\x11include_anonymous\x18\x04 \x01(\x08H\x03R\x10includeAnonymous\x88\x01\x01\x12H\n\x0bsort_column\x18\x05 \x01(\x0e\x32".chalk.server.v1.DatasetSortColumnH\x04R\nsortColumn\x88\x01\x01\x12>\n\nsort_order\x18\x06 \x01(\x0e\x32\x1a.chalk.server.v1.SortOrderH\x05R\tsortOrder\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\t\n\x07_searchB\x14\n\x12_include_anonymousB\x0e\n\x0c_sort_columnB\r\n\x0b_sort_order"x\n\x14ListDatasetsResponse\x12\x38\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\x1c.chalk.server.v1.DatasetMetaR\x08\x64\x61tasets\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"#\n\x11GetDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"L\n\x12GetDatasetResponse\x12\x36\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.DatasetMetaR\x07\x64\x61taset"\x89\x01\n\x1bListDatasetRevisionsRequest\x12\x1d\n\ndataset_id\x18\x01 \x01(\tR\tdatasetId\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x03 \x01(\x05H\x01R\x05limit\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limit"\x8a\x01\n\x1cListDatasetRevisionsResponse\x12\x42\n\trevisions\x18\x01 \x03(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaR\trevisions\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"+\n\x19GetDatasetRevisionRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x1aGetDatasetRevisionResponse\x12@\n\x08revision\x18\x01 \x01(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaR\x08revision"I\n&GetDatasetRevisionDownloadLinksRequest\x12\x1f\n\x0brevision_id\x18\x01 \x01(\tR\nrevisionId"\xfd\x02\n\'GetDatasetRevisionDownloadLinksResponse\x12\x1f\n\x0boutput_urls\x18\x01 \x03(\tR\noutputUrls\x12\x1f\n\x0bgivens_urls\x18\x02 \x03(\tR\ngivensUrls\x12\x38\n\x18performance_summary_urls\x18\x03 \x03(\tR\x16performanceSummaryUrls\x12-\n\x10request_body_url\x18\x04 \x01(\tH\x00R\x0erequestBodyUrl\x88\x01\x01\x12\x1d\n\ntrace_urls\x18\x05 \x03(\tR\ttraceUrls\x12\x19\n\x05\x65rror\x18\x06 \x01(\tH\x01R\x05\x65rror\x88\x01\x01\x12?\n\nexpiration\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\nexpiration\x88\x01\x01\x42\x13\n\x11_request_body_urlB\x08\n\x06_errorB\r\n\x0b_expiration*\x9f\x02\n\x15\x44\x61tasetRevisionStatus\x12\'\n#DATASET_REVISION_STATUS_UNSPECIFIED\x10\x00\x12#\n\x1f\x44\x41TASET_REVISION_STATUS_UNKNOWN\x10\x01\x12#\n\x1f\x44\x41TASET_REVISION_STATUS_WORKING\x10\x02\x12%\n!DATASET_REVISION_STATUS_COMPLETED\x10\x03\x12"\n\x1e\x44\x41TASET_REVISION_STATUS_FAILED\x10\x04\x12$\n DATASET_REVISION_STATUS_CANCELED\x10\x05\x12"\n\x1e\x44\x41TASET_REVISION_STATUS_QUEUED\x10\x06*\xe9\x02\n\x0e\x44\x61tasetVersion\x12\x1f\n\x1b\x44\x41TASET_VERSION_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x44\x41TASET_VERSION_UNKNOWN\x10\x01\x12:\n6DATASET_VERSION_BIGQUERY_JOB_WITH_B32_ENCODED_COLNAMES\x10\x02\x12"\n\x1e\x44\x41TASET_VERSION_DATASET_WRITER\x10\x03\x12=\n9DATASET_VERSION_BIGQUERY_JOB_WITH_B32_ENCODED_COLNAMES_V2\x10\x04\x12.\n*DATASET_VERSION_COMPUTE_RESOLVER_OUTPUT_V1\x10\x05\x12!\n\x1d\x44\x41TASET_VERSION_NATIVE_DTYPES\x10\x06\x12\'\n#DATASET_VERSION_NATIVE_COLUMN_NAMES\x10\x07*\xad\x02\n\x19OfflineQueryGivensVersion\x12,\n(OFFLINE_QUERY_GIVENS_VERSION_UNSPECIFIED\x10\x00\x12(\n$OFFLINE_QUERY_GIVENS_VERSION_UNKNOWN\x10\x01\x12>\n:OFFLINE_QUERY_GIVENS_VERSION_NATIVE_TS_FEATURE_FOR_ROOT_NS\x10\x02\x12\x33\n/OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME\x10\x03\x12\x43\n?OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME_WITH_URI_PREFIX\x10\x04*\\\n\x11\x44\x61tasetSortColumn\x12#\n\x1f\x44\x41TASET_SORT_COLUMN_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x41TASET_SORT_COLUMN_CREATED_AT\x10\x01*P\n\tSortOrder\x12\x1a\n\x16SORT_ORDER_UNSPECIFIED\x10\x00\x12\x13\n\x0fSORT_ORDER_DESC\x10\x01\x12\x12\n\x0eSORT_ORDER_ASC\x10\x02\x32\xef\x04\n\x16\x44\x61tasetMetadataService\x12\x63\n\x0cListDatasets\x12$.chalk.server.v1.ListDatasetsRequest\x1a%.chalk.server.v1.ListDatasetsResponse"\x06\x90\x02\x01\x80}\x04\x12]\n\nGetDataset\x12".chalk.server.v1.GetDatasetRequest\x1a#.chalk.server.v1.GetDatasetResponse"\x06\x90\x02\x01\x80}\x04\x12{\n\x14ListDatasetRevisions\x12,.chalk.server.v1.ListDatasetRevisionsRequest\x1a-.chalk.server.v1.ListDatasetRevisionsResponse"\x06\x90\x02\x01\x80}\x04\x12u\n\x12GetDatasetRevision\x12*.chalk.server.v1.GetDatasetRevisionRequest\x1a+.chalk.server.v1.GetDatasetRevisionResponse"\x06\x90\x02\x01\x80}\x04\x12\x9c\x01\n\x1fGetDatasetRevisionDownloadLinks\x12\x37.chalk.server.v1.GetDatasetRevisionDownloadLinksRequest\x1a\x38.chalk.server.v1.GetDatasetRevisionDownloadLinksResponse"\x06\x90\x02\x01\x80}\x04\x42\x96\x01\n\x13\x63om.chalk.server.v1B\rDatasetsProtoP\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
23
|
)
|
|
24
24
|
|
|
25
25
|
_globals = globals()
|
|
@@ -42,32 +42,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
42
42
|
_globals["_DATASETMETADATASERVICE"].methods_by_name[
|
|
43
43
|
"GetDatasetRevision"
|
|
44
44
|
]._serialized_options = b"\220\002\001\200}\004"
|
|
45
|
-
_globals["
|
|
46
|
-
_globals["
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
_globals["
|
|
50
|
-
_globals["
|
|
45
|
+
_globals["_DATASETMETADATASERVICE"].methods_by_name["GetDatasetRevisionDownloadLinks"]._options = None
|
|
46
|
+
_globals["_DATASETMETADATASERVICE"].methods_by_name[
|
|
47
|
+
"GetDatasetRevisionDownloadLinks"
|
|
48
|
+
]._serialized_options = b"\220\002\001\200}\004"
|
|
49
|
+
_globals["_DATASETREVISIONSTATUS"]._serialized_start = 3290
|
|
50
|
+
_globals["_DATASETREVISIONSTATUS"]._serialized_end = 3577
|
|
51
|
+
_globals["_DATASETVERSION"]._serialized_start = 3580
|
|
52
|
+
_globals["_DATASETVERSION"]._serialized_end = 3941
|
|
53
|
+
_globals["_OFFLINEQUERYGIVENSVERSION"]._serialized_start = 3944
|
|
54
|
+
_globals["_OFFLINEQUERYGIVENSVERSION"]._serialized_end = 4245
|
|
55
|
+
_globals["_DATASETSORTCOLUMN"]._serialized_start = 4247
|
|
56
|
+
_globals["_DATASETSORTCOLUMN"]._serialized_end = 4339
|
|
57
|
+
_globals["_SORTORDER"]._serialized_start = 4341
|
|
58
|
+
_globals["_SORTORDER"]._serialized_end = 4421
|
|
51
59
|
_globals["_DATASETREVISIONMETA"]._serialized_start = 148
|
|
52
60
|
_globals["_DATASETREVISIONMETA"]._serialized_end = 1482
|
|
53
61
|
_globals["_DATASETMETA"]._serialized_start = 1485
|
|
54
62
|
_globals["_DATASETMETA"]._serialized_end = 1787
|
|
55
63
|
_globals["_LISTDATASETSREQUEST"]._serialized_start = 1790
|
|
56
|
-
_globals["_LISTDATASETSREQUEST"]._serialized_end =
|
|
57
|
-
_globals["_LISTDATASETSRESPONSE"]._serialized_start =
|
|
58
|
-
_globals["_LISTDATASETSRESPONSE"]._serialized_end =
|
|
59
|
-
_globals["_GETDATASETREQUEST"]._serialized_start =
|
|
60
|
-
_globals["_GETDATASETREQUEST"]._serialized_end =
|
|
61
|
-
_globals["_GETDATASETRESPONSE"]._serialized_start =
|
|
62
|
-
_globals["_GETDATASETRESPONSE"]._serialized_end =
|
|
63
|
-
_globals["_LISTDATASETREVISIONSREQUEST"]._serialized_start =
|
|
64
|
-
_globals["_LISTDATASETREVISIONSREQUEST"]._serialized_end =
|
|
65
|
-
_globals["_LISTDATASETREVISIONSRESPONSE"]._serialized_start =
|
|
66
|
-
_globals["_LISTDATASETREVISIONSRESPONSE"]._serialized_end =
|
|
67
|
-
_globals["_GETDATASETREVISIONREQUEST"]._serialized_start =
|
|
68
|
-
_globals["_GETDATASETREVISIONREQUEST"]._serialized_end =
|
|
69
|
-
_globals["_GETDATASETREVISIONRESPONSE"]._serialized_start =
|
|
70
|
-
_globals["_GETDATASETREVISIONRESPONSE"]._serialized_end =
|
|
71
|
-
_globals["
|
|
72
|
-
_globals["
|
|
64
|
+
_globals["_LISTDATASETSREQUEST"]._serialized_end = 2169
|
|
65
|
+
_globals["_LISTDATASETSRESPONSE"]._serialized_start = 2171
|
|
66
|
+
_globals["_LISTDATASETSRESPONSE"]._serialized_end = 2291
|
|
67
|
+
_globals["_GETDATASETREQUEST"]._serialized_start = 2293
|
|
68
|
+
_globals["_GETDATASETREQUEST"]._serialized_end = 2328
|
|
69
|
+
_globals["_GETDATASETRESPONSE"]._serialized_start = 2330
|
|
70
|
+
_globals["_GETDATASETRESPONSE"]._serialized_end = 2406
|
|
71
|
+
_globals["_LISTDATASETREVISIONSREQUEST"]._serialized_start = 2409
|
|
72
|
+
_globals["_LISTDATASETREVISIONSREQUEST"]._serialized_end = 2546
|
|
73
|
+
_globals["_LISTDATASETREVISIONSRESPONSE"]._serialized_start = 2549
|
|
74
|
+
_globals["_LISTDATASETREVISIONSRESPONSE"]._serialized_end = 2687
|
|
75
|
+
_globals["_GETDATASETREVISIONREQUEST"]._serialized_start = 2689
|
|
76
|
+
_globals["_GETDATASETREVISIONREQUEST"]._serialized_end = 2732
|
|
77
|
+
_globals["_GETDATASETREVISIONRESPONSE"]._serialized_start = 2734
|
|
78
|
+
_globals["_GETDATASETREVISIONRESPONSE"]._serialized_end = 2828
|
|
79
|
+
_globals["_GETDATASETREVISIONDOWNLOADLINKSREQUEST"]._serialized_start = 2830
|
|
80
|
+
_globals["_GETDATASETREVISIONDOWNLOADLINKSREQUEST"]._serialized_end = 2903
|
|
81
|
+
_globals["_GETDATASETREVISIONDOWNLOADLINKSRESPONSE"]._serialized_start = 2906
|
|
82
|
+
_globals["_GETDATASETREVISIONDOWNLOADLINKSRESPONSE"]._serialized_end = 3287
|
|
83
|
+
_globals["_DATASETMETADATASERVICE"]._serialized_start = 4424
|
|
84
|
+
_globals["_DATASETMETADATASERVICE"]._serialized_end = 5047
|
|
73
85
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -44,6 +44,17 @@ class OfflineQueryGivensVersion(int, metaclass=_enum_type_wrapper.EnumTypeWrappe
|
|
|
44
44
|
OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME: _ClassVar[OfflineQueryGivensVersion]
|
|
45
45
|
OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME_WITH_URI_PREFIX: _ClassVar[OfflineQueryGivensVersion]
|
|
46
46
|
|
|
47
|
+
class DatasetSortColumn(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
48
|
+
__slots__ = ()
|
|
49
|
+
DATASET_SORT_COLUMN_UNSPECIFIED: _ClassVar[DatasetSortColumn]
|
|
50
|
+
DATASET_SORT_COLUMN_CREATED_AT: _ClassVar[DatasetSortColumn]
|
|
51
|
+
|
|
52
|
+
class SortOrder(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
53
|
+
__slots__ = ()
|
|
54
|
+
SORT_ORDER_UNSPECIFIED: _ClassVar[SortOrder]
|
|
55
|
+
SORT_ORDER_DESC: _ClassVar[SortOrder]
|
|
56
|
+
SORT_ORDER_ASC: _ClassVar[SortOrder]
|
|
57
|
+
|
|
47
58
|
DATASET_REVISION_STATUS_UNSPECIFIED: DatasetRevisionStatus
|
|
48
59
|
DATASET_REVISION_STATUS_UNKNOWN: DatasetRevisionStatus
|
|
49
60
|
DATASET_REVISION_STATUS_WORKING: DatasetRevisionStatus
|
|
@@ -64,6 +75,11 @@ OFFLINE_QUERY_GIVENS_VERSION_UNKNOWN: OfflineQueryGivensVersion
|
|
|
64
75
|
OFFLINE_QUERY_GIVENS_VERSION_NATIVE_TS_FEATURE_FOR_ROOT_NS: OfflineQueryGivensVersion
|
|
65
76
|
OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME: OfflineQueryGivensVersion
|
|
66
77
|
OFFLINE_QUERY_GIVENS_VERSION_SINGLE_TS_COL_NAME_WITH_URI_PREFIX: OfflineQueryGivensVersion
|
|
78
|
+
DATASET_SORT_COLUMN_UNSPECIFIED: DatasetSortColumn
|
|
79
|
+
DATASET_SORT_COLUMN_CREATED_AT: DatasetSortColumn
|
|
80
|
+
SORT_ORDER_UNSPECIFIED: SortOrder
|
|
81
|
+
SORT_ORDER_DESC: SortOrder
|
|
82
|
+
SORT_ORDER_ASC: SortOrder
|
|
67
83
|
|
|
68
84
|
class DatasetRevisionMeta(_message.Message):
|
|
69
85
|
__slots__ = (
|
|
@@ -178,15 +194,27 @@ class DatasetMeta(_message.Message):
|
|
|
178
194
|
) -> None: ...
|
|
179
195
|
|
|
180
196
|
class ListDatasetsRequest(_message.Message):
|
|
181
|
-
__slots__ = ("cursor", "limit", "search")
|
|
197
|
+
__slots__ = ("cursor", "limit", "search", "include_anonymous", "sort_column", "sort_order")
|
|
182
198
|
CURSOR_FIELD_NUMBER: _ClassVar[int]
|
|
183
199
|
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
184
200
|
SEARCH_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
INCLUDE_ANONYMOUS_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
SORT_COLUMN_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
SORT_ORDER_FIELD_NUMBER: _ClassVar[int]
|
|
185
204
|
cursor: str
|
|
186
205
|
limit: int
|
|
187
206
|
search: str
|
|
207
|
+
include_anonymous: bool
|
|
208
|
+
sort_column: DatasetSortColumn
|
|
209
|
+
sort_order: SortOrder
|
|
188
210
|
def __init__(
|
|
189
|
-
self,
|
|
211
|
+
self,
|
|
212
|
+
cursor: _Optional[str] = ...,
|
|
213
|
+
limit: _Optional[int] = ...,
|
|
214
|
+
search: _Optional[str] = ...,
|
|
215
|
+
include_anonymous: bool = ...,
|
|
216
|
+
sort_column: _Optional[_Union[DatasetSortColumn, str]] = ...,
|
|
217
|
+
sort_order: _Optional[_Union[SortOrder, str]] = ...,
|
|
190
218
|
) -> None: ...
|
|
191
219
|
|
|
192
220
|
class ListDatasetsResponse(_message.Message):
|
|
@@ -244,3 +272,44 @@ class GetDatasetRevisionResponse(_message.Message):
|
|
|
244
272
|
REVISION_FIELD_NUMBER: _ClassVar[int]
|
|
245
273
|
revision: DatasetRevisionMeta
|
|
246
274
|
def __init__(self, revision: _Optional[_Union[DatasetRevisionMeta, _Mapping]] = ...) -> None: ...
|
|
275
|
+
|
|
276
|
+
class GetDatasetRevisionDownloadLinksRequest(_message.Message):
|
|
277
|
+
__slots__ = ("revision_id",)
|
|
278
|
+
REVISION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
279
|
+
revision_id: str
|
|
280
|
+
def __init__(self, revision_id: _Optional[str] = ...) -> None: ...
|
|
281
|
+
|
|
282
|
+
class GetDatasetRevisionDownloadLinksResponse(_message.Message):
|
|
283
|
+
__slots__ = (
|
|
284
|
+
"output_urls",
|
|
285
|
+
"givens_urls",
|
|
286
|
+
"performance_summary_urls",
|
|
287
|
+
"request_body_url",
|
|
288
|
+
"trace_urls",
|
|
289
|
+
"error",
|
|
290
|
+
"expiration",
|
|
291
|
+
)
|
|
292
|
+
OUTPUT_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
293
|
+
GIVENS_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
294
|
+
PERFORMANCE_SUMMARY_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
295
|
+
REQUEST_BODY_URL_FIELD_NUMBER: _ClassVar[int]
|
|
296
|
+
TRACE_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
298
|
+
EXPIRATION_FIELD_NUMBER: _ClassVar[int]
|
|
299
|
+
output_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
300
|
+
givens_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
301
|
+
performance_summary_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
302
|
+
request_body_url: str
|
|
303
|
+
trace_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
304
|
+
error: str
|
|
305
|
+
expiration: _timestamp_pb2.Timestamp
|
|
306
|
+
def __init__(
|
|
307
|
+
self,
|
|
308
|
+
output_urls: _Optional[_Iterable[str]] = ...,
|
|
309
|
+
givens_urls: _Optional[_Iterable[str]] = ...,
|
|
310
|
+
performance_summary_urls: _Optional[_Iterable[str]] = ...,
|
|
311
|
+
request_body_url: _Optional[str] = ...,
|
|
312
|
+
trace_urls: _Optional[_Iterable[str]] = ...,
|
|
313
|
+
error: _Optional[str] = ...,
|
|
314
|
+
expiration: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
315
|
+
) -> None: ...
|
|
@@ -35,6 +35,11 @@ class DatasetMetadataServiceStub(object):
|
|
|
35
35
|
request_serializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionRequest.SerializeToString,
|
|
36
36
|
response_deserializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionResponse.FromString,
|
|
37
37
|
)
|
|
38
|
+
self.GetDatasetRevisionDownloadLinks = channel.unary_unary(
|
|
39
|
+
"/chalk.server.v1.DatasetMetadataService/GetDatasetRevisionDownloadLinks",
|
|
40
|
+
request_serializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksRequest.SerializeToString,
|
|
41
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksResponse.FromString,
|
|
42
|
+
)
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
class DatasetMetadataServiceServicer(object):
|
|
@@ -64,6 +69,12 @@ class DatasetMetadataServiceServicer(object):
|
|
|
64
69
|
context.set_details("Method not implemented!")
|
|
65
70
|
raise NotImplementedError("Method not implemented!")
|
|
66
71
|
|
|
72
|
+
def GetDatasetRevisionDownloadLinks(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
|
+
|
|
67
78
|
|
|
68
79
|
def add_DatasetMetadataServiceServicer_to_server(servicer, server):
|
|
69
80
|
rpc_method_handlers = {
|
|
@@ -87,6 +98,11 @@ def add_DatasetMetadataServiceServicer_to_server(servicer, server):
|
|
|
87
98
|
request_deserializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionRequest.FromString,
|
|
88
99
|
response_serializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionResponse.SerializeToString,
|
|
89
100
|
),
|
|
101
|
+
"GetDatasetRevisionDownloadLinks": grpc.unary_unary_rpc_method_handler(
|
|
102
|
+
servicer.GetDatasetRevisionDownloadLinks,
|
|
103
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksRequest.FromString,
|
|
104
|
+
response_serializer=chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksResponse.SerializeToString,
|
|
105
|
+
),
|
|
90
106
|
}
|
|
91
107
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
92
108
|
"chalk.server.v1.DatasetMetadataService", rpc_method_handlers
|
|
@@ -213,3 +229,32 @@ class DatasetMetadataService(object):
|
|
|
213
229
|
timeout,
|
|
214
230
|
metadata,
|
|
215
231
|
)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def GetDatasetRevisionDownloadLinks(
|
|
235
|
+
request,
|
|
236
|
+
target,
|
|
237
|
+
options=(),
|
|
238
|
+
channel_credentials=None,
|
|
239
|
+
call_credentials=None,
|
|
240
|
+
insecure=False,
|
|
241
|
+
compression=None,
|
|
242
|
+
wait_for_ready=None,
|
|
243
|
+
timeout=None,
|
|
244
|
+
metadata=None,
|
|
245
|
+
):
|
|
246
|
+
return grpc.experimental.unary_unary(
|
|
247
|
+
request,
|
|
248
|
+
target,
|
|
249
|
+
"/chalk.server.v1.DatasetMetadataService/GetDatasetRevisionDownloadLinks",
|
|
250
|
+
chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksRequest.SerializeToString,
|
|
251
|
+
chalk_dot_server_dot_v1_dot_datasets__pb2.GetDatasetRevisionDownloadLinksResponse.FromString,
|
|
252
|
+
options,
|
|
253
|
+
channel_credentials,
|
|
254
|
+
insecure,
|
|
255
|
+
call_credentials,
|
|
256
|
+
compression,
|
|
257
|
+
wait_for_ready,
|
|
258
|
+
timeout,
|
|
259
|
+
metadata,
|
|
260
|
+
)
|
|
@@ -10,6 +10,8 @@ from abc import (
|
|
|
10
10
|
from chalk._gen.chalk.server.v1.datasets_pb2 import (
|
|
11
11
|
GetDatasetRequest,
|
|
12
12
|
GetDatasetResponse,
|
|
13
|
+
GetDatasetRevisionDownloadLinksRequest,
|
|
14
|
+
GetDatasetRevisionDownloadLinksResponse,
|
|
13
15
|
GetDatasetRevisionRequest,
|
|
14
16
|
GetDatasetRevisionResponse,
|
|
15
17
|
ListDatasetRevisionsRequest,
|
|
@@ -42,6 +44,10 @@ class DatasetMetadataServiceStub:
|
|
|
42
44
|
GetDatasetRevisionRequest,
|
|
43
45
|
GetDatasetRevisionResponse,
|
|
44
46
|
]
|
|
47
|
+
GetDatasetRevisionDownloadLinks: UnaryUnaryMultiCallable[
|
|
48
|
+
GetDatasetRevisionDownloadLinksRequest,
|
|
49
|
+
GetDatasetRevisionDownloadLinksResponse,
|
|
50
|
+
]
|
|
45
51
|
|
|
46
52
|
class DatasetMetadataServiceServicer(metaclass=ABCMeta):
|
|
47
53
|
@abstractmethod
|
|
@@ -68,5 +74,11 @@ class DatasetMetadataServiceServicer(metaclass=ABCMeta):
|
|
|
68
74
|
request: GetDatasetRevisionRequest,
|
|
69
75
|
context: ServicerContext,
|
|
70
76
|
) -> GetDatasetRevisionResponse: ...
|
|
77
|
+
@abstractmethod
|
|
78
|
+
def GetDatasetRevisionDownloadLinks(
|
|
79
|
+
self,
|
|
80
|
+
request: GetDatasetRevisionDownloadLinksRequest,
|
|
81
|
+
context: ServicerContext,
|
|
82
|
+
) -> GetDatasetRevisionDownloadLinksResponse: ...
|
|
71
83
|
|
|
72
84
|
def add_DatasetMetadataServiceServicer_to_server(servicer: DatasetMetadataServiceServicer, server: Server) -> None: ...
|
|
@@ -24,7 +24,7 @@ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mas
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
27
|
-
b'\n\x1c\x63halk/server/v1/deploy.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto\x1a chalk/server/v1/deployment.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x97\x01\n\x13\x44\x65ployBranchRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12!\n\x0creset_branch\x18\x02 \x01(\x08R\x0bresetBranch\x12\x18\n\x07\x61rchive\x18\x03 \x01(\x0cR\x07\x61rchive\x12"\n\ris_hot_deploy\x18\x04 \x01(\x08R\x0bisHotDeploy"\x89\x02\n\x14\x44\x65ployBranchResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01H\x00R\x05graph\x88\x01\x01\x12H\n\x11\x64\x65ployment_errors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x01R\x06\x65xport\x88\x01\x01\x42\x08\n\x06_graphB\t\n\x07_export"\x92\x02\n\'CreateBranchFromSourceDeploymentRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12.\n\x12source_branch_name\x18\x02 \x01(\tH\x00R\x10sourceBranchName\x12\x32\n\x14source_deployment_id\x18\x03 \x01(\tH\x00R\x12sourceDeploymentId\x12X\n\x1b\x63urrent_mainline_deployment\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x19\x63urrentMainlineDeploymentB\x08\n\x06source"\x91\x02\n(CreateBranchFromSourceDeploymentResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12H\n\x11\x64\x65ployment_errors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x03 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x12\x32\n\x15\x62ranch_already_exists\x18\x04 \x01(\x08R\x13\x62ranchAlreadyExistsB\t\n\x07_export"t\n\x14GetDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask"\x98\x01\n\x15GetDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x37\n\x06\x65xport\x18\x02 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x42\t\n\x07_export"\xda\x01\n\x16ListDeploymentsRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12*\n\x0einclude_branch\x18\x03 \x01(\x08H\x02R\rincludeBranch\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x04 \x01(\tH\x03R\nbranchName\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\x11\n\x0f_include_branchB\x0e\n\x0c_branch_name"\x80\x01\n\x17ListDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\x65ployments\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"?\n\x18SuspendDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"X\n\x19SuspendDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"v\n\x16ScaleDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\x06sizing\x18\x02 \x01(\x0b\x32\x1f.chalk.server.v1.InstanceSizingR\x06sizing"V\n\x17ScaleDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"\x89\x01\n\x14TagDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\x12(\n\rmirror_weight\x18\x03 \x01(\x05H\x00R\x0cmirrorWeight\x88\x01\x01\x42\x10\n\x0e_mirror_weight"\xaa\x01\n\x15TagDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x39\n\x16untagged_deployment_id\x18\x02 \x01(\tH\x00R\x14untaggedDeploymentId\x88\x01\x01\x42\x19\n\x17_untagged_deployment_id"\x1d\n\x1bGetActiveDeploymentsRequest"]\n\x1cGetActiveDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\
|
|
27
|
+
b'\n\x1c\x63halk/server/v1/deploy.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto\x1a chalk/server/v1/deployment.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x97\x01\n\x13\x44\x65ployBranchRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12!\n\x0creset_branch\x18\x02 \x01(\x08R\x0bresetBranch\x12\x18\n\x07\x61rchive\x18\x03 \x01(\x0cR\x07\x61rchive\x12"\n\ris_hot_deploy\x18\x04 \x01(\x08R\x0bisHotDeploy"\x89\x02\n\x14\x44\x65ployBranchResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01H\x00R\x05graph\x88\x01\x01\x12H\n\x11\x64\x65ployment_errors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x01R\x06\x65xport\x88\x01\x01\x42\x08\n\x06_graphB\t\n\x07_export"\x92\x02\n\'CreateBranchFromSourceDeploymentRequest\x12\x1f\n\x0b\x62ranch_name\x18\x01 \x01(\tR\nbranchName\x12.\n\x12source_branch_name\x18\x02 \x01(\tH\x00R\x10sourceBranchName\x12\x32\n\x14source_deployment_id\x18\x03 \x01(\tH\x00R\x12sourceDeploymentId\x12X\n\x1b\x63urrent_mainline_deployment\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x19\x63urrentMainlineDeploymentB\x08\n\x06source"\x91\x02\n(CreateBranchFromSourceDeploymentResponse\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12H\n\x11\x64\x65ployment_errors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x10\x64\x65ploymentErrors\x12\x37\n\x06\x65xport\x18\x03 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x12\x32\n\x15\x62ranch_already_exists\x18\x04 \x01(\x08R\x13\x62ranchAlreadyExistsB\t\n\x07_export"t\n\x14GetDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask"\x98\x01\n\x15GetDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x37\n\x06\x65xport\x18\x02 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportH\x00R\x06\x65xport\x88\x01\x01\x42\t\n\x07_export"\xda\x01\n\x16ListDeploymentsRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12*\n\x0einclude_branch\x18\x03 \x01(\x08H\x02R\rincludeBranch\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x04 \x01(\tH\x03R\nbranchName\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\x11\n\x0f_include_branchB\x0e\n\x0c_branch_name"\x80\x01\n\x17ListDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\x65ployments\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"?\n\x18SuspendDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"X\n\x19SuspendDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"v\n\x16ScaleDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x37\n\x06sizing\x18\x02 \x01(\x0b\x32\x1f.chalk.server.v1.InstanceSizingR\x06sizing"V\n\x17ScaleDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment"\x89\x01\n\x14TagDeploymentRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\x12(\n\rmirror_weight\x18\x03 \x01(\x05H\x00R\x0cmirrorWeight\x88\x01\x01\x42\x10\n\x0e_mirror_weight"\xaa\x01\n\x15TagDeploymentResponse\x12;\n\ndeployment\x18\x01 \x01(\x0b\x32\x1b.chalk.server.v1.DeploymentR\ndeployment\x12\x39\n\x16untagged_deployment_id\x18\x02 \x01(\tH\x00R\x14untaggedDeploymentId\x88\x01\x01\x42\x19\n\x17_untagged_deployment_id"\x1d\n\x1bGetActiveDeploymentsRequest"]\n\x1cGetActiveDeploymentsResponse\x12=\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.DeploymentR\x0b\x64\x65ployments"A\n\x1aGetDeploymentSourceRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"<\n\x1bGetDeploymentSourceResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl2\xa4\x08\n\rDeployService\x12`\n\x0c\x44\x65ployBranch\x12$.chalk.server.v1.DeployBranchRequest\x1a%.chalk.server.v1.DeployBranchResponse"\x03\x80}\r\x12\x9c\x01\n CreateBranchFromSourceDeployment\x12\x38.chalk.server.v1.CreateBranchFromSourceDeploymentRequest\x1a\x39.chalk.server.v1.CreateBranchFromSourceDeploymentResponse"\x03\x80}\r\x12\x63\n\rGetDeployment\x12%.chalk.server.v1.GetDeploymentRequest\x1a&.chalk.server.v1.GetDeploymentResponse"\x03\x80}\x0b\x12i\n\x0fListDeployments\x12\'.chalk.server.v1.ListDeploymentsRequest\x1a(.chalk.server.v1.ListDeploymentsResponse"\x03\x80}\x0b\x12x\n\x14GetActiveDeployments\x12,.chalk.server.v1.GetActiveDeploymentsRequest\x1a-.chalk.server.v1.GetActiveDeploymentsResponse"\x03\x80}\x02\x12u\n\x11SuspendDeployment\x12).chalk.server.v1.SuspendDeploymentRequest\x1a*.chalk.server.v1.SuspendDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12o\n\x0fScaleDeployment\x12\'.chalk.server.v1.ScaleDeploymentRequest\x1a(.chalk.server.v1.ScaleDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12i\n\rTagDeployment\x12%.chalk.server.v1.TagDeploymentRequest\x1a&.chalk.server.v1.TagDeploymentResponse"\t\x80}\x0c\x8a\xd3\x0e\x02\x08\x02\x12u\n\x13GetDeploymentSource\x12+.chalk.server.v1.GetDeploymentSourceRequest\x1a,.chalk.server.v1.GetDeploymentSourceResponse"\x03\x80}\x0b\x42\x94\x01\n\x13\x63om.chalk.server.v1B\x0b\x44\x65ployProtoP\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'
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
@@ -59,6 +59,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
59
59
|
_globals["_DEPLOYSERVICE"].methods_by_name[
|
|
60
60
|
"TagDeployment"
|
|
61
61
|
]._serialized_options = b"\200}\014\212\323\016\002\010\002"
|
|
62
|
+
_globals["_DEPLOYSERVICE"].methods_by_name["GetDeploymentSource"]._options = None
|
|
63
|
+
_globals["_DEPLOYSERVICE"].methods_by_name["GetDeploymentSource"]._serialized_options = b"\200}\013"
|
|
62
64
|
_globals["_DEPLOYBRANCHREQUEST"]._serialized_start = 303
|
|
63
65
|
_globals["_DEPLOYBRANCHREQUEST"]._serialized_end = 454
|
|
64
66
|
_globals["_DEPLOYBRANCHRESPONSE"]._serialized_start = 457
|
|
@@ -91,6 +93,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
91
93
|
_globals["_GETACTIVEDEPLOYMENTSREQUEST"]._serialized_end = 2607
|
|
92
94
|
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_start = 2609
|
|
93
95
|
_globals["_GETACTIVEDEPLOYMENTSRESPONSE"]._serialized_end = 2702
|
|
94
|
-
_globals["
|
|
95
|
-
_globals["
|
|
96
|
+
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_start = 2704
|
|
97
|
+
_globals["_GETDEPLOYMENTSOURCEREQUEST"]._serialized_end = 2769
|
|
98
|
+
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_start = 2771
|
|
99
|
+
_globals["_GETDEPLOYMENTSOURCERESPONSE"]._serialized_end = 2831
|
|
100
|
+
_globals["_DEPLOYSERVICE"]._serialized_start = 2834
|
|
101
|
+
_globals["_DEPLOYSERVICE"]._serialized_end = 3894
|
|
96
102
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -210,3 +210,15 @@ class GetActiveDeploymentsResponse(_message.Message):
|
|
|
210
210
|
def __init__(
|
|
211
211
|
self, deployments: _Optional[_Iterable[_Union[_deployment_pb2.Deployment, _Mapping]]] = ...
|
|
212
212
|
) -> None: ...
|
|
213
|
+
|
|
214
|
+
class GetDeploymentSourceRequest(_message.Message):
|
|
215
|
+
__slots__ = ("deployment_id",)
|
|
216
|
+
DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
deployment_id: str
|
|
218
|
+
def __init__(self, deployment_id: _Optional[str] = ...) -> None: ...
|
|
219
|
+
|
|
220
|
+
class GetDeploymentSourceResponse(_message.Message):
|
|
221
|
+
__slots__ = ("signed_url",)
|
|
222
|
+
SIGNED_URL_FIELD_NUMBER: _ClassVar[int]
|
|
223
|
+
signed_url: str
|
|
224
|
+
def __init__(self, signed_url: _Optional[str] = ...) -> None: ...
|
|
@@ -55,6 +55,11 @@ class DeployServiceStub(object):
|
|
|
55
55
|
request_serializer=chalk_dot_server_dot_v1_dot_deploy__pb2.TagDeploymentRequest.SerializeToString,
|
|
56
56
|
response_deserializer=chalk_dot_server_dot_v1_dot_deploy__pb2.TagDeploymentResponse.FromString,
|
|
57
57
|
)
|
|
58
|
+
self.GetDeploymentSource = channel.unary_unary(
|
|
59
|
+
"/chalk.server.v1.DeployService/GetDeploymentSource",
|
|
60
|
+
request_serializer=chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceRequest.SerializeToString,
|
|
61
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceResponse.FromString,
|
|
62
|
+
)
|
|
58
63
|
|
|
59
64
|
|
|
60
65
|
class DeployServiceServicer(object):
|
|
@@ -108,6 +113,12 @@ class DeployServiceServicer(object):
|
|
|
108
113
|
context.set_details("Method not implemented!")
|
|
109
114
|
raise NotImplementedError("Method not implemented!")
|
|
110
115
|
|
|
116
|
+
def GetDeploymentSource(self, request, context):
|
|
117
|
+
"""Missing associated documentation comment in .proto file."""
|
|
118
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
119
|
+
context.set_details("Method not implemented!")
|
|
120
|
+
raise NotImplementedError("Method not implemented!")
|
|
121
|
+
|
|
111
122
|
|
|
112
123
|
def add_DeployServiceServicer_to_server(servicer, server):
|
|
113
124
|
rpc_method_handlers = {
|
|
@@ -151,6 +162,11 @@ def add_DeployServiceServicer_to_server(servicer, server):
|
|
|
151
162
|
request_deserializer=chalk_dot_server_dot_v1_dot_deploy__pb2.TagDeploymentRequest.FromString,
|
|
152
163
|
response_serializer=chalk_dot_server_dot_v1_dot_deploy__pb2.TagDeploymentResponse.SerializeToString,
|
|
153
164
|
),
|
|
165
|
+
"GetDeploymentSource": grpc.unary_unary_rpc_method_handler(
|
|
166
|
+
servicer.GetDeploymentSource,
|
|
167
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceRequest.FromString,
|
|
168
|
+
response_serializer=chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceResponse.SerializeToString,
|
|
169
|
+
),
|
|
154
170
|
}
|
|
155
171
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.DeployService", rpc_method_handlers)
|
|
156
172
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -391,3 +407,32 @@ class DeployService(object):
|
|
|
391
407
|
timeout,
|
|
392
408
|
metadata,
|
|
393
409
|
)
|
|
410
|
+
|
|
411
|
+
@staticmethod
|
|
412
|
+
def GetDeploymentSource(
|
|
413
|
+
request,
|
|
414
|
+
target,
|
|
415
|
+
options=(),
|
|
416
|
+
channel_credentials=None,
|
|
417
|
+
call_credentials=None,
|
|
418
|
+
insecure=False,
|
|
419
|
+
compression=None,
|
|
420
|
+
wait_for_ready=None,
|
|
421
|
+
timeout=None,
|
|
422
|
+
metadata=None,
|
|
423
|
+
):
|
|
424
|
+
return grpc.experimental.unary_unary(
|
|
425
|
+
request,
|
|
426
|
+
target,
|
|
427
|
+
"/chalk.server.v1.DeployService/GetDeploymentSource",
|
|
428
|
+
chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceRequest.SerializeToString,
|
|
429
|
+
chalk_dot_server_dot_v1_dot_deploy__pb2.GetDeploymentSourceResponse.FromString,
|
|
430
|
+
options,
|
|
431
|
+
channel_credentials,
|
|
432
|
+
insecure,
|
|
433
|
+
call_credentials,
|
|
434
|
+
compression,
|
|
435
|
+
wait_for_ready,
|
|
436
|
+
timeout,
|
|
437
|
+
metadata,
|
|
438
|
+
)
|
|
@@ -16,6 +16,8 @@ from chalk._gen.chalk.server.v1.deploy_pb2 import (
|
|
|
16
16
|
GetActiveDeploymentsResponse,
|
|
17
17
|
GetDeploymentRequest,
|
|
18
18
|
GetDeploymentResponse,
|
|
19
|
+
GetDeploymentSourceRequest,
|
|
20
|
+
GetDeploymentSourceResponse,
|
|
19
21
|
ListDeploymentsRequest,
|
|
20
22
|
ListDeploymentsResponse,
|
|
21
23
|
ScaleDeploymentRequest,
|
|
@@ -66,6 +68,10 @@ class DeployServiceStub:
|
|
|
66
68
|
TagDeploymentRequest,
|
|
67
69
|
TagDeploymentResponse,
|
|
68
70
|
]
|
|
71
|
+
GetDeploymentSource: UnaryUnaryMultiCallable[
|
|
72
|
+
GetDeploymentSourceRequest,
|
|
73
|
+
GetDeploymentSourceResponse,
|
|
74
|
+
]
|
|
69
75
|
|
|
70
76
|
class DeployServiceServicer(metaclass=ABCMeta):
|
|
71
77
|
@abstractmethod
|
|
@@ -116,5 +122,11 @@ class DeployServiceServicer(metaclass=ABCMeta):
|
|
|
116
122
|
request: TagDeploymentRequest,
|
|
117
123
|
context: ServicerContext,
|
|
118
124
|
) -> TagDeploymentResponse: ...
|
|
125
|
+
@abstractmethod
|
|
126
|
+
def GetDeploymentSource(
|
|
127
|
+
self,
|
|
128
|
+
request: GetDeploymentSourceRequest,
|
|
129
|
+
context: ServicerContext,
|
|
130
|
+
) -> GetDeploymentSourceResponse: ...
|
|
119
131
|
|
|
120
132
|
def add_DeployServiceServicer_to_server(servicer: DeployServiceServicer, server: Server) -> None: ...
|
|
@@ -13,11 +13,12 @@ from google.protobuf.internal import builder as _builder
|
|
|
13
13
|
_sym_db = _symbol_database.Default()
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
from chalk._gen.chalk.server.v1 import environment_pb2 as chalk_dot_server_dot_v1_dot_environment__pb2
|
|
16
17
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
20
|
-
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xb2\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\
|
|
21
|
+
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xb2\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\xc2\x10\n\nDeployment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x06status\x12\'\n\x0f\x64\x65ployment_tags\x18\x04 \x03(\tR\x0e\x64\x65ploymentTags\x12$\n\x0e\x63loud_build_id\x18\x05 \x01(\tR\x0c\x63loudBuildId\x12!\n\x0ctriggered_by\x18\x06 \x01(\tR\x0btriggeredBy\x12\x38\n\x15requirements_filepath\x18\x07 \x01(\tH\x00R\x14requirementsFilepath\x88\x01\x01\x12\x34\n\x13\x64ockerfile_filepath\x18\x08 \x01(\tH\x01R\x12\x64ockerfileFilepath\x88\x01\x01\x12\x1d\n\x07runtime\x18\t \x01(\tH\x02R\x07runtime\x88\x01\x01\x12\'\n\x0f\x63halkpy_version\x18\n \x01(\tR\x0e\x63halkpyVersion\x12.\n\x13raw_dependency_hash\x18\x0b \x01(\tR\x11rawDependencyHash\x12\x37\n\x15\x66inal_dependency_hash\x18\x0c \x01(\tH\x03R\x13\x66inalDependencyHash\x88\x01\x01\x12\x37\n\x15is_preview_deployment\x18\r \x01(\x08H\x04R\x13isPreviewDeployment\x88\x01\x01\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1d\n\ngit_commit\x18\x10 \x01(\tR\tgitCommit\x12\x15\n\x06git_pr\x18\x11 \x01(\tR\x05gitPr\x12\x1d\n\ngit_branch\x18\x12 \x01(\tR\tgitBranch\x12(\n\x10git_author_email\x18\x13 \x01(\tR\x0egitAuthorEmail\x12\x16\n\x06\x62ranch\x18\x14 \x01(\tR\x06\x62ranch\x12)\n\x10project_settings\x18\x15 \x01(\tR\x0fprojectSettings\x12\x32\n\x12requirements_files\x18\x16 \x01(\tH\x05R\x11requirementsFiles\x88\x01\x01\x12\x17\n\x07git_tag\x18\x17 \x01(\tR\x06gitTag\x12$\n\x0e\x62\x61se_image_sha\x18\x18 \x01(\tR\x0c\x62\x61seImageSha\x12\x46\n\x11status_changed_at\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fstatusChangedAt\x12;\n\x17pinned_platform_version\x18\x1a \x01(\tH\x06R\x15pinnedPlatformVersion\x88\x01\x01\x12\x39\n\x16preview_deployment_tag\x18\x1b \x01(\tH\x07R\x14previewDeploymentTag\x88\x01\x01\x12X\n\x0eprofiling_mode\x18\x1c \x01(\x0e\x32(.chalk.server.v1.DeploymentProfilingModeB\x02\x18\x01H\x08R\rprofilingMode\x88\x01\x01\x12\x31\n\x12source_image_specs\x18\x1d \x01(\x0cH\tR\x10sourceImageSpecs\x88\x01\x01\x12\x39\n\x19uses_uploaded_proto_graph\x18\x1e \x01(\x08R\x16usesUploadedProtoGraph\x12Q\n\rbuild_profile\x18\x1f \x01(\x0e\x32\'.chalk.server.v1.DeploymentBuildProfileH\nR\x0c\x62uildProfile\x88\x01\x01\x12\x36\n\x15\x63ustomer_cicd_job_url\x18 \x01(\tH\x0bR\x12\x63ustomerCicdJobUrl\x88\x01\x01\x12\x30\n\x11\x63ustomer_metadata\x18! \x01(\tH\x0cR\x10\x63ustomerMetadata\x88\x01\x01\x12-\n\x10\x63ustomer_vcs_url\x18" \x01(\tH\rR\x0e\x63ustomerVcsUrl\x88\x01\x01\x12\x34\n\x13\x64isplay_description\x18# \x01(\tH\x0eR\x12\x64isplayDescription\x88\x01\x01\x12\x31\n\x12git_commit_message\x18$ \x01(\tH\x0fR\x10gitCommitMessage\x88\x01\x01\x42\x18\n\x16_requirements_filepathB\x16\n\x14_dockerfile_filepathB\n\n\x08_runtimeB\x18\n\x16_final_dependency_hashB\x18\n\x16_is_preview_deploymentB\x15\n\x13_requirements_filesB\x1a\n\x18_pinned_platform_versionB\x19\n\x17_preview_deployment_tagB\x11\n\x0f_profiling_modeB\x15\n\x13_source_image_specsB\x10\n\x0e_build_profileB\x18\n\x16_customer_cicd_job_urlB\x14\n\x12_customer_metadataB\x13\n\x11_customer_vcs_urlB\x16\n\x14_display_descriptionB\x15\n\x13_git_commit_message*\xde\x03\n\x10\x44\x65ploymentStatus\x12!\n\x1d\x44\x45PLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_UNKNOWN\x10\x01\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_PENDING\x10\x02\x12\x1c\n\x18\x44\x45PLOYMENT_STATUS_QUEUED\x10\x03\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_WORKING\x10\x04\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_SUCCESS\x10\x05\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_FAILURE\x10\x06\x12$\n DEPLOYMENT_STATUS_INTERNAL_ERROR\x10\x07\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_TIMEOUT\x10\x08\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_CANCELLED\x10\t\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_EXPIRED\x10\n\x12!\n\x1d\x44\x45PLOYMENT_STATUS_BOOT_ERRORS\x10\x0b\x12%\n!DEPLOYMENT_STATUS_AWAITING_SOURCE\x10\x0c\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_DEPLOYING\x10\r*\x8e\x01\n\x17\x44\x65ploymentProfilingMode\x12)\n%DEPLOYMENT_PROFILING_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x45PLOYMENT_PROFILING_MODE_NONE\x10\x01\x12 \n\x1c\x44\x45PLOYMENT_PROFILING_MODE_O2\x10\x02\x1a\x02\x18\x01\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0f\x44\x65ploymentProtoP\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'
|
|
21
22
|
)
|
|
22
23
|
|
|
23
24
|
_globals = globals()
|
|
@@ -28,20 +29,24 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
28
29
|
_globals[
|
|
29
30
|
"DESCRIPTOR"
|
|
30
31
|
]._serialized_options = b"\n\023com.chalk.server.v1B\017DeploymentProtoP\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"
|
|
32
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._options = None
|
|
33
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_options = b"\030\001"
|
|
31
34
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._options = None
|
|
32
35
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_options = b"8\001"
|
|
33
|
-
_globals["
|
|
34
|
-
_globals["
|
|
35
|
-
_globals["
|
|
36
|
-
_globals["
|
|
37
|
-
_globals["
|
|
38
|
-
_globals["
|
|
39
|
-
_globals["
|
|
40
|
-
_globals["
|
|
41
|
-
_globals["
|
|
42
|
-
_globals["
|
|
43
|
-
_globals["
|
|
44
|
-
_globals["
|
|
45
|
-
_globals["
|
|
46
|
-
_globals["
|
|
36
|
+
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._options = None
|
|
37
|
+
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._serialized_options = b"\030\001"
|
|
38
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_start = 2725
|
|
39
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_end = 3203
|
|
40
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start = 3206
|
|
41
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end = 3348
|
|
42
|
+
_globals["_INSTANCESIZING"]._serialized_start = 122
|
|
43
|
+
_globals["_INSTANCESIZING"]._serialized_end = 258
|
|
44
|
+
_globals["_SOURCEIMAGESPEC"]._serialized_start = 261
|
|
45
|
+
_globals["_SOURCEIMAGESPEC"]._serialized_end = 424
|
|
46
|
+
_globals["_SOURCEIMAGESPECS"]._serialized_start = 427
|
|
47
|
+
_globals["_SOURCEIMAGESPECS"]._serialized_end = 605
|
|
48
|
+
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_start = 515
|
|
49
|
+
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_end = 605
|
|
50
|
+
_globals["_DEPLOYMENT"]._serialized_start = 608
|
|
51
|
+
_globals["_DEPLOYMENT"]._serialized_end = 2722
|
|
47
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from chalk._gen.chalk.server.v1 import environment_pb2 as _environment_pb2
|
|
1
2
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
3
|
from google.protobuf.internal import containers as _containers
|
|
3
4
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
@@ -128,6 +129,12 @@ class Deployment(_message.Message):
|
|
|
128
129
|
"profiling_mode",
|
|
129
130
|
"source_image_specs",
|
|
130
131
|
"uses_uploaded_proto_graph",
|
|
132
|
+
"build_profile",
|
|
133
|
+
"customer_cicd_job_url",
|
|
134
|
+
"customer_metadata",
|
|
135
|
+
"customer_vcs_url",
|
|
136
|
+
"display_description",
|
|
137
|
+
"git_commit_message",
|
|
131
138
|
)
|
|
132
139
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
133
140
|
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -159,6 +166,12 @@ class Deployment(_message.Message):
|
|
|
159
166
|
PROFILING_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
160
167
|
SOURCE_IMAGE_SPECS_FIELD_NUMBER: _ClassVar[int]
|
|
161
168
|
USES_UPLOADED_PROTO_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
BUILD_PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
CUSTOMER_CICD_JOB_URL_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
+
CUSTOMER_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
CUSTOMER_VCS_URL_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
+
DISPLAY_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
GIT_COMMIT_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
162
175
|
id: str
|
|
163
176
|
environment_id: str
|
|
164
177
|
status: DeploymentStatus
|
|
@@ -189,6 +202,12 @@ class Deployment(_message.Message):
|
|
|
189
202
|
profiling_mode: DeploymentProfilingMode
|
|
190
203
|
source_image_specs: bytes
|
|
191
204
|
uses_uploaded_proto_graph: bool
|
|
205
|
+
build_profile: _environment_pb2.DeploymentBuildProfile
|
|
206
|
+
customer_cicd_job_url: str
|
|
207
|
+
customer_metadata: str
|
|
208
|
+
customer_vcs_url: str
|
|
209
|
+
display_description: str
|
|
210
|
+
git_commit_message: str
|
|
192
211
|
def __init__(
|
|
193
212
|
self,
|
|
194
213
|
id: _Optional[str] = ...,
|
|
@@ -221,4 +240,10 @@ class Deployment(_message.Message):
|
|
|
221
240
|
profiling_mode: _Optional[_Union[DeploymentProfilingMode, str]] = ...,
|
|
222
241
|
source_image_specs: _Optional[bytes] = ...,
|
|
223
242
|
uses_uploaded_proto_graph: bool = ...,
|
|
243
|
+
build_profile: _Optional[_Union[_environment_pb2.DeploymentBuildProfile, str]] = ...,
|
|
244
|
+
customer_cicd_job_url: _Optional[str] = ...,
|
|
245
|
+
customer_metadata: _Optional[str] = ...,
|
|
246
|
+
customer_vcs_url: _Optional[str] = ...,
|
|
247
|
+
display_description: _Optional[str] = ...,
|
|
248
|
+
git_commit_message: _Optional[str] = ...,
|
|
224
249
|
) -> None: ...
|