qwak-core 0.1.37__py3-none-any.whl → 0.5.19__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.
Potentially problematic release.
This version of qwak-core might be problematic. Click here for more details.
- _qwak_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.py +29 -0
- _qwak_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.pyi +70 -0
- _qwak_proto/jfml/hosting_gateway/v1/build_upload_url_pb2_grpc.py +4 -0
- _qwak_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.py +32 -0
- _qwak_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.pyi +48 -0
- _qwak_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2_grpc.py +67 -0
- _qwak_proto/qwak/administration/account/v1/account_pb2.py +29 -60
- _qwak_proto/qwak/administration/account/v1/account_pb2.pyi +120 -2
- _qwak_proto/qwak/administration/account/v1/account_service_pb2.py +67 -0
- _qwak_proto/qwak/administration/account/v1/account_service_pb2.pyi +345 -0
- _qwak_proto/qwak/administration/account/v1/account_service_pb2_grpc.py +338 -0
- _qwak_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.py +49 -0
- _qwak_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.pyi +209 -0
- _qwak_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/account/v1/personalization_pb2.py +8 -24
- _qwak_proto/qwak/administration/account/v1/preferences_pb2.py +6 -14
- _qwak_proto/qwak/administration/account/v1/terms_pb2.py +35 -0
- _qwak_proto/qwak/administration/account/v1/terms_pb2.pyi +94 -0
- _qwak_proto/qwak/administration/account/v1/terms_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/authenticated_user/v1/authenticated_user_service_pb2.py +18 -67
- _qwak_proto/qwak/administration/authenticated_user/v1/credentials_pb2.py +8 -24
- _qwak_proto/qwak/administration/authenticated_user/v1/credentials_pb2.pyi +1 -1
- _qwak_proto/qwak/administration/authenticated_user/v1/details_pb2.py +14 -54
- _qwak_proto/qwak/administration/cluster/v2/cluster_pb2.py +62 -0
- _qwak_proto/qwak/administration/cluster/v2/cluster_pb2.pyi +354 -0
- _qwak_proto/qwak/administration/cluster/v2/cluster_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/container_registry_config_pb2.py +32 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/container_registry_config_pb2.pyi +65 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/container_registry_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/auth_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/auth_pb2.pyi +36 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/auth_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/secret_pb2.py +29 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/secret_pb2.pyi +49 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/creds/secret_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/data_catalog_config_pb2.py +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/data_catalog_config_pb2.pyi +89 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/data_catalog_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/databricks/auth_pb2.py +34 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/databricks/auth_pb2.pyi +97 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/databricks/auth_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/elasticsearch_config_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/elasticsearch_config_pb2.pyi +39 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/elasticsearch_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/kafka_config_pb2.py +34 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/kafka_config_pb2.pyi +79 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/kafka_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/prometheus_config_pb2.py +29 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/prometheus_config_pb2.pyi +46 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/prometheus_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/redis_config_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/redis_config_pb2.pyi +39 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/redis_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/victoriametrics_config_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/victoriametrics_config_pb2.pyi +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/external/victoriametrics_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/feature_store_config_pb2.py +32 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/feature_store_config_pb2.pyi +66 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/feature_store_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/aws/auth_pb2.py +42 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/aws/auth_pb2.pyi +159 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/aws/auth_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/azure/auth_pb2.py +39 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/azure/auth_pb2.pyi +126 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting/azure/auth_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting_config_pb2.py +40 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting_config_pb2.pyi +146 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/hosting_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/logs_storage_config_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/logs_storage_config_pb2.pyi +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/logs_storage_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/model_analytics_storage_config_pb2.py +28 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/model_analytics_storage_config_pb2.pyi +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/model_analytics_storage_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/network_config_pb2.py +36 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/network_config_pb2.pyi +107 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/network_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/object_storage_config_pb2.py +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/object_storage_config_pb2.pyi +93 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/object_storage_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/observability_config_pb2.py +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/observability_config_pb2.pyi +79 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/observability_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/runtime_config_pb2.py +36 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/runtime_config_pb2.pyi +72 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/runtime_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/sql_engine_config_pb2.py +33 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/sql_engine_config_pb2.pyi +83 -0
- _qwak_proto/qwak/administration/runtime_configuration/v0/sql_engine_config_pb2_grpc.py +4 -0
- _qwak_proto/qwak/administration/v0/authentication/authentication_service_pb2.py +14 -47
- _qwak_proto/qwak/administration/v0/environments/configuration_pb2.py +23 -55
- _qwak_proto/qwak/administration/v0/environments/configuration_pb2.pyi +103 -7
- _qwak_proto/qwak/administration/v0/environments/environment_pb2.py +15 -33
- _qwak_proto/qwak/administration/v0/environments/environment_pb2.pyi +50 -2
- _qwak_proto/qwak/administration/v0/environments/environment_service_pb2.py +36 -158
- _qwak_proto/qwak/administration/v0/environments/personalization_pb2.py +8 -24
- _qwak_proto/qwak/administration/v0/users/user_pb2.py +18 -71
- _qwak_proto/qwak/admiral/secret/v0/secret_pb2.py +53 -0
- _qwak_proto/qwak/admiral/secret/v0/secret_pb2.pyi +256 -0
- _qwak_proto/qwak/admiral/secret/v0/secret_pb2_grpc.py +4 -0
- _qwak_proto/qwak/admiral/secret/v0/secret_service_pb2.py +40 -0
- _qwak_proto/qwak/admiral/secret/v0/secret_service_pb2.pyi +93 -0
- _qwak_proto/qwak/admiral/secret/v0/secret_service_pb2_grpc.py +135 -0
- _qwak_proto/qwak/admiral/secret/v0/system_secret_service_pb2.py +40 -0
- _qwak_proto/qwak/admiral/secret/v0/system_secret_service_pb2.pyi +101 -0
- _qwak_proto/qwak/admiral/secret/v0/system_secret_service_pb2_grpc.py +135 -0
- _qwak_proto/qwak/admiral/user_application_instance/v0/user_application_instance_pb2.py +39 -105
- _qwak_proto/qwak/admiral/user_application_instance/v0/user_application_instance_pb2.pyi +131 -3
- _qwak_proto/qwak/admiral/user_application_instance/v0/user_application_instance_service_pb2.py +22 -87
- _qwak_proto/qwak/analytics/analytics_pb2.py +28 -123
- _qwak_proto/qwak/analytics/analytics_pb2.pyi +5 -1
- _qwak_proto/qwak/analytics/analytics_service_pb2.py +48 -149
- _qwak_proto/qwak/analytics/analytics_service_pb2.pyi +87 -0
- _qwak_proto/qwak/analytics/analytics_service_pb2_grpc.py +101 -0
- _qwak_proto/qwak/artifactory_settings/artifactory_settings_pb2.py +29 -0
- _qwak_proto/qwak/artifactory_settings/artifactory_settings_pb2.pyi +57 -0
- _qwak_proto/qwak/artifactory_settings/artifactory_settings_pb2_grpc.py +4 -0
- _qwak_proto/qwak/audience/v1/audience_api_pb2.py +30 -127
- _qwak_proto/qwak/audience/v1/audience_pb2.py +27 -114
- _qwak_proto/qwak/audience/v1/audience_pb2.pyi +5 -1
- _qwak_proto/qwak/auto_scaling/v1/auto_scaling_pb2.py +18 -79
- _qwak_proto/qwak/auto_scaling/v1/auto_scaling_service_pb2.py +10 -27
- _qwak_proto/qwak/automation/v1/action_pb2.py +42 -164
- _qwak_proto/qwak/automation/v1/action_pb2.pyi +82 -7
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.py +19 -77
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.pyi +6 -0
- _qwak_proto/qwak/automation/v1/automation_execution_pb2.py +12 -43
- _qwak_proto/qwak/automation/v1/automation_management_service_pb2.py +56 -258
- _qwak_proto/qwak/automation/v1/automation_pb2.py +11 -35
- _qwak_proto/qwak/automation/v1/automation_pb2.pyi +8 -1
- _qwak_proto/qwak/automation/v1/common_pb2.py +11 -33
- _qwak_proto/qwak/automation/v1/common_pb2.pyi +6 -0
- _qwak_proto/qwak/automation/v1/notification_pb2.py +16 -68
- _qwak_proto/qwak/automation/v1/trigger_pb2.py +14 -54
- _qwak_proto/qwak/batch_job/v1/batch_job_events_pb2.py +27 -116
- _qwak_proto/qwak/batch_job/v1/batch_job_events_pb2.pyi +6 -1
- _qwak_proto/qwak/batch_job/v1/batch_job_resources_pb2.py +9 -26
- _qwak_proto/qwak/batch_job/v1/batch_job_resources_pb2.pyi +2 -0
- _qwak_proto/qwak/batch_job/v1/batch_job_service_pb2.py +121 -502
- _qwak_proto/qwak/batch_job/v1/batch_job_service_pb2.pyi +111 -4
- _qwak_proto/qwak/batch_job/v1/batch_job_service_pb2_grpc.py +67 -0
- _qwak_proto/qwak/build/v1/build_api_pb2.py +98 -278
- _qwak_proto/qwak/build/v1/build_api_pb2.pyi +220 -0
- _qwak_proto/qwak/build/v1/build_api_pb2_grpc.py +198 -0
- _qwak_proto/qwak/build/v1/build_pb2.py +115 -417
- _qwak_proto/qwak/build/v1/build_pb2.pyi +294 -5
- _qwak_proto/qwak/build_settings/build_settings_api_pb2.py +40 -0
- _qwak_proto/qwak/build_settings/build_settings_api_pb2.pyi +106 -0
- _qwak_proto/qwak/build_settings/build_settings_api_pb2_grpc.py +132 -0
- _qwak_proto/qwak/build_settings/build_settings_pb2.py +39 -0
- _qwak_proto/qwak/build_settings/build_settings_pb2.pyi +148 -0
- _qwak_proto/qwak/build_settings/build_settings_pb2_grpc.py +4 -0
- _qwak_proto/qwak/builds/build_pb2.py +46 -200
- _qwak_proto/qwak/builds/build_pb2.pyi +111 -5
- _qwak_proto/qwak/builds/build_url_pb2.py +27 -54
- _qwak_proto/qwak/builds/build_url_pb2.pyi +131 -2
- _qwak_proto/qwak/builds/build_values_pb2.py +82 -0
- _qwak_proto/qwak/builds/build_values_pb2.pyi +559 -0
- _qwak_proto/qwak/builds/build_values_pb2_grpc.py +4 -0
- _qwak_proto/qwak/builds/builds_orchestrator_service_pb2.py +93 -168
- _qwak_proto/qwak/builds/builds_orchestrator_service_pb2.pyi +342 -3
- _qwak_proto/qwak/builds/builds_orchestrator_service_pb2_grpc.py +166 -0
- _qwak_proto/qwak/builds/builds_pb2.py +87 -528
- _qwak_proto/qwak/builds/builds_pb2.pyi +5 -192
- _qwak_proto/qwak/builds/builds_pb2_grpc.py +0 -233
- _qwak_proto/qwak/builds/internal_builds_orchestrator_service_pb2.py +12 -37
- _qwak_proto/qwak/data_versioning/data_versioning_pb2.py +9 -15
- _qwak_proto/qwak/data_versioning/data_versioning_pb2.pyi +21 -0
- _qwak_proto/qwak/data_versioning/data_versioning_service_pb2.py +15 -48
- _qwak_proto/qwak/data_versioning/data_versioning_service_pb2.pyi +12 -1
- _qwak_proto/qwak/deployment/alert_pb2.py +25 -108
- _qwak_proto/qwak/deployment/alert_pb2.pyi +2 -0
- _qwak_proto/qwak/deployment/alert_service_pb2.py +30 -127
- _qwak_proto/qwak/deployment/deployment_messages_pb2.py +6 -14
- _qwak_proto/qwak/deployment/deployment_pb2.py +127 -578
- _qwak_proto/qwak/deployment/deployment_pb2.pyi +51 -8
- _qwak_proto/qwak/deployment/deployment_service_pb2.py +91 -400
- _qwak_proto/qwak/deployment/deployment_service_pb2.pyi +30 -0
- _qwak_proto/qwak/deployment/deployment_service_pb2_grpc.py +34 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_pb2.py +72 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_pb2.pyi +489 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_pb2_grpc.py +4 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_service_pb2.py +44 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_service_pb2.pyi +144 -0
- _qwak_proto/qwak/ecosystem/jfrog/v0/token_service_pb2_grpc.py +169 -0
- _qwak_proto/qwak/ecosystem/v0/auth_pb2.py +28 -0
- _qwak_proto/qwak/ecosystem/v0/auth_pb2.pyi +37 -0
- _qwak_proto/qwak/ecosystem/v0/auth_pb2_grpc.py +4 -0
- _qwak_proto/qwak/ecosystem/v0/azure_credentials_pb2.py +37 -0
- _qwak_proto/qwak/ecosystem/v0/azure_credentials_pb2.pyi +117 -0
- _qwak_proto/qwak/ecosystem/v0/azure_credentials_pb2_grpc.py +4 -0
- _qwak_proto/qwak/ecosystem/v0/credentials_pb2.py +13 -26
- _qwak_proto/qwak/ecosystem/v0/credentials_pb2.pyi +33 -3
- _qwak_proto/qwak/ecosystem/v0/ecosystem_pb2.py +34 -140
- _qwak_proto/qwak/ecosystem/v0/ecosystem_pb2.pyi +45 -7
- _qwak_proto/qwak/ecosystem/v0/ecosystem_runtime_service_pb2.py +54 -229
- _qwak_proto/qwak/ecosystem/v0/ecosystem_runtime_service_pb2.pyi +22 -3
- _qwak_proto/qwak/execution/v1/backfill_pb2.py +18 -74
- _qwak_proto/qwak/execution/v1/batch_pb2.py +10 -34
- _qwak_proto/qwak/execution/v1/deletion_pb2.py +33 -0
- _qwak_proto/qwak/execution/v1/deletion_pb2.pyi +67 -0
- _qwak_proto/qwak/execution/v1/deletion_pb2_grpc.py +4 -0
- _qwak_proto/qwak/execution/v1/execution_pb2.py +20 -60
- _qwak_proto/qwak/execution/v1/execution_pb2.pyi +61 -4
- _qwak_proto/qwak/execution/v1/execution_service_pb2.py +70 -108
- _qwak_proto/qwak/execution/v1/execution_service_pb2.pyi +306 -0
- _qwak_proto/qwak/execution/v1/execution_service_pb2_grpc.py +304 -2
- _qwak_proto/qwak/execution/v1/internal/deployment/platform_details_pb2.py +27 -0
- _qwak_proto/qwak/execution/v1/internal/deployment/platform_details_pb2.pyi +29 -0
- _qwak_proto/qwak/execution/v1/internal/deployment/platform_details_pb2_grpc.py +4 -0
- _qwak_proto/qwak/execution/v1/jobs/job_pb2.py +19 -67
- _qwak_proto/qwak/execution/v1/jobs/job_pb2.pyi +33 -2
- _qwak_proto/qwak/execution/v1/jobs/job_service_pb2.py +56 -88
- _qwak_proto/qwak/execution/v1/jobs/job_service_pb2.pyi +311 -0
- _qwak_proto/qwak/execution/v1/jobs/job_service_pb2_grpc.py +231 -0
- _qwak_proto/qwak/execution/v1/jobs/reports/report_pb2.py +21 -75
- _qwak_proto/qwak/execution/v1/jobs/reports/report_pb2.pyi +29 -2
- _qwak_proto/qwak/execution/v1/state/execution_state_pb2.py +6 -14
- _qwak_proto/qwak/execution/v1/state/execution_state_service_pb2.py +31 -108
- _qwak_proto/qwak/execution/v1/state/execution_state_service_pb2.pyi +30 -0
- _qwak_proto/qwak/execution/v1/state/execution_state_service_pb2_grpc.py +34 -0
- _qwak_proto/qwak/execution/v1/state/featureset_state_pb2.py +6 -14
- _qwak_proto/qwak/execution/v1/state/spark_execution_state_pb2.py +14 -68
- _qwak_proto/qwak/execution/v1/streaming_aggregation_pb2.py +42 -0
- _qwak_proto/qwak/execution/v1/streaming_aggregation_pb2.pyi +165 -0
- _qwak_proto/qwak/execution/v1/streaming_aggregation_pb2_grpc.py +4 -0
- _qwak_proto/qwak/execution/v1/streaming_pb2.py +33 -0
- _qwak_proto/qwak/execution/v1/streaming_pb2.pyi +79 -0
- _qwak_proto/qwak/execution/v1/streaming_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/entities/entity_pb2.py +16 -57
- _qwak_proto/qwak/feature_store/entities/entity_service_pb2.py +30 -127
- _qwak_proto/qwak/feature_store/features/aggregation_pb2.py +38 -175
- _qwak_proto/qwak/feature_store/features/deployment_pb2.py +36 -167
- _qwak_proto/qwak/feature_store/features/deployment_service_pb2.py +10 -27
- _qwak_proto/qwak/feature_store/features/execution_pb2.py +14 -56
- _qwak_proto/qwak/feature_store/features/feature_set_attribute_pb2.py +28 -0
- _qwak_proto/qwak/feature_store/features/feature_set_attribute_pb2.pyi +33 -0
- _qwak_proto/qwak/feature_store/features/feature_set_attribute_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/features/feature_set_pb2.py +49 -106
- _qwak_proto/qwak/feature_store/features/feature_set_pb2.pyi +154 -8
- _qwak_proto/qwak/feature_store/features/feature_set_service_pb2.py +101 -349
- _qwak_proto/qwak/feature_store/features/feature_set_service_pb2.pyi +160 -0
- _qwak_proto/qwak/feature_store/features/feature_set_service_pb2_grpc.py +170 -0
- _qwak_proto/qwak/feature_store/features/feature_set_state_pb2.py +38 -181
- _qwak_proto/qwak/feature_store/features/feature_set_state_service_pb2.py +26 -107
- _qwak_proto/qwak/feature_store/features/feature_set_types_pb2.py +84 -298
- _qwak_proto/qwak/feature_store/features/feature_set_types_pb2.pyi +123 -7
- _qwak_proto/qwak/feature_store/features/monitoring_pb2.py +10 -34
- _qwak_proto/qwak/feature_store/features/real_time_feature_extractor_pb2.py +32 -143
- _qwak_proto/qwak/feature_store/jobs/job_pb2.py +12 -46
- _qwak_proto/qwak/feature_store/jobs/job_service_pb2.py +30 -127
- _qwak_proto/qwak/feature_store/jobs/v1/job_pb2.py +13 -36
- _qwak_proto/qwak/feature_store/jobs/v1/job_pb2.pyi +19 -0
- _qwak_proto/qwak/feature_store/jobs/v1/job_service_pb2.py +44 -148
- _qwak_proto/qwak/feature_store/jobs/v1/job_service_pb2.pyi +64 -0
- _qwak_proto/qwak/feature_store/jobs/v1/job_service_pb2_grpc.py +67 -0
- _qwak_proto/qwak/feature_store/platform/platform_details_pb2.py +30 -0
- _qwak_proto/qwak/feature_store/platform/platform_details_pb2.pyi +54 -0
- _qwak_proto/qwak/feature_store/platform/platform_details_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/reports/report_pb2.py +14 -53
- _qwak_proto/qwak/feature_store/repository/common/platform_pb2.py +31 -0
- _qwak_proto/qwak/feature_store/repository/common/platform_pb2.pyi +70 -0
- _qwak_proto/qwak/feature_store/repository/common/platform_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/serving/management_pb2.py +36 -0
- _qwak_proto/qwak/feature_store/serving/management_pb2.pyi +72 -0
- _qwak_proto/qwak/feature_store/serving/management_pb2_grpc.py +101 -0
- _qwak_proto/qwak/feature_store/serving/metadata_pb2.py +13 -35
- _qwak_proto/qwak/feature_store/serving/metadata_pb2.pyi +27 -0
- _qwak_proto/qwak/feature_store/serving/serving_pb2.py +50 -222
- _qwak_proto/qwak/feature_store/serving/v1/value_pb2.py +8 -24
- _qwak_proto/qwak/feature_store/sinks/sink_pb2.py +36 -0
- _qwak_proto/qwak/feature_store/sinks/sink_pb2.pyi +137 -0
- _qwak_proto/qwak/feature_store/sinks/sink_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/sources/batch_pb2.py +80 -175
- _qwak_proto/qwak/feature_store/sources/batch_pb2.pyi +461 -13
- _qwak_proto/qwak/feature_store/sources/data_source_attribute_pb2.py +28 -0
- _qwak_proto/qwak/feature_store/sources/data_source_attribute_pb2.pyi +33 -0
- _qwak_proto/qwak/feature_store/sources/data_source_attribute_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/sources/data_source_pb2.py +21 -55
- _qwak_proto/qwak/feature_store/sources/data_source_pb2.pyi +39 -4
- _qwak_proto/qwak/feature_store/sources/data_source_service_pb2.py +41 -148
- _qwak_proto/qwak/feature_store/sources/data_source_service_pb2.pyi +25 -0
- _qwak_proto/qwak/feature_store/sources/data_source_service_pb2_grpc.py +34 -0
- _qwak_proto/qwak/feature_store/sources/streaming_pb2.py +34 -146
- _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.py +27 -0
- _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.pyi +30 -0
- _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.py +32 -0
- _qwak_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.pyi +77 -0
- _qwak_proto/qwak/feature_store/v1/common/source_code/source_code_pb2_grpc.py +4 -0
- _qwak_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2.py +39 -0
- _qwak_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2.pyi +99 -0
- _qwak_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2_grpc.py +99 -0
- _qwak_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2.py +31 -0
- _qwak_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2.pyi +46 -0
- _qwak_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2_grpc.py +66 -0
- _qwak_proto/qwak/features_operator/v1/features_operator_pb2.py +14 -54
- _qwak_proto/qwak/features_operator/v1/features_operator_service_pb2.py +14 -47
- _qwak_proto/qwak/features_operator/v2/features_operator_pb2.py +16 -64
- _qwak_proto/qwak/features_operator/v2/features_operator_service_pb2.py +12 -37
- _qwak_proto/qwak/features_operator/v3/features_operator_async_service_pb2.py +26 -107
- _qwak_proto/qwak/features_operator/v3/features_operator_pb2.py +16 -64
- _qwak_proto/qwak/file_versioning/file_versioning_pb2.py +11 -24
- _qwak_proto/qwak/file_versioning/file_versioning_pb2.pyi +21 -0
- _qwak_proto/qwak/file_versioning/file_versioning_service_pb2.py +15 -48
- _qwak_proto/qwak/file_versioning/file_versioning_service_pb2.pyi +12 -1
- _qwak_proto/qwak/fitness_service/constructs_pb2.py +23 -93
- _qwak_proto/qwak/fitness_service/constructs_pb2.pyi +59 -1
- _qwak_proto/qwak/fitness_service/fitness_pb2.py +7 -34
- _qwak_proto/qwak/fitness_service/fitness_pb2.pyi +0 -77
- _qwak_proto/qwak/fitness_service/status_pb2.py +17 -107
- _qwak_proto/qwak/fitness_service/status_pb2.pyi +1 -117
- _qwak_proto/qwak/inference/feedback/feedback_pb2.py +28 -96
- _qwak_proto/qwak/instance_template/instance_template_pb2.py +13 -41
- _qwak_proto/qwak/instance_template/instance_template_pb2.pyi +13 -1
- _qwak_proto/qwak/instance_template/instance_template_service_pb2.py +14 -47
- _qwak_proto/qwak/integration/hugging_face_integration_pb2.py +37 -0
- _qwak_proto/qwak/integration/hugging_face_integration_pb2.pyi +106 -0
- _qwak_proto/qwak/integration/hugging_face_integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/integration/integration_pb2.py +55 -0
- _qwak_proto/qwak/integration/integration_pb2.pyi +357 -0
- _qwak_proto/qwak/integration/integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/integration/integration_service_pb2.py +56 -0
- _qwak_proto/qwak/integration/integration_service_pb2.pyi +234 -0
- _qwak_proto/qwak/integration/integration_service_pb2_grpc.py +271 -0
- _qwak_proto/qwak/integration/open_a_i_integration_pb2.py +37 -0
- _qwak_proto/qwak/integration/open_a_i_integration_pb2.pyi +109 -0
- _qwak_proto/qwak/integration/open_a_i_integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/integration/opsgenie_integration_pb2.py +43 -0
- _qwak_proto/qwak/integration/opsgenie_integration_pb2.pyi +168 -0
- _qwak_proto/qwak/integration/opsgenie_integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/integration/pagerduty_integration_pb2.py +47 -0
- _qwak_proto/qwak/integration/pagerduty_integration_pb2.pyi +195 -0
- _qwak_proto/qwak/integration/pagerduty_integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/integration/slack_app_integration_pb2.py +47 -0
- _qwak_proto/qwak/integration/slack_app_integration_pb2.pyi +198 -0
- _qwak_proto/qwak/integration/slack_app_integration_pb2_grpc.py +4 -0
- _qwak_proto/qwak/kube_deployment_captain/alert_pb2.py +22 -97
- _qwak_proto/qwak/kube_deployment_captain/alerting_pb2.py +12 -44
- _qwak_proto/qwak/kube_deployment_captain/batch_job_pb2.py +76 -249
- _qwak_proto/qwak/kube_deployment_captain/batch_job_pb2.pyi +283 -6
- _qwak_proto/qwak/kube_deployment_captain/deployment_pb2.py +45 -161
- _qwak_proto/qwak/kube_deployment_captain/deployment_pb2.pyi +52 -1
- _qwak_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.py +33 -145
- _qwak_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.pyi +6 -2
- _qwak_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2.py +111 -510
- _qwak_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2.pyi +24 -1
- _qwak_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2_grpc.py +34 -0
- _qwak_proto/qwak/kube_deployment_captain/traffic_mapping_pb2.py +8 -24
- _qwak_proto/qwak/logging/log_filter_pb2.py +12 -44
- _qwak_proto/qwak/logging/log_line_pb2.py +8 -25
- _qwak_proto/qwak/logging/log_reader_service_pb2.py +10 -27
- _qwak_proto/qwak/logging/log_source_pb2.py +30 -134
- _qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2.py +40 -0
- _qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2.pyi +215 -0
- _qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2_grpc.py +4 -0
- _qwak_proto/qwak/model_group/model_group_pb2.py +47 -0
- _qwak_proto/qwak/model_group/model_group_pb2.pyi +192 -0
- _qwak_proto/qwak/model_group/model_group_pb2_grpc.py +169 -0
- _qwak_proto/qwak/model_group/model_group_repository_details_pb2.py +43 -0
- _qwak_proto/qwak/model_group/model_group_repository_details_pb2.pyi +172 -0
- _qwak_proto/qwak/model_group/model_group_repository_details_pb2_grpc.py +4 -0
- _qwak_proto/qwak/models/models_pb2.py +101 -356
- _qwak_proto/qwak/models/models_pb2.pyi +221 -6
- _qwak_proto/qwak/models/models_pb2_grpc.py +68 -0
- _qwak_proto/qwak/models/models_query_pb2.py +37 -0
- _qwak_proto/qwak/models/models_query_pb2.pyi +157 -0
- _qwak_proto/qwak/models/models_query_pb2_grpc.py +4 -0
- _qwak_proto/qwak/monitoring/v0/alerting_channel_management_service_pb2.py +30 -127
- _qwak_proto/qwak/monitoring/v0/alerting_channel_pb2.py +34 -152
- _qwak_proto/qwak/monitoring/v0/alerting_channel_sync_service_pb2.py +14 -47
- _qwak_proto/qwak/offline/serving/v1/feature_values_pb2.py +27 -0
- _qwak_proto/qwak/offline/serving/v1/feature_values_pb2.pyi +37 -0
- _qwak_proto/qwak/offline/serving/v1/feature_values_pb2_grpc.py +4 -0
- _qwak_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2.py +55 -0
- _qwak_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2.pyi +279 -0
- _qwak_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2_grpc.py +165 -0
- _qwak_proto/qwak/offline/serving/v1/options_pb2.py +27 -0
- _qwak_proto/qwak/offline/serving/v1/options_pb2.pyi +30 -0
- _qwak_proto/qwak/offline/serving/v1/options_pb2_grpc.py +4 -0
- _qwak_proto/qwak/offline/serving/v1/population_pb2.py +35 -0
- _qwak_proto/qwak/offline/serving/v1/population_pb2.pyi +99 -0
- _qwak_proto/qwak/offline/serving/v1/population_pb2_grpc.py +4 -0
- _qwak_proto/qwak/projects/jfrog_project_spec_pb2.py +27 -0
- _qwak_proto/qwak/projects/jfrog_project_spec_pb2.pyi +32 -0
- _qwak_proto/qwak/projects/jfrog_project_spec_pb2_grpc.py +4 -0
- _qwak_proto/qwak/projects/projects_pb2.py +51 -142
- _qwak_proto/qwak/projects/projects_pb2.pyi +149 -3
- _qwak_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +77 -0
- _qwak_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +417 -0
- _qwak_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +441 -0
- _qwak_proto/qwak/prompt/v1/prompt/prompt_pb2.py +69 -0
- _qwak_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +415 -0
- _qwak_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +4 -0
- _qwak_proto/qwak/secret_service/secret_service_pb2.py +18 -67
- _qwak_proto/qwak/secret_service/secret_service_pb2.pyi +1 -1
- _qwak_proto/qwak/self_service/account/v0/account_membership_pb2.py +30 -65
- _qwak_proto/qwak/self_service/account/v0/account_membership_pb2.pyi +99 -2
- _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2.py +51 -208
- _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2.pyi +28 -0
- _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2_grpc.py +34 -0
- _qwak_proto/qwak/self_service/account/v0/account_status_pb2.py +44 -0
- _qwak_proto/qwak/self_service/account/v0/account_status_pb2.pyi +172 -0
- _qwak_proto/qwak/self_service/account/v0/account_status_pb2_grpc.py +4 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_pb2.py +60 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_pb2.pyi +317 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_pb2_grpc.py +4 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_service_pb2.py +45 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_service_pb2.pyi +136 -0
- _qwak_proto/qwak/self_service/account/v0/managing_account_service_pb2_grpc.py +169 -0
- _qwak_proto/qwak/self_service/user/v1/api_key_pb2.py +6 -14
- _qwak_proto/qwak/self_service/user/v1/user_pb2.py +6 -14
- _qwak_proto/qwak/self_service/user/v1/user_service_pb2.py +30 -121
- _qwak_proto/qwak/service_discovery/service_discovery_location_pb2.py +33 -0
- _qwak_proto/qwak/service_discovery/service_discovery_location_pb2.pyi +73 -0
- _qwak_proto/qwak/service_discovery/service_discovery_location_pb2_grpc.py +4 -0
- _qwak_proto/qwak/service_discovery/service_discovery_location_service_pb2.py +32 -0
- _qwak_proto/qwak/service_discovery/service_discovery_location_service_pb2.pyi +41 -0
- _qwak_proto/qwak/service_discovery/service_discovery_location_service_pb2_grpc.py +231 -0
- _qwak_proto/qwak/traffic/v1/traffic_api_pb2.py +23 -88
- _qwak_proto/qwak/traffic/v1/traffic_api_pb2.pyi +13 -2
- _qwak_proto/qwak/traffic/v1/traffic_pb2.py +27 -114
- _qwak_proto/qwak/traffic/v1/traffic_pb2.pyi +5 -1
- _qwak_proto/qwak/user_application/common/v0/resources_pb2.py +31 -132
- _qwak_proto/qwak/user_application/common/v0/resources_pb2.pyi +54 -0
- _qwak_proto/qwak/user_application/v0/user_application_pb2.py +15 -39
- _qwak_proto/qwak/user_application/v0/user_application_pb2.pyi +16 -0
- _qwak_proto/qwak/vectors/v1/collection/collection_pb2.py +25 -104
- _qwak_proto/qwak/vectors/v1/collection/collection_pb2.pyi +17 -1
- _qwak_proto/qwak/vectors/v1/collection/collection_service_pb2.py +38 -167
- _qwak_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +7 -15
- _qwak_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +5 -1
- _qwak_proto/qwak/vectors/v1/filters_pb2.py +30 -134
- _qwak_proto/qwak/vectors/v1/vector_pb2.py +17 -45
- _qwak_proto/qwak/vectors/v1/vector_pb2.pyi +25 -2
- _qwak_proto/qwak/vectors/v1/vector_service_pb2.py +31 -108
- _qwak_proto/qwak/vectors/v1/vector_service_pb2.pyi +30 -7
- _qwak_proto/qwak/workspace/workspace_pb2.py +23 -108
- _qwak_proto/qwak/workspace/workspace_pb2.pyi +10 -2
- _qwak_proto/qwak/workspace/workspace_service_pb2.py +63 -248
- _qwak_proto/qwak/workspace/workspace_service_pb2.pyi +56 -0
- _qwak_proto/qwak/workspace/workspace_service_pb2_grpc.py +66 -0
- qwak/__init__.py +2 -3
- qwak/automations/automation_executions.py +14 -10
- qwak/automations/automations.py +33 -23
- qwak/automations/build_and_deploy_action.py +147 -28
- qwak/automations/common.py +6 -0
- qwak/clients/administration/eco_system/client.py +2 -2
- qwak/clients/administration/eco_system/eco_system_utils.py +15 -0
- qwak/clients/administration/environment/client.py +16 -0
- qwak/clients/analytics/client.py +28 -3
- qwak/clients/batch_job_management/client.py +94 -3
- qwak/clients/batch_job_management/executions_config.py +18 -0
- qwak/clients/build_orchestrator/build_model_request_getter.py +3 -0
- qwak/clients/build_orchestrator/client.py +155 -12
- qwak/clients/data_versioning/client.py +19 -1
- qwak/clients/data_versioning/data_tag_filter.py +32 -0
- qwak/clients/deployment/client.py +14 -0
- qwak/clients/feature_store/execution_management_client.py +28 -0
- qwak/clients/feature_store/management_client.py +203 -146
- qwak/clients/feature_store/offline_serving_client.py +251 -0
- qwak/clients/feature_store/operator_client.py +21 -4
- qwak/clients/file_versioning/client.py +19 -1
- qwak/clients/file_versioning/file_tag_filter.py +32 -0
- qwak/clients/instance_template/client.py +11 -10
- qwak/clients/integration_management/integration_manager_client.py +34 -0
- qwak/clients/integration_management/integration_utils.py +27 -0
- qwak/clients/integration_management/openai/openai_system_secret.py +56 -0
- qwak/clients/kube_deployment_captain/client.py +3 -1
- qwak/clients/location_discovery/__init__.py +1 -0
- qwak/clients/location_discovery/client.py +73 -0
- qwak/clients/logging_client/client.py +13 -18
- qwak/clients/model_management/client.py +7 -2
- qwak/clients/project/client.py +7 -2
- qwak/clients/prompt_manager/__init__.py +0 -0
- qwak/clients/prompt_manager/model_descriptor_mapper.py +183 -0
- qwak/clients/prompt_manager/prompt_manager_client.py +167 -0
- qwak/clients/prompt_manager/prompt_proto_mapper.py +236 -0
- qwak/clients/secret_service/client.py +8 -3
- qwak/clients/system_secret/__init__.py +0 -0
- qwak/clients/system_secret/system_secret_client.py +30 -0
- qwak/clients/vector_store/management_client.py +2 -0
- qwak/clients/vector_store/serving_client.py +64 -18
- qwak/clients/workspace_manager/client.py +15 -0
- qwak/exceptions/__init__.py +7 -0
- qwak/exceptions/qwak_decode_exception.py +7 -0
- qwak/exceptions/qwak_exception.py +2 -1
- qwak/exceptions/qwak_external_exception.py +11 -0
- qwak/exceptions/qwak_general_build_exception.py +13 -0
- qwak/exceptions/qwak_grpc_address_exception.py +9 -0
- qwak/exceptions/qwak_load_configuration_exception.py +2 -0
- qwak/exceptions/qwak_remote_build_failed.py +5 -0
- qwak/exceptions/qwak_suggestion_exception.py +27 -0
- qwak/feature_store/_common/artifact_utils.py +59 -0
- qwak/feature_store/_common/feature_set_utils.py +142 -19
- qwak/feature_store/_common/functions.py +0 -43
- qwak/feature_store/_common/packaging.py +262 -0
- qwak/feature_store/_common/source_code_spec.py +108 -0
- qwak/feature_store/_common/source_code_spec_factory.py +104 -0
- qwak/feature_store/_common/value.py +10 -0
- qwak/feature_store/data_sources/__init__.py +53 -17
- qwak/feature_store/data_sources/attributes.py +23 -0
- qwak/feature_store/data_sources/base.py +125 -0
- qwak/feature_store/data_sources/batch/__init__.py +0 -0
- qwak/feature_store/data_sources/batch/_batch.py +9 -0
- qwak/feature_store/data_sources/{batch_sources → batch}/_jdbc.py +2 -1
- qwak/feature_store/data_sources/batch/athena.py +260 -0
- qwak/feature_store/data_sources/{batch_sources → batch}/big_query.py +5 -5
- qwak/feature_store/data_sources/batch/clickhouse.py +60 -0
- qwak/feature_store/data_sources/{batch_sources → batch}/csv.py +9 -5
- qwak/feature_store/data_sources/{batch_sources → batch}/elastic_search.py +5 -5
- qwak/feature_store/data_sources/batch/filesystem/__init__.py +0 -0
- qwak/feature_store/data_sources/{batch_sources/filesystem_config.py → batch/filesystem/aws.py} +30 -38
- qwak/feature_store/data_sources/batch/filesystem/base_config.py +13 -0
- qwak/feature_store/data_sources/batch/filesystem/gcp.py +50 -0
- qwak/feature_store/data_sources/batch/filesystem/utils.py +51 -0
- qwak/feature_store/data_sources/{batch_sources → batch}/mongodb.py +6 -5
- qwak/feature_store/data_sources/{batch_sources → batch}/mysql.py +5 -7
- qwak/feature_store/data_sources/{batch_sources → batch}/parquet.py +10 -7
- qwak/feature_store/data_sources/{batch_sources → batch}/postgres.py +5 -7
- qwak/feature_store/data_sources/{batch_sources → batch}/redshift.py +6 -7
- qwak/feature_store/data_sources/{batch_sources → batch}/snowflake.py +39 -13
- qwak/feature_store/data_sources/batch/unity_catalog.py +107 -0
- qwak/feature_store/data_sources/{batch_sources → batch}/vertica.py +6 -5
- qwak/feature_store/data_sources/source_authentication.py +33 -0
- qwak/feature_store/data_sources/streaming/__init__.py +0 -0
- qwak/feature_store/data_sources/streaming/_streaming.py +9 -0
- qwak/feature_store/data_sources/streaming/kafka/__init__.py +25 -0
- qwak/feature_store/data_sources/streaming/kafka/authentication.py +120 -0
- qwak/feature_store/data_sources/streaming/kafka/deserialization.py +109 -0
- qwak/feature_store/data_sources/streaming/kafka/kafka.py +120 -0
- qwak/feature_store/data_sources/time_partition_columns.py +166 -0
- qwak/feature_store/entities/entity.py +17 -4
- qwak/feature_store/execution/backfill.py +8 -2
- qwak/feature_store/execution/streaming_backfill.py +48 -0
- qwak/feature_store/feature_sets/_utils/_featureset_utils.py +45 -0
- qwak/feature_store/feature_sets/backfill.py +13 -0
- qwak/feature_store/feature_sets/base_feature_set.py +148 -0
- qwak/feature_store/feature_sets/batch.py +142 -151
- qwak/feature_store/feature_sets/execution_spec.py +6 -0
- qwak/feature_store/feature_sets/metadata.py +51 -1
- qwak/feature_store/feature_sets/streaming.py +655 -0
- qwak/feature_store/feature_sets/streaming_backfill.py +223 -0
- qwak/feature_store/feature_sets/transformations/__init__.py +33 -0
- qwak/feature_store/feature_sets/transformations/aggregations/__init__.py +0 -0
- qwak/feature_store/feature_sets/transformations/aggregations/aggregations.py +425 -0
- qwak/feature_store/feature_sets/transformations/aggregations/windows.py +70 -0
- qwak/feature_store/feature_sets/transformations/functions/__init__.py +10 -0
- qwak/feature_store/feature_sets/transformations/functions/qwak_pandas.py +64 -0
- qwak/feature_store/feature_sets/transformations/functions/schema.py +57 -0
- qwak/feature_store/feature_sets/transformations/transformations.py +451 -0
- qwak/feature_store/feature_sets/transformations/validations/validations_util.py +78 -0
- qwak/feature_store/offline/__init__.py +2 -2
- qwak/feature_store/offline/_offline_serving_validations.py +31 -0
- qwak/feature_store/offline/client_v2.py +327 -0
- qwak/feature_store/offline/feature_set_features.py +25 -0
- qwak/feature_store/online/client.py +152 -46
- qwak/feature_store/online/endpoint_utils.py +63 -0
- qwak/feature_store/sinks/__init__.py +0 -0
- qwak/feature_store/sinks/base.py +18 -0
- qwak/feature_store/sinks/kafka.py +59 -0
- qwak/feature_store/sinks/streaming/__init__.py +0 -0
- qwak/feature_store/sinks/streaming/attachment.py +30 -0
- qwak/feature_store/sinks/streaming/factory.py +60 -0
- qwak/feature_store/validations/__init__.py +0 -0
- qwak/feature_store/validations/validation_decorators.py +70 -0
- qwak/feature_store/validations/validation_options.py +77 -0
- qwak/feature_store/validations/validation_response.py +119 -0
- qwak/feature_store/validations/validator.py +114 -0
- qwak/inner/build_config/__init__.py +0 -0
- qwak/inner/build_config/build_config_v1.py +311 -0
- qwak/inner/build_logic/__init__.py +0 -0
- qwak/inner/build_logic/build_loggers/__init__.py +0 -0
- qwak/inner/build_logic/build_loggers/trigger_build_logger.py +51 -0
- qwak/inner/build_logic/constants/__init__.py +0 -0
- qwak/inner/build_logic/constants/dependencies.py +5 -0
- qwak/inner/build_logic/constants/host_resource.py +4 -0
- qwak/inner/build_logic/constants/messages.py +3 -0
- qwak/inner/build_logic/constants/temp_dir.py +1 -0
- qwak/inner/build_logic/constants/upload_tag.py +7 -0
- qwak/inner/build_logic/dependency_manager_type.py +8 -0
- qwak/inner/build_logic/execute_build_pipeline.py +62 -0
- qwak/inner/build_logic/interface/__init__.py +0 -0
- qwak/inner/build_logic/interface/build_logger_interface.py +28 -0
- qwak/inner/build_logic/interface/build_phase.py +24 -0
- qwak/inner/build_logic/interface/context_interface.py +66 -0
- qwak/inner/build_logic/interface/phase_run_handler.py +71 -0
- qwak/inner/build_logic/interface/step_inteface.py +26 -0
- qwak/inner/build_logic/interface/time_source.py +23 -0
- qwak/inner/build_logic/phases/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_model_step.py +43 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/common.py +32 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/fetch_strategy_manager.py +62 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/folder/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/folder/folder_strategy.py +131 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/git/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/git/git_strategy.py +186 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/strategy.py +48 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/zip/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/zip/zip_strategy.py +64 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/post_fetch_validation_step.py +140 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/pre_fetch_validation_step.py +266 -0
- qwak/inner/build_logic/phases/phase_010_fetch_model/set_version_step.py +33 -0
- qwak/inner/build_logic/phases/phase_020_remote_register_qwak_build/__init__.py +0 -0
- qwak/inner/build_logic/phases/phase_020_remote_register_qwak_build/cleanup_step.py +20 -0
- qwak/inner/build_logic/phases/phase_020_remote_register_qwak_build/start_remote_build_step.py +43 -0
- qwak/inner/build_logic/phases/phase_020_remote_register_qwak_build/upload_step.py +258 -0
- qwak/inner/build_logic/phases/phases_pipeline.py +44 -0
- qwak/inner/build_logic/run_handlers/__init__.py +0 -0
- qwak/inner/build_logic/run_handlers/programmatic_phase_run_handler.py +99 -0
- qwak/inner/build_logic/tools/__init__.py +0 -0
- qwak/inner/build_logic/tools/dependencies_tools.py +68 -0
- qwak/inner/build_logic/tools/files.py +237 -0
- qwak/inner/build_logic/tools/ignore_files.py +20 -0
- qwak/inner/build_logic/tools/text.py +9 -0
- qwak/inner/build_logic/trigger_build_context.py +10 -0
- qwak/inner/const.py +2 -4
- qwak/inner/di_configuration/__init__.py +1 -63
- qwak/inner/di_configuration/account.py +32 -15
- qwak/inner/di_configuration/config.yml +2 -0
- qwak/inner/di_configuration/containers.py +10 -2
- qwak/inner/di_configuration/dependency_wiring.py +98 -0
- qwak/inner/di_configuration/session.py +5 -0
- qwak/inner/instance_template/__init__.py +0 -0
- qwak/inner/instance_template/verify_template_id.py +48 -0
- qwak/inner/model_loggers_utils.py +10 -7
- qwak/inner/provider.py +6 -0
- qwak/inner/tool/auth.py +42 -7
- qwak/inner/tool/grpc/grpc_auth.py +27 -8
- qwak/inner/tool/grpc/grpc_tools.py +124 -4
- qwak/inner/tool/grpc/grpc_try_wrapping.py +139 -4
- qwak/inner/tool/protobuf_factory.py +45 -0
- qwak/inner/tool/run_config/__init__.py +2 -0
- qwak/inner/tool/run_config/base.py +32 -7
- qwak/inner/tool/run_config/utils.py +66 -1
- qwak/llmops/__init__.py +0 -0
- qwak/llmops/generation/__init__.py +0 -0
- qwak/llmops/generation/_steaming.py +77 -0
- qwak/llmops/generation/base.py +5 -0
- qwak/llmops/generation/chat/__init__.py +0 -0
- qwak/llmops/generation/chat/openai/LICENSE.txt +201 -0
- qwak/llmops/generation/chat/openai/types/__init__.py +0 -0
- qwak/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion.py +105 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +65 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +188 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +28 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +25 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +33 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_message.py +59 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +34 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +46 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +44 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +32 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_role.py +20 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +35 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +71 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +28 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +31 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +29 -0
- qwak/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +35 -0
- qwak/llmops/generation/chat/openai/types/chat/completion_create_params.py +279 -0
- qwak/llmops/generation/chat/openai/types/completion_choice.py +47 -0
- qwak/llmops/generation/chat/openai/types/completion_create_params.py +209 -0
- qwak/llmops/generation/chat/openai/types/completion_usage.py +30 -0
- qwak/llmops/generation/chat/openai/types/model.py +35 -0
- qwak/llmops/generation/chat/openai/types/shared/__init__.py +3 -0
- qwak/llmops/generation/chat/openai/types/shared/error_object.py +27 -0
- qwak/llmops/generation/chat/openai/types/shared/function_definition.py +49 -0
- qwak/llmops/generation/chat/openai/types/shared/function_parameters.py +20 -0
- qwak/llmops/generation/chat/openai/types/shared_params/__init__.py +2 -0
- qwak/llmops/generation/chat/openai/types/shared_params/function_definition.py +49 -0
- qwak/llmops/generation/chat/openai/types/shared_params/function_parameters.py +22 -0
- qwak/llmops/generation/streaming.py +26 -0
- qwak/llmops/model/__init__.py +0 -0
- qwak/llmops/model/descriptor.py +39 -0
- qwak/llmops/prompt/__init__.py +0 -0
- qwak/llmops/prompt/base.py +133 -0
- qwak/llmops/prompt/chat/__init__.py +0 -0
- qwak/llmops/prompt/chat/message.py +24 -0
- qwak/llmops/prompt/chat/template.py +113 -0
- qwak/llmops/prompt/chat/value.py +10 -0
- qwak/llmops/prompt/manager.py +134 -0
- qwak/llmops/prompt/template.py +24 -0
- qwak/llmops/prompt/value.py +14 -0
- qwak/llmops/provider/__init__.py +0 -0
- qwak/llmops/provider/chat.py +42 -0
- qwak/llmops/provider/openai/__init__.py +0 -0
- qwak/llmops/provider/openai/client.py +123 -0
- qwak/llmops/provider/openai/provider.py +89 -0
- qwak/model/_entity_extraction.py +40 -46
- qwak/model/adapters/input_adapters/multi_input_adapter.py +17 -1
- qwak/model/base.py +1 -1
- qwak/model/decorators/api.py +3 -1
- qwak/model/decorators/impl/api_implementation.py +1 -0
- qwak/model/fs_info_mapping_retriever.py +58 -0
- qwak/model/schema.py +1 -1
- qwak/model/schema_entities.py +1 -1
- qwak/model/tools/__init__.py +1 -1
- qwak/model/tools/adapters/input_adapters/dataframe_input.py +1 -1
- qwak/model/tools/adapters/output.py +1 -1
- qwak/model/tools/run_model_locally.py +15 -3
- qwak/model/utils/feature_utils.py +69 -0
- qwak/model_loggers/artifact_logger.py +46 -9
- qwak/model_loggers/data_logger.py +16 -2
- qwak/qwak_client/batch_jobs/execution.py +49 -0
- qwak/qwak_client/batch_jobs/task.py +43 -0
- qwak/qwak_client/build_api_helpers/__init__.py +0 -0
- qwak/qwak_client/build_api_helpers/build_api_steps.py +53 -0
- qwak/qwak_client/build_api_helpers/messages.py +6 -0
- qwak/qwak_client/build_api_helpers/trigger_build_api.py +65 -0
- qwak/qwak_client/client.py +276 -24
- qwak/qwak_client/data_versioning/__init__.py +0 -0
- qwak/qwak_client/data_versioning/data_tag.py +24 -0
- qwak/qwak_client/deployments/deployment.py +11 -9
- qwak/qwak_client/file_versioning/__init__.py +0 -0
- qwak/qwak_client/file_versioning/file_tag.py +24 -0
- qwak/qwak_client/projects/project.py +4 -2
- qwak/tools/logger/logger.py +1 -1
- qwak/utils/__init__.py +0 -0
- qwak/utils/datetime_utils.py +18 -0
- qwak/utils/dict_utils.py +12 -0
- qwak/vector_store/client.py +8 -0
- qwak/vector_store/collection.py +173 -73
- qwak/vector_store/inference_client.py +30 -2
- qwak/vector_store/rest_helpers.py +13 -21
- qwak/vector_store/utils/filter_utils.py +4 -17
- qwak/vector_store/utils/upsert_utils.py +217 -0
- {qwak_core-0.1.37.dist-info → qwak_core-0.5.19.dist-info}/METADATA +20 -15
- qwak_core-0.5.19.dist-info/RECORD +1100 -0
- {qwak_core-0.1.37.dist-info → qwak_core-0.5.19.dist-info}/WHEEL +1 -1
- qwak_services_mock/mocks/authentication_service.py +5 -4
- qwak_services_mock/mocks/batch_job_manager_service.py +53 -6
- qwak_services_mock/mocks/build_orchestrator_build_api.py +18 -1
- qwak_services_mock/mocks/build_orchestrator_build_settings_api.py +35 -0
- qwak_services_mock/mocks/build_orchestrator_service_api.py +4 -0
- qwak_services_mock/mocks/data_versioning_service.py +26 -2
- qwak_services_mock/mocks/deployment_management_service.py +46 -18
- qwak_services_mock/mocks/ecosystem_service_api.py +0 -1
- qwak_services_mock/mocks/execution_management_service.py +9 -1
- qwak_services_mock/mocks/feature_store_data_sources_manager_api.py +98 -2
- qwak_services_mock/mocks/feature_store_entities_manager_api.py +46 -3
- qwak_services_mock/mocks/feature_store_feature_set_manager_api.py +197 -21
- qwak_services_mock/mocks/features_online_serving_api.py +9 -0
- qwak_services_mock/mocks/features_operator_v3_service.py +20 -0
- qwak_services_mock/mocks/features_set_state_service_api.py +0 -1
- qwak_services_mock/mocks/file_versioning_service.py +29 -2
- qwak_services_mock/mocks/fs_offline_serving_service.py +53 -0
- qwak_services_mock/mocks/instance_template_management_service.py +35 -1
- qwak_services_mock/mocks/integration_management_service.py +72 -0
- qwak_services_mock/mocks/location_discovery_service_api.py +104 -0
- qwak_services_mock/mocks/model_management_service.py +11 -5
- qwak_services_mock/mocks/prompt_manager_service.py +244 -0
- qwak_services_mock/mocks/qwak_mocks.py +20 -2
- qwak_services_mock/mocks/system_secret_service.py +54 -0
- qwak_services_mock/mocks/vector_serving_api.py +44 -8
- qwak_services_mock/mocks/workspace_manager_service_mock.py +24 -8
- qwak_services_mock/services_mock.py +78 -12
- _qwak_proto/qwak/fitness_service/fitness_service_pb2.py +0 -110
- _qwak_proto/qwak/fitness_service/fitness_service_pb2.pyi +0 -121
- _qwak_proto/qwak/fitness_service/fitness_service_pb2_grpc.py +0 -169
- qwak/clients/build_management/__init__.py +0 -1
- qwak/clients/build_management/client.py +0 -114
- qwak/feature_store/_common/featureset_asterisk_handler.py +0 -115
- qwak/feature_store/data_sources/batch_sources/__init__.py +0 -6
- qwak/feature_store/data_sources/batch_sources/_batch.py +0 -86
- qwak/feature_store/feature_sets/transformations.py +0 -48
- qwak/feature_store/offline/_query_engine.py +0 -32
- qwak/feature_store/offline/athena/athena_query_engine.py +0 -153
- qwak/feature_store/offline/client.py +0 -699
- qwak/feature_store/validation_options.py +0 -69
- qwak_core-0.1.37.dist-info/RECORD +0 -682
- qwak_services_mock/mocks/build_management.py +0 -100
- {_qwak_proto → qwak/clients/integration_management}/__init__.py +0 -0
- /qwak/{feature_store/offline/athena → clients/integration_management/openai}/__init__.py +0 -0
|
@@ -74,6 +74,16 @@ class WorkspaceManagementServiceStub(object):
|
|
|
74
74
|
request_serializer=qwak_dot_workspace_dot_workspace__service__pb2.GetDefaultWorkspaceValuesRequest.SerializeToString,
|
|
75
75
|
response_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.GetDefaultWorkspaceValuesResponse.FromString,
|
|
76
76
|
)
|
|
77
|
+
self.MarkBuildAsCopied = channel.unary_unary(
|
|
78
|
+
'/qwak.workspace.management.WorkspaceManagementService/MarkBuildAsCopied',
|
|
79
|
+
request_serializer=qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedRequest.SerializeToString,
|
|
80
|
+
response_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedResponse.FromString,
|
|
81
|
+
)
|
|
82
|
+
self.CopyBuild = channel.unary_unary(
|
|
83
|
+
'/qwak.workspace.management.WorkspaceManagementService/CopyBuild',
|
|
84
|
+
request_serializer=qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildRequest.SerializeToString,
|
|
85
|
+
response_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildResponse.FromString,
|
|
86
|
+
)
|
|
77
87
|
|
|
78
88
|
|
|
79
89
|
class WorkspaceManagementServiceServicer(object):
|
|
@@ -163,6 +173,18 @@ class WorkspaceManagementServiceServicer(object):
|
|
|
163
173
|
context.set_details('Method not implemented!')
|
|
164
174
|
raise NotImplementedError('Method not implemented!')
|
|
165
175
|
|
|
176
|
+
def MarkBuildAsCopied(self, request, context):
|
|
177
|
+
"""Missing associated documentation comment in .proto file."""
|
|
178
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
179
|
+
context.set_details('Method not implemented!')
|
|
180
|
+
raise NotImplementedError('Method not implemented!')
|
|
181
|
+
|
|
182
|
+
def CopyBuild(self, request, context):
|
|
183
|
+
"""Missing associated documentation comment in .proto file."""
|
|
184
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
185
|
+
context.set_details('Method not implemented!')
|
|
186
|
+
raise NotImplementedError('Method not implemented!')
|
|
187
|
+
|
|
166
188
|
|
|
167
189
|
def add_WorkspaceManagementServiceServicer_to_server(servicer, server):
|
|
168
190
|
rpc_method_handlers = {
|
|
@@ -226,6 +248,16 @@ def add_WorkspaceManagementServiceServicer_to_server(servicer, server):
|
|
|
226
248
|
request_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.GetDefaultWorkspaceValuesRequest.FromString,
|
|
227
249
|
response_serializer=qwak_dot_workspace_dot_workspace__service__pb2.GetDefaultWorkspaceValuesResponse.SerializeToString,
|
|
228
250
|
),
|
|
251
|
+
'MarkBuildAsCopied': grpc.unary_unary_rpc_method_handler(
|
|
252
|
+
servicer.MarkBuildAsCopied,
|
|
253
|
+
request_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedRequest.FromString,
|
|
254
|
+
response_serializer=qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedResponse.SerializeToString,
|
|
255
|
+
),
|
|
256
|
+
'CopyBuild': grpc.unary_unary_rpc_method_handler(
|
|
257
|
+
servicer.CopyBuild,
|
|
258
|
+
request_deserializer=qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildRequest.FromString,
|
|
259
|
+
response_serializer=qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildResponse.SerializeToString,
|
|
260
|
+
),
|
|
229
261
|
}
|
|
230
262
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
231
263
|
'qwak.workspace.management.WorkspaceManagementService', rpc_method_handlers)
|
|
@@ -439,3 +471,37 @@ class WorkspaceManagementService(object):
|
|
|
439
471
|
qwak_dot_workspace_dot_workspace__service__pb2.GetDefaultWorkspaceValuesResponse.FromString,
|
|
440
472
|
options, channel_credentials,
|
|
441
473
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
474
|
+
|
|
475
|
+
@staticmethod
|
|
476
|
+
def MarkBuildAsCopied(request,
|
|
477
|
+
target,
|
|
478
|
+
options=(),
|
|
479
|
+
channel_credentials=None,
|
|
480
|
+
call_credentials=None,
|
|
481
|
+
insecure=False,
|
|
482
|
+
compression=None,
|
|
483
|
+
wait_for_ready=None,
|
|
484
|
+
timeout=None,
|
|
485
|
+
metadata=None):
|
|
486
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.workspace.management.WorkspaceManagementService/MarkBuildAsCopied',
|
|
487
|
+
qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedRequest.SerializeToString,
|
|
488
|
+
qwak_dot_workspace_dot_workspace__service__pb2.MarkBuildAsCopiedResponse.FromString,
|
|
489
|
+
options, channel_credentials,
|
|
490
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
491
|
+
|
|
492
|
+
@staticmethod
|
|
493
|
+
def CopyBuild(request,
|
|
494
|
+
target,
|
|
495
|
+
options=(),
|
|
496
|
+
channel_credentials=None,
|
|
497
|
+
call_credentials=None,
|
|
498
|
+
insecure=False,
|
|
499
|
+
compression=None,
|
|
500
|
+
wait_for_ready=None,
|
|
501
|
+
timeout=None,
|
|
502
|
+
metadata=None):
|
|
503
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.workspace.management.WorkspaceManagementService/CopyBuild',
|
|
504
|
+
qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildRequest.SerializeToString,
|
|
505
|
+
qwak_dot_workspace_dot_workspace__service__pb2.CopyBuildResponse.FromString,
|
|
506
|
+
options, channel_credentials,
|
|
507
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
qwak/__init__.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"""Top-level package for qwak-core."""
|
|
2
2
|
|
|
3
3
|
__author__ = "Qwak.ai"
|
|
4
|
-
__version__ = "0.
|
|
4
|
+
__version__ = "0.5.19"
|
|
5
5
|
|
|
6
|
+
from qwak.inner.di_configuration import wire_dependencies
|
|
6
7
|
from qwak.model.experiment_tracking import log_metric, log_param
|
|
7
8
|
from qwak.model_loggers.artifact_logger import load_file, log_file
|
|
8
9
|
from qwak.model_loggers.data_logger import load_data, log_data
|
|
@@ -12,6 +13,4 @@ from .model.decorators.api import api_decorator as api
|
|
|
12
13
|
from .model.decorators.timer import qwak_timer
|
|
13
14
|
from .qwak_client.client import QwakClient
|
|
14
15
|
|
|
15
|
-
from qwak.inner.di_configuration import wire_dependencies
|
|
16
|
-
|
|
17
16
|
_container = wire_dependencies()
|
|
@@ -61,16 +61,20 @@ class ExecutionRunDetails:
|
|
|
61
61
|
@staticmethod
|
|
62
62
|
def from_proto(message: ExecutionRunDetailsMessage):
|
|
63
63
|
return ExecutionRunDetails(
|
|
64
|
-
start_time=
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
start_time=(
|
|
65
|
+
datetime.fromtimestamp(
|
|
66
|
+
message.start_time.seconds + message.start_time.nanos / 1e9
|
|
67
|
+
)
|
|
68
|
+
if message.start_time
|
|
69
|
+
else None
|
|
70
|
+
),
|
|
71
|
+
end_time=(
|
|
72
|
+
datetime.fromtimestamp(
|
|
73
|
+
message.end_time.seconds + message.end_time.nanos / 1e9
|
|
74
|
+
)
|
|
75
|
+
if message.end_time
|
|
76
|
+
else None
|
|
77
|
+
),
|
|
74
78
|
status=proto_status_to_execution_status_map.get(message.status),
|
|
75
79
|
task=message.task,
|
|
76
80
|
error_details=message.error_details,
|
qwak/automations/automations.py
CHANGED
|
@@ -111,9 +111,11 @@ class MetricBasedTrigger(Trigger):
|
|
|
111
111
|
)
|
|
112
112
|
return MetricBasedTrigger(
|
|
113
113
|
name=message.metric_based_trigger.name,
|
|
114
|
-
metric=
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
metric=(
|
|
115
|
+
metric.from_proto(message.metric_based_trigger.metric)
|
|
116
|
+
if metric
|
|
117
|
+
else None
|
|
118
|
+
),
|
|
117
119
|
threshold=message.metric_based_trigger.threshold,
|
|
118
120
|
direction=map_proto_threshold_to_direction(
|
|
119
121
|
message.metric_based_trigger.threshold_direction
|
|
@@ -278,6 +280,8 @@ class Automation:
|
|
|
278
280
|
create_audit: AutomationAudit = field(default_factory=AutomationAudit)
|
|
279
281
|
on_error: Notification = field(default=None)
|
|
280
282
|
on_success: Notification = field(default=None)
|
|
283
|
+
jfrog_token_id: str = field(default="")
|
|
284
|
+
platform_url: str = field(default="")
|
|
281
285
|
|
|
282
286
|
def to_proto(self):
|
|
283
287
|
return AutomationProto(
|
|
@@ -290,16 +294,18 @@ class Automation:
|
|
|
290
294
|
model_id=self.model_id,
|
|
291
295
|
action=self.action.to_proto(),
|
|
292
296
|
trigger=self.trigger.to_proto() if self.trigger is not None else None,
|
|
293
|
-
on_error=
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
on_success=
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
on_error=(
|
|
298
|
+
self.on_error.to_proto() if self.on_error is not None else None
|
|
299
|
+
),
|
|
300
|
+
on_success=(
|
|
301
|
+
self.on_success.to_proto() if self.on_success is not None else None
|
|
302
|
+
),
|
|
299
303
|
),
|
|
300
304
|
qwak_environment_id=self.environment,
|
|
301
305
|
create_audit=self.create_audit.to_proto(),
|
|
302
306
|
is_deleted=self.is_deleted,
|
|
307
|
+
jfrog_token_id=self.jfrog_token_id,
|
|
308
|
+
platform_url=self.platform_url,
|
|
303
309
|
)
|
|
304
310
|
|
|
305
311
|
@staticmethod
|
|
@@ -326,22 +332,26 @@ class Automation:
|
|
|
326
332
|
is_enabled=message.automation_spec.is_enabled,
|
|
327
333
|
is_sdk_v1=message.automation_spec.is_sdk_v1,
|
|
328
334
|
is_deleted=message.is_deleted,
|
|
329
|
-
action=
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
trigger=
|
|
333
|
-
|
|
334
|
-
|
|
335
|
+
action=(
|
|
336
|
+
action.from_proto(message.automation_spec.action) if action else None
|
|
337
|
+
),
|
|
338
|
+
trigger=(
|
|
339
|
+
trigger.from_proto(message.automation_spec.trigger) if trigger else None
|
|
340
|
+
),
|
|
335
341
|
environment=message.qwak_environment_id,
|
|
336
342
|
create_audit=AutomationAudit.from_proto(message.create_audit),
|
|
337
|
-
on_error=
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
on_error=(
|
|
344
|
+
on_error_notification.from_proto(message.automation_spec.on_error)
|
|
345
|
+
if on_error_notification
|
|
346
|
+
else None
|
|
347
|
+
),
|
|
348
|
+
on_success=(
|
|
349
|
+
on_success_notification.from_proto(message.automation_spec.on_success)
|
|
350
|
+
if on_success_notification
|
|
351
|
+
else None
|
|
352
|
+
),
|
|
353
|
+
jfrog_token_id=message.jfrog_token_id,
|
|
354
|
+
platform_url=message.platform_url,
|
|
345
355
|
)
|
|
346
356
|
|
|
347
357
|
def __str__(self):
|
|
@@ -10,12 +10,14 @@ from _qwak_proto.qwak.automation.v1.action_pb2 import (
|
|
|
10
10
|
BuildMetricCondition,
|
|
11
11
|
BuildSpec,
|
|
12
12
|
CpuResources as CpuResourcesProto,
|
|
13
|
+
DeployedBuildMetricCondition as DeployedBuildMetricConditionProto,
|
|
13
14
|
DeploymentCondition as DeploymentConditionProto,
|
|
14
15
|
DeploymentSize,
|
|
15
16
|
DeploymentSpec,
|
|
16
17
|
GitModelSource,
|
|
17
18
|
GpuResources as GpuResourceProto,
|
|
18
19
|
GpuType,
|
|
20
|
+
PurchaseOption as PurchaseOptionProto,
|
|
19
21
|
Resources as ResourceProto,
|
|
20
22
|
)
|
|
21
23
|
from _qwak_proto.qwak.automation.v1.auto_scaling_pb2 import (
|
|
@@ -30,6 +32,9 @@ from _qwak_proto.qwak.automation.v1.auto_scaling_pb2 import (
|
|
|
30
32
|
METRIC_TYPE_CPU,
|
|
31
33
|
METRIC_TYPE_LATENCY,
|
|
32
34
|
METRIC_TYPE_MEMORY,
|
|
35
|
+
METRIC_TYPE_ERROR_RATE,
|
|
36
|
+
METRIC_TYPE_THROUGHPUT,
|
|
37
|
+
METRIC_TYPE_GPU,
|
|
33
38
|
AutoScalingConfig as AutoScalingConfigProto,
|
|
34
39
|
AutoScalingPrometheusTrigger as AutoScalingPrometheusTriggerProto,
|
|
35
40
|
QuerySpec,
|
|
@@ -43,6 +48,7 @@ from _qwak_proto.qwak.user_application.common.v0.resources_pb2 import (
|
|
|
43
48
|
GpuType as CommonGpuTypeProto,
|
|
44
49
|
PodComputeResourceTemplateSpec,
|
|
45
50
|
)
|
|
51
|
+
from google.protobuf.wrappers_pb2 import BoolValue
|
|
46
52
|
from qwak.automations.common import (
|
|
47
53
|
Action,
|
|
48
54
|
ThresholdDirection,
|
|
@@ -84,6 +90,35 @@ class AutoScaleTrigger(ABC):
|
|
|
84
90
|
pass
|
|
85
91
|
|
|
86
92
|
|
|
93
|
+
@dataclass
|
|
94
|
+
class DeployedBuildMetric(DeploymentCondition):
|
|
95
|
+
metric_name: str = field(default="")
|
|
96
|
+
direction: ThresholdDirection = field(default=ThresholdDirection.ABOVE)
|
|
97
|
+
variation: str = field(default="default")
|
|
98
|
+
|
|
99
|
+
def to_proto(self):
|
|
100
|
+
return DeploymentConditionProto(
|
|
101
|
+
deployed_build_metric=DeployedBuildMetricConditionProto(
|
|
102
|
+
metric_name=self.metric_name,
|
|
103
|
+
threshold_direction=map_threshold_direction_to_proto(self.direction),
|
|
104
|
+
variation=self.variation,
|
|
105
|
+
)
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
@staticmethod
|
|
109
|
+
def from_proto(message: DeploymentConditionProto):
|
|
110
|
+
return DeployedBuildMetric(
|
|
111
|
+
metric_name=message.deployed_build_metric.metric_name,
|
|
112
|
+
direction=map_proto_threshold_to_direction(
|
|
113
|
+
message.deployed_build_metric.threshold_direction
|
|
114
|
+
),
|
|
115
|
+
variation=message.deployed_build_metric.variation,
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
def __str__(self):
|
|
119
|
+
return f"Metric Name: \tDirection: {self.direction.name}"
|
|
120
|
+
|
|
121
|
+
|
|
87
122
|
@dataclass
|
|
88
123
|
class BuildMetric(DeploymentCondition):
|
|
89
124
|
metric_name: str = field(default="")
|
|
@@ -275,6 +310,12 @@ class BuildSpecifications:
|
|
|
275
310
|
resources: Resources = field(default_factory=CpuResources)
|
|
276
311
|
dependency_file_path: str = field(default=None)
|
|
277
312
|
env_vars: List[str] = field(default_factory=list)
|
|
313
|
+
git_ssh_token_secret: str = field(default=None)
|
|
314
|
+
gpu_compatible: bool = field(default=False)
|
|
315
|
+
push_image: bool = field(default=True)
|
|
316
|
+
purchase_option: str = field(default="spot")
|
|
317
|
+
provision_instance_timeout: int = field(default=120)
|
|
318
|
+
service_account_key_secret_name: str = field(default="")
|
|
278
319
|
|
|
279
320
|
def to_proto(self):
|
|
280
321
|
return BuildSpec(
|
|
@@ -283,6 +324,7 @@ class BuildSpecifications:
|
|
|
283
324
|
git_uri=self.git_uri,
|
|
284
325
|
git_credentials_secret_name=self.git_access_token_secret,
|
|
285
326
|
git_branch=self.git_branch,
|
|
327
|
+
git_ssh_secret_name=self.git_ssh_token_secret,
|
|
286
328
|
),
|
|
287
329
|
main_dir=self.main_dir,
|
|
288
330
|
tags=self.tags,
|
|
@@ -291,13 +333,33 @@ class BuildSpecifications:
|
|
|
291
333
|
assumed_iam_role=self.assumed_iam_role,
|
|
292
334
|
dependency_file_path=self.dependency_file_path,
|
|
293
335
|
env_vars=self.env_vars,
|
|
294
|
-
|
|
336
|
+
gpu_compatible=self.gpu_compatible,
|
|
337
|
+
push_image=BoolValue(value=self.push_image),
|
|
338
|
+
purchase_option=self.__purchase_option_to_proto(),
|
|
339
|
+
provision_instance_timeout=self.provision_instance_timeout,
|
|
340
|
+
service_account_key_secret_name=self.service_account_key_secret_name,
|
|
341
|
+
)
|
|
342
|
+
|
|
343
|
+
def __purchase_option_to_proto(self):
|
|
344
|
+
purchase_option = self.purchase_option.lower()
|
|
345
|
+
if purchase_option == "spot":
|
|
346
|
+
return PurchaseOptionProto.SPOT
|
|
347
|
+
elif purchase_option == "ondemand":
|
|
348
|
+
return PurchaseOptionProto.ON_DEMAND
|
|
349
|
+
else:
|
|
350
|
+
raise ValueError(
|
|
351
|
+
f"Invalid purchase option {self.purchase_option}. Purchase options can be either spot or ondemand"
|
|
352
|
+
)
|
|
295
353
|
|
|
296
354
|
@staticmethod
|
|
297
355
|
def from_proto(build_spec: BuildSpec):
|
|
298
356
|
resources = map_resources_name_to_class(
|
|
299
357
|
build_spec.resource.WhichOneof("resource")
|
|
300
358
|
)
|
|
359
|
+
push_image = True
|
|
360
|
+
if build_spec.HasField("push_image"):
|
|
361
|
+
push_image = build_spec.push_image.value
|
|
362
|
+
|
|
301
363
|
return BuildSpecifications(
|
|
302
364
|
parameters=build_spec.parameters,
|
|
303
365
|
git_uri=build_spec.git_model_source.git_uri,
|
|
@@ -310,8 +372,27 @@ class BuildSpecifications:
|
|
|
310
372
|
dependency_file_path=build_spec.dependency_file_path,
|
|
311
373
|
assumed_iam_role=build_spec.assumed_iam_role,
|
|
312
374
|
env_vars=build_spec.env_vars,
|
|
375
|
+
git_ssh_token_secret=build_spec.git_model_source.git_ssh_secret_name,
|
|
376
|
+
gpu_compatible=build_spec.gpu_compatible,
|
|
377
|
+
push_image=push_image,
|
|
378
|
+
purchase_option=BuildSpecifications.__purchase_option_from_proto(
|
|
379
|
+
build_spec.purchase_option
|
|
380
|
+
),
|
|
381
|
+
service_account_key_secret_name=build_spec.service_account_key_secret_name,
|
|
382
|
+
provision_instance_timeout=build_spec.provision_instance_timeout,
|
|
313
383
|
)
|
|
314
384
|
|
|
385
|
+
@staticmethod
|
|
386
|
+
def __purchase_option_from_proto(purchase_option: PurchaseOptionProto):
|
|
387
|
+
if purchase_option == PurchaseOptionProto.SPOT:
|
|
388
|
+
return "spot"
|
|
389
|
+
elif purchase_option == PurchaseOptionProto.ON_DEMAND:
|
|
390
|
+
return "ondemand"
|
|
391
|
+
else:
|
|
392
|
+
raise ValueError(
|
|
393
|
+
f"Invalid purchase option {purchase_option}. Purchase options can be either spot or ondemand"
|
|
394
|
+
)
|
|
395
|
+
|
|
315
396
|
def __str__(self):
|
|
316
397
|
result = f"Git Uri:\t{self.git_uri}\n"
|
|
317
398
|
result += f"Git Branch:\t{self.git_branch}\n"
|
|
@@ -320,12 +401,25 @@ class BuildSpecifications:
|
|
|
320
401
|
if self.git_access_token_secret
|
|
321
402
|
else ""
|
|
322
403
|
)
|
|
404
|
+
result += (
|
|
405
|
+
f"Git Ssh Secret:\t{self.git_ssh_token_secret}\n"
|
|
406
|
+
if self.git_ssh_token_secret
|
|
407
|
+
else ""
|
|
408
|
+
)
|
|
323
409
|
result += f"Main Dir:\t{self.main_dir}\n" if self.main_dir != "main" else ""
|
|
410
|
+
result += f"Gpu Compatible:\t{self.gpu_compatible}\n"
|
|
411
|
+
result += f"Purchase Option:\t{self.purchase_option}\n"
|
|
412
|
+
result += f"Provision Instance Timeout:\t{self.provision_instance_timeout}\n"
|
|
324
413
|
result += f"Parameters:\t{self.parameters}\n" if self.parameters else ""
|
|
325
414
|
result += f"Tags:\t{self.tags}\n" if self.tags else ""
|
|
326
415
|
result += (
|
|
327
416
|
f"IAM Role:\t{self.assumed_iam_role}\n" if self.assumed_iam_role else ""
|
|
328
417
|
)
|
|
418
|
+
result += (
|
|
419
|
+
f"Service Account Key Secret Name:\t{self.service_account_key_secret_name}\n"
|
|
420
|
+
if self.service_account_key_secret_name
|
|
421
|
+
else ""
|
|
422
|
+
)
|
|
329
423
|
result += f"Base Image:\t{self.base_image}\n" if self.base_image else ""
|
|
330
424
|
result += f"Resources:\n{self.resources}\n" if self.resources else ""
|
|
331
425
|
result += f"Environment Variables:\n{self.env_vars}\n" if self.env_vars else ""
|
|
@@ -336,6 +430,9 @@ class MetricType(Enum):
|
|
|
336
430
|
cpu = METRIC_TYPE_CPU
|
|
337
431
|
latency = METRIC_TYPE_LATENCY
|
|
338
432
|
memory = METRIC_TYPE_MEMORY
|
|
433
|
+
error_rate = METRIC_TYPE_ERROR_RATE
|
|
434
|
+
throughput = METRIC_TYPE_THROUGHPUT
|
|
435
|
+
gpu = METRIC_TYPE_GPU
|
|
339
436
|
|
|
340
437
|
|
|
341
438
|
class AggregationType(Enum):
|
|
@@ -409,6 +506,7 @@ class DeploymentSpecifications:
|
|
|
409
506
|
env_vars: List[str] = field(default_factory=list)
|
|
410
507
|
deployment_timeout: int = field(default=0)
|
|
411
508
|
instance: str = field(default="")
|
|
509
|
+
service_account_key_secret_name: str = field(default="")
|
|
412
510
|
|
|
413
511
|
def to_proto(self):
|
|
414
512
|
deployment_size = self.__get_deployment_size_proto()
|
|
@@ -423,6 +521,7 @@ class DeploymentSpecifications:
|
|
|
423
521
|
custom_iam_role_arn=self.custom_iam_role_arn,
|
|
424
522
|
auto_scaling_config=self.auto_scale_config.to_proto(),
|
|
425
523
|
deployment_process_timeout_limit=self.deployment_timeout,
|
|
524
|
+
service_account_key_secret_name=self.service_account_key_secret_name,
|
|
426
525
|
),
|
|
427
526
|
environments=self.environments,
|
|
428
527
|
env_vars=self.env_vars,
|
|
@@ -464,6 +563,11 @@ class DeploymentSpecifications:
|
|
|
464
563
|
if self.custom_iam_role_arn
|
|
465
564
|
else ""
|
|
466
565
|
)
|
|
566
|
+
result += (
|
|
567
|
+
f"Custom Service Account Key Secret Name: {self.service_account_key_secret_name}\n"
|
|
568
|
+
if self.service_account_key_secret_name
|
|
569
|
+
else ""
|
|
570
|
+
)
|
|
467
571
|
result += f"Auto scaling config: {self.auto_scale_config}"
|
|
468
572
|
return result
|
|
469
573
|
|
|
@@ -507,9 +611,9 @@ class DeploymentSpecifications:
|
|
|
507
611
|
cpu=self.cpu_fraction,
|
|
508
612
|
memory_units=map_memory_units(memory=self.memory),
|
|
509
613
|
memory_amount=get_memory_amount(self.memory),
|
|
510
|
-
gpu_resources=
|
|
511
|
-
|
|
512
|
-
|
|
614
|
+
gpu_resources=(
|
|
615
|
+
self.gpu_resources.to_gpu_proto() if self.gpu_resources else None
|
|
616
|
+
),
|
|
513
617
|
)
|
|
514
618
|
|
|
515
619
|
@staticmethod
|
|
@@ -529,24 +633,29 @@ class DeploymentSpecifications:
|
|
|
529
633
|
+ map_common_memory_units_proto(
|
|
530
634
|
message.deployment_size.client_pod_compute_resources.cpu_resources.memory_units
|
|
531
635
|
),
|
|
532
|
-
gpu_resources=
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
636
|
+
gpu_resources=(
|
|
637
|
+
GpuResources.from_common_gpu_proto(
|
|
638
|
+
message.deployment_size.client_pod_compute_resources.gpu_resources
|
|
639
|
+
)
|
|
640
|
+
if (
|
|
641
|
+
message.deployment_size.client_pod_compute_resources.gpu_resources
|
|
642
|
+
and message.deployment_size.client_pod_compute_resources.gpu_resources.gpu_amount
|
|
643
|
+
> 0
|
|
644
|
+
)
|
|
645
|
+
else None
|
|
646
|
+
),
|
|
647
|
+
instance=(
|
|
648
|
+
message.deployment_size.client_pod_compute_resources.template_spec.template_id
|
|
649
|
+
if message.deployment_size.client_pod_compute_resources.template_spec.template_id
|
|
650
|
+
else ""
|
|
651
|
+
),
|
|
544
652
|
auto_scale_config=AutoScalingConfig.from_proto(
|
|
545
653
|
message.advanced_options.auto_scaling_config
|
|
546
654
|
),
|
|
547
655
|
environments=message.environments,
|
|
548
656
|
env_vars=message.env_vars,
|
|
549
657
|
deployment_timeout=message.advanced_options.deployment_process_timeout_limit,
|
|
658
|
+
service_account_key_secret_name=message.advanced_options.service_account_key_secret_name,
|
|
550
659
|
)
|
|
551
660
|
|
|
552
661
|
@staticmethod
|
|
@@ -562,17 +671,18 @@ class DeploymentSpecifications:
|
|
|
562
671
|
cpu_fraction=message.deployment_size.cpu,
|
|
563
672
|
memory=str(message.deployment_size.memory_amount)
|
|
564
673
|
+ map_memory_units_proto(message.deployment_size.memory_units),
|
|
565
|
-
gpu_resources=
|
|
566
|
-
message.deployment_size.gpu_resources
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
674
|
+
gpu_resources=(
|
|
675
|
+
GpuResources.from_gpu_proto(message.deployment_size.gpu_resources)
|
|
676
|
+
if message.deployment_size.gpu_resources
|
|
677
|
+
else None
|
|
678
|
+
),
|
|
570
679
|
auto_scale_config=AutoScalingConfig.from_proto(
|
|
571
680
|
message.advanced_options.auto_scaling_config
|
|
572
681
|
),
|
|
573
682
|
environments=message.environments,
|
|
574
683
|
env_vars=message.env_vars,
|
|
575
684
|
deployment_timeout=message.advanced_options.deployment_process_timeout_limit,
|
|
685
|
+
service_account_key_secret_name=message.advanced_options.service_account_key_secret_name,
|
|
576
686
|
)
|
|
577
687
|
|
|
578
688
|
|
|
@@ -601,11 +711,13 @@ class QwakBuildDeploy(Action):
|
|
|
601
711
|
deployment_spec=DeploymentSpecifications.from_proto(
|
|
602
712
|
message.build_deploy.deployment_spec
|
|
603
713
|
),
|
|
604
|
-
deployment_condition=
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
714
|
+
deployment_condition=(
|
|
715
|
+
deployment_condition.from_proto(
|
|
716
|
+
message.build_deploy.deployment_condition
|
|
717
|
+
)
|
|
718
|
+
if deployment_condition
|
|
719
|
+
else None
|
|
720
|
+
),
|
|
609
721
|
)
|
|
610
722
|
|
|
611
723
|
def __str__(self):
|
|
@@ -619,10 +731,11 @@ class AutoScaleQuerySpec:
|
|
|
619
731
|
time_period: int = field(default=None)
|
|
620
732
|
|
|
621
733
|
def to_proto(self):
|
|
734
|
+
aggregation_type_lower: str = self.aggregation_type.lower()
|
|
622
735
|
return QuerySpec(
|
|
623
736
|
time_period=self.time_period,
|
|
624
737
|
metric_type=MetricType[self.metric_type.lower()].value,
|
|
625
|
-
aggregation_type=AggregationType[
|
|
738
|
+
aggregation_type=AggregationType[aggregation_type_lower].value,
|
|
626
739
|
)
|
|
627
740
|
|
|
628
741
|
@staticmethod
|
|
@@ -674,7 +787,10 @@ def map_resources_name_to_class(resource_name: str):
|
|
|
674
787
|
|
|
675
788
|
|
|
676
789
|
def map_deployment_condition_name_to_class(deployment_condition_name: str):
|
|
677
|
-
mapping = {
|
|
790
|
+
mapping = {
|
|
791
|
+
"build_metric": BuildMetric,
|
|
792
|
+
"deployed_build_metric": DeployedBuildMetric,
|
|
793
|
+
}
|
|
678
794
|
return mapping.get(deployment_condition_name)
|
|
679
795
|
|
|
680
796
|
|
|
@@ -683,6 +799,9 @@ def map_auto_scaling_metric_type_proto_to_name(metric_type):
|
|
|
683
799
|
METRIC_TYPE_CPU: "cpu",
|
|
684
800
|
METRIC_TYPE_LATENCY: "latency",
|
|
685
801
|
METRIC_TYPE_MEMORY: "memory",
|
|
802
|
+
METRIC_TYPE_ERROR_RATE: "error_rate",
|
|
803
|
+
METRIC_TYPE_THROUGHPUT: "throughput",
|
|
804
|
+
METRIC_TYPE_GPU: "gpu",
|
|
686
805
|
}
|
|
687
806
|
return mapping.get(metric_type)
|
|
688
807
|
|
qwak/automations/common.py
CHANGED
|
@@ -75,11 +75,17 @@ def get_memory_amount(memory: str):
|
|
|
75
75
|
class ThresholdDirection(Enum):
|
|
76
76
|
ABOVE = 1
|
|
77
77
|
BELOW = 2
|
|
78
|
+
EQUALS = 3
|
|
79
|
+
BELOW_OR_EQUALS = 4
|
|
80
|
+
ABOVE_OR_EQUALS = 5
|
|
78
81
|
|
|
79
82
|
|
|
80
83
|
threshold_to_proto_mapping = {
|
|
81
84
|
ThresholdDirection.ABOVE: MetricThresholdDirection.ABOVE,
|
|
82
85
|
ThresholdDirection.BELOW: MetricThresholdDirection.BELOW,
|
|
86
|
+
ThresholdDirection.EQUALS: MetricThresholdDirection.EQUALS,
|
|
87
|
+
ThresholdDirection.BELOW_OR_EQUALS: MetricThresholdDirection.BELOW_OR_EQUALS,
|
|
88
|
+
ThresholdDirection.ABOVE_OR_EQUALS: MetricThresholdDirection.ABOVE_OR_EQUALS,
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
proto_threshold_to_threshold = {v: k for k, v in threshold_to_proto_mapping.items()}
|
|
@@ -5,10 +5,10 @@ from _qwak_proto.qwak.ecosystem.v0.ecosystem_pb2 import (
|
|
|
5
5
|
EnvironmentDetails,
|
|
6
6
|
UserContextAccountDetails,
|
|
7
7
|
UserContextEnvironmentDetails,
|
|
8
|
+
AuthenticatedUserContext,
|
|
8
9
|
)
|
|
9
10
|
from _qwak_proto.qwak.ecosystem.v0.ecosystem_runtime_service_pb2 import (
|
|
10
11
|
GetAuthenticatedUserContextRequest,
|
|
11
|
-
GetAuthenticatedUserContextResponse,
|
|
12
12
|
GetCloudCredentialsRequest,
|
|
13
13
|
GetCloudCredentialsResponse,
|
|
14
14
|
)
|
|
@@ -42,7 +42,7 @@ class EcosystemClient:
|
|
|
42
42
|
f"Failed to get cloud credentials, error is {e.details()}"
|
|
43
43
|
)
|
|
44
44
|
|
|
45
|
-
def get_authenticated_user_context(self) ->
|
|
45
|
+
def get_authenticated_user_context(self) -> AuthenticatedUserContext:
|
|
46
46
|
try:
|
|
47
47
|
return self._ecosystem_service.GetAuthenticatedUserContext(
|
|
48
48
|
GetAuthenticatedUserContextRequest()
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from qwak.clients.administration.eco_system.client import EcosystemClient
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class EcosystemUtils:
|
|
5
|
+
def __init__(self):
|
|
6
|
+
self._client = EcosystemClient()
|
|
7
|
+
|
|
8
|
+
def get_user_context(self):
|
|
9
|
+
return self._client.get_authenticated_user_context().user
|
|
10
|
+
|
|
11
|
+
def get_default_environment_id(self) -> str:
|
|
12
|
+
return self.get_user_context().account_details.default_environment_id
|
|
13
|
+
|
|
14
|
+
def get_current_environment_name(self) -> str:
|
|
15
|
+
return self.get_user_context().environment_details.name.lower()
|
|
@@ -7,6 +7,8 @@ from _qwak_proto.qwak.administration.v0.environments.environment_service_pb2 imp
|
|
|
7
7
|
GetEnvironmentApplicationUserCredentialsResponse,
|
|
8
8
|
ListEnvironmentsRequest,
|
|
9
9
|
ListEnvironmentsResponse,
|
|
10
|
+
GetEnvironmentResponse,
|
|
11
|
+
GetEnvironmentRequest,
|
|
10
12
|
)
|
|
11
13
|
from _qwak_proto.qwak.administration.v0.environments.environment_service_pb2_grpc import (
|
|
12
14
|
EnvironmentServiceStub,
|
|
@@ -74,3 +76,17 @@ class EnvironmentClient:
|
|
|
74
76
|
raise QwakException(
|
|
75
77
|
f"Failed to get application user, error is {e.details()}"
|
|
76
78
|
)
|
|
79
|
+
|
|
80
|
+
def get_environment(self, environment_id: str) -> GetEnvironmentResponse:
|
|
81
|
+
"""
|
|
82
|
+
Get Environment by id
|
|
83
|
+
:param environment_id:
|
|
84
|
+
Return: GetEnvironmentResponse
|
|
85
|
+
"""
|
|
86
|
+
request = GetEnvironmentRequest(environment_id=environment_id)
|
|
87
|
+
try:
|
|
88
|
+
return self._environment_service.GetEnvironment(request)
|
|
89
|
+
except grpc.RpcError as e:
|
|
90
|
+
raise QwakException(
|
|
91
|
+
f"Failed to get environment {environment_id}, error is {e}"
|
|
92
|
+
)
|