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
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import ast
|
|
2
|
+
from abc import ABC
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from io import StringIO
|
|
5
|
+
from typing import TYPE_CHECKING, List
|
|
6
|
+
|
|
7
|
+
from _qwak_proto.qwak.feature_store.features.feature_set_pb2 import (
|
|
8
|
+
Feature as ProtoFeature,
|
|
9
|
+
)
|
|
10
|
+
from _qwak_proto.qwak.features_operator.v3.features_operator_async_service_pb2 import (
|
|
11
|
+
GetValidationResultResponse as ProtoGetValidationResultResponse,
|
|
12
|
+
)
|
|
13
|
+
from _qwak_proto.qwak.features_operator.v3.features_operator_pb2 import (
|
|
14
|
+
SparkColumnDescription as ProtoSparkColumnDescription,
|
|
15
|
+
ValidationFailureResponse as ProtoValidationFailureResponse,
|
|
16
|
+
ValidationSuccessResponse as ProtoValidationSuccessResponse,
|
|
17
|
+
)
|
|
18
|
+
from qwak.exceptions import QwakException
|
|
19
|
+
|
|
20
|
+
if TYPE_CHECKING:
|
|
21
|
+
try:
|
|
22
|
+
import pandas as pd
|
|
23
|
+
except ImportError:
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
_VALIDATION_RESPONSE_TYPE_SUCCESS = "success_response"
|
|
27
|
+
_VALIDATION_RESPONSE_TYPE_FAILURE = "failure_response"
|
|
28
|
+
_VALIDATION_RESPONSE_TYPE_TIMEOUT = "not_ready_response"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class ValidationResponse(ABC):
|
|
32
|
+
pass
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@dataclass
|
|
36
|
+
class TimeoutValidationResponse(ValidationResponse):
|
|
37
|
+
pass
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@dataclass
|
|
41
|
+
class FailureValidationResponse(ValidationResponse):
|
|
42
|
+
phase: str
|
|
43
|
+
message: str
|
|
44
|
+
stdout: str
|
|
45
|
+
stderr: str
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@dataclass
|
|
49
|
+
class SuccessValidationResponse(ValidationResponse):
|
|
50
|
+
sample: "pd.DataFrame"
|
|
51
|
+
features: List[ProtoFeature]
|
|
52
|
+
stdout: str
|
|
53
|
+
stderr: str
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class ValidationResponseFactory:
|
|
57
|
+
@staticmethod
|
|
58
|
+
def _get_features(
|
|
59
|
+
spark_columns_description: List[ProtoSparkColumnDescription],
|
|
60
|
+
) -> List[ProtoFeature]:
|
|
61
|
+
spark_features = []
|
|
62
|
+
for spark_column in spark_columns_description:
|
|
63
|
+
feature_col_name_list = str(spark_column.column_name).split(".")
|
|
64
|
+
feature_name = (
|
|
65
|
+
feature_col_name_list[1]
|
|
66
|
+
if feature_col_name_list.__len__() == 2
|
|
67
|
+
else spark_column.column_name
|
|
68
|
+
)
|
|
69
|
+
spark_features.append(
|
|
70
|
+
ProtoFeature(
|
|
71
|
+
feature_name=feature_name,
|
|
72
|
+
feature_type=spark_column.spark_type,
|
|
73
|
+
)
|
|
74
|
+
)
|
|
75
|
+
return spark_features
|
|
76
|
+
|
|
77
|
+
@staticmethod
|
|
78
|
+
def from_proto(
|
|
79
|
+
validation_response: ProtoGetValidationResultResponse,
|
|
80
|
+
) -> ValidationResponse:
|
|
81
|
+
try:
|
|
82
|
+
import pandas as pd
|
|
83
|
+
except ImportError:
|
|
84
|
+
raise QwakException("Missing required Pandas dependency")
|
|
85
|
+
|
|
86
|
+
validation_type: str = validation_response.WhichOneof("type")
|
|
87
|
+
if validation_type == _VALIDATION_RESPONSE_TYPE_SUCCESS:
|
|
88
|
+
success: ProtoValidationSuccessResponse = (
|
|
89
|
+
validation_response.success_response
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
pd_sample: pd.DataFrame = pd.read_json(
|
|
93
|
+
path_or_buf=StringIO(ast.literal_eval(success.sample)),
|
|
94
|
+
dtype=success.spark_column_description,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
features = ValidationResponseFactory._get_features(
|
|
98
|
+
success.spark_column_description
|
|
99
|
+
)
|
|
100
|
+
return SuccessValidationResponse(
|
|
101
|
+
sample=pd_sample,
|
|
102
|
+
features=features,
|
|
103
|
+
stdout=success.outputs.stdout,
|
|
104
|
+
stderr=success.outputs.stderr,
|
|
105
|
+
)
|
|
106
|
+
elif validation_type == _VALIDATION_RESPONSE_TYPE_FAILURE:
|
|
107
|
+
failure: ProtoValidationFailureResponse = (
|
|
108
|
+
validation_response.failure_response
|
|
109
|
+
)
|
|
110
|
+
return FailureValidationResponse(
|
|
111
|
+
phase=failure.phase,
|
|
112
|
+
message=failure.error_message,
|
|
113
|
+
stdout=failure.outputs.stdout,
|
|
114
|
+
stderr=failure.outputs.stderr,
|
|
115
|
+
)
|
|
116
|
+
elif validation_type == _VALIDATION_RESPONSE_TYPE_TIMEOUT:
|
|
117
|
+
return TimeoutValidationResponse()
|
|
118
|
+
|
|
119
|
+
raise QwakException(f"Got unsupported response type: {validation_type}")
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
from abc import ABC, abstractmethod
|
|
2
|
+
from typing import Optional, Tuple
|
|
3
|
+
|
|
4
|
+
from _qwak_proto.qwak.features_operator.v3.features_operator_async_service_pb2 import (
|
|
5
|
+
GetValidationResultResponse as ProtoGetValidationResultResponse,
|
|
6
|
+
)
|
|
7
|
+
from qwak.clients.feature_store import FeatureRegistryClient
|
|
8
|
+
from qwak.clients.feature_store.operator_client import FeaturesOperatorClient
|
|
9
|
+
from qwak.exceptions import QwakException
|
|
10
|
+
from qwak.feature_store.data_sources.base import BaseSource
|
|
11
|
+
from qwak.feature_store.feature_sets.base_feature_set import BaseFeatureSet
|
|
12
|
+
from qwak.feature_store.validations.validation_decorators import (
|
|
13
|
+
silence_backend_specific_validation_exceptions,
|
|
14
|
+
)
|
|
15
|
+
from qwak.feature_store.validations.validation_options import (
|
|
16
|
+
DataSourceValidationOptions,
|
|
17
|
+
FeatureSetValidationOptions,
|
|
18
|
+
)
|
|
19
|
+
from qwak.feature_store.validations.validation_response import (
|
|
20
|
+
ValidationResponse,
|
|
21
|
+
ValidationResponseFactory,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Validator(ABC):
|
|
26
|
+
@abstractmethod
|
|
27
|
+
def validate_featureset(
|
|
28
|
+
self,
|
|
29
|
+
featureset: BaseFeatureSet,
|
|
30
|
+
sample_size: int = 10,
|
|
31
|
+
validation_options: Optional[FeatureSetValidationOptions] = None,
|
|
32
|
+
) -> Tuple[ValidationResponse, Optional[str]]:
|
|
33
|
+
pass
|
|
34
|
+
|
|
35
|
+
@abstractmethod
|
|
36
|
+
def validate_data_source(
|
|
37
|
+
self,
|
|
38
|
+
data_source: BaseSource,
|
|
39
|
+
sample_size: int = 10,
|
|
40
|
+
validation_options: Optional[DataSourceValidationOptions] = None,
|
|
41
|
+
) -> Tuple[ValidationResponse, Optional[str]]:
|
|
42
|
+
pass
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class FeaturesOperatorValidator(Validator):
|
|
46
|
+
_operator_client: FeaturesOperatorClient
|
|
47
|
+
_registry_client: FeatureRegistryClient
|
|
48
|
+
|
|
49
|
+
def __init__(self):
|
|
50
|
+
try:
|
|
51
|
+
import pandas # noqa: F401
|
|
52
|
+
except ImportError:
|
|
53
|
+
raise QwakException("Missing required Pandas dependency")
|
|
54
|
+
|
|
55
|
+
self._operator_client = FeaturesOperatorClient()
|
|
56
|
+
self._registry_client = FeatureRegistryClient()
|
|
57
|
+
|
|
58
|
+
@silence_backend_specific_validation_exceptions(
|
|
59
|
+
"Validating DataSource is not supported for self-hosted environments"
|
|
60
|
+
)
|
|
61
|
+
def validate_data_source(
|
|
62
|
+
self,
|
|
63
|
+
data_source: BaseSource,
|
|
64
|
+
sample_size: int = 10,
|
|
65
|
+
validation_options: Optional[DataSourceValidationOptions] = None,
|
|
66
|
+
) -> Tuple[ValidationResponse, Optional[str]]:
|
|
67
|
+
if sample_size <= 0 or 1_000 < sample_size:
|
|
68
|
+
raise ValueError(
|
|
69
|
+
f"sample_size must be under 1000 and positive, got: {sample_size}"
|
|
70
|
+
)
|
|
71
|
+
artifact_url: Optional[str] = None
|
|
72
|
+
data_source_spec, artifact_url = data_source._prepare_and_get()
|
|
73
|
+
proto_response: ProtoGetValidationResultResponse = (
|
|
74
|
+
self._operator_client.validate_data_source_blocking(
|
|
75
|
+
data_source_spec=data_source_spec,
|
|
76
|
+
num_samples=sample_size,
|
|
77
|
+
validation_options=(
|
|
78
|
+
validation_options.to_proto() if validation_options else None
|
|
79
|
+
),
|
|
80
|
+
)
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
return ValidationResponseFactory.from_proto(proto_response), artifact_url
|
|
84
|
+
|
|
85
|
+
@silence_backend_specific_validation_exceptions(
|
|
86
|
+
"Validating FeatureSet is not supported for self-hosted environments"
|
|
87
|
+
)
|
|
88
|
+
def validate_featureset(
|
|
89
|
+
self,
|
|
90
|
+
featureset: BaseFeatureSet,
|
|
91
|
+
sample_size: int = 10,
|
|
92
|
+
validation_options: Optional[FeatureSetValidationOptions] = None,
|
|
93
|
+
) -> Tuple[ValidationResponse, Optional[str]]:
|
|
94
|
+
if sample_size <= 0 or 1_000 < sample_size:
|
|
95
|
+
raise ValueError(
|
|
96
|
+
f"sample_size must be under 1000 and positive, got: {sample_size}"
|
|
97
|
+
)
|
|
98
|
+
artifact_url: Optional[str] = None
|
|
99
|
+
featureset_spec, artifact_url = featureset._to_proto(
|
|
100
|
+
feature_registry=self._registry_client, features=None, git_commit=None
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
proto_response: ProtoGetValidationResultResponse = (
|
|
104
|
+
self._operator_client.validate_featureset_blocking(
|
|
105
|
+
featureset_spec=featureset_spec,
|
|
106
|
+
resource_path=artifact_url,
|
|
107
|
+
num_samples=sample_size,
|
|
108
|
+
validation_options=(
|
|
109
|
+
validation_options.to_proto() if validation_options else None
|
|
110
|
+
),
|
|
111
|
+
)
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
return ValidationResponseFactory.from_proto(proto_response), artifact_url
|
|
File without changes
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
|
+
from os.path import expandvars
|
|
3
|
+
from typing import Dict, List, Optional, Tuple, Union
|
|
4
|
+
|
|
5
|
+
import grpc
|
|
6
|
+
from _qwak_proto.qwak.builds.build_pb2 import BaseDockerImageType
|
|
7
|
+
from _qwak_proto.qwak.builds.builds_pb2 import (
|
|
8
|
+
BuildConfiguration,
|
|
9
|
+
BuildEnvironment,
|
|
10
|
+
BuildModelUri,
|
|
11
|
+
BuildPropertiesProto,
|
|
12
|
+
CondaBuild,
|
|
13
|
+
DockerBuild,
|
|
14
|
+
PoetryBuild,
|
|
15
|
+
PythonBuild,
|
|
16
|
+
RemoteBuild,
|
|
17
|
+
RemoteBuildResources as RemoteBuildResourcesProto,
|
|
18
|
+
Step,
|
|
19
|
+
VirtualEnvironmentBuild,
|
|
20
|
+
)
|
|
21
|
+
from _qwak_proto.qwak.instance_template.instance_template_pb2 import InstanceType
|
|
22
|
+
from qwak.clients.build_orchestrator import BuildOrchestratorClient
|
|
23
|
+
from qwak.clients.instance_template.client import InstanceTemplateManagementClient
|
|
24
|
+
from qwak.exceptions import QwakException
|
|
25
|
+
from qwak.inner.tool.protobuf_factory import protobuf_factory
|
|
26
|
+
from qwak.inner.tool.run_config import (
|
|
27
|
+
ConfigCliMap,
|
|
28
|
+
QwakConfigBase,
|
|
29
|
+
YamlConfigMixin,
|
|
30
|
+
validate_bool,
|
|
31
|
+
validate_float,
|
|
32
|
+
validate_int,
|
|
33
|
+
validate_list_of_strings,
|
|
34
|
+
validate_string,
|
|
35
|
+
)
|
|
36
|
+
from qwak.inner.tool.run_config.utils import (
|
|
37
|
+
validate_positive_int,
|
|
38
|
+
validate_purchase_option,
|
|
39
|
+
)
|
|
40
|
+
from qwak.model.base import QwakModel
|
|
41
|
+
|
|
42
|
+
CONFIG_MAPPING: List[ConfigCliMap] = [
|
|
43
|
+
# ConfigV1
|
|
44
|
+
ConfigCliMap(
|
|
45
|
+
"validate_build_artifact", "step.validate_build_artifact", validate_bool, True
|
|
46
|
+
),
|
|
47
|
+
ConfigCliMap(
|
|
48
|
+
"validate_build_artifact_timeout",
|
|
49
|
+
"step.validate_build_artifact_timeout",
|
|
50
|
+
validate_positive_int,
|
|
51
|
+
True,
|
|
52
|
+
),
|
|
53
|
+
ConfigCliMap("tests", "step.tests", validate_bool, True),
|
|
54
|
+
# BuildProperties
|
|
55
|
+
ConfigCliMap("model_id", "build_properties.model_id", validate_string, True),
|
|
56
|
+
ConfigCliMap("build_id", "build_properties.build_id", validate_string, False),
|
|
57
|
+
ConfigCliMap(
|
|
58
|
+
"gpu_compatible", "build_properties.gpu_compatible", validate_bool, True
|
|
59
|
+
),
|
|
60
|
+
ConfigCliMap("branch", "build_properties.branch", validate_string),
|
|
61
|
+
ConfigCliMap("tags", "build_properties.tags", validate_list_of_strings),
|
|
62
|
+
ConfigCliMap("build_name", "build_properties.build_name", validate_string),
|
|
63
|
+
# ModelUri
|
|
64
|
+
ConfigCliMap("uri", "build_properties.model_uri.uri", validate_string, False),
|
|
65
|
+
ConfigCliMap(
|
|
66
|
+
"git_branch", "build_properties.model_uri.git_branch", validate_string
|
|
67
|
+
),
|
|
68
|
+
ConfigCliMap("main_dir", "build_properties.model_uri.main_dir", validate_string),
|
|
69
|
+
ConfigCliMap(
|
|
70
|
+
"git_credentials", "build_properties.model_uri.git_credentials", validate_string
|
|
71
|
+
),
|
|
72
|
+
ConfigCliMap(
|
|
73
|
+
"git_secret_ssh", "build_properties.model_uri.git_secret_ssh", validate_string
|
|
74
|
+
),
|
|
75
|
+
ConfigCliMap(
|
|
76
|
+
"git_credentials_secret",
|
|
77
|
+
"build_properties.model_uri.git_credentials_secret",
|
|
78
|
+
validate_string,
|
|
79
|
+
),
|
|
80
|
+
ConfigCliMap(
|
|
81
|
+
"dependency_required_folders",
|
|
82
|
+
"build_properties.model_uri.dependency_required_folders",
|
|
83
|
+
validate_list_of_strings,
|
|
84
|
+
),
|
|
85
|
+
# BuildEnv
|
|
86
|
+
# PythonEnv
|
|
87
|
+
ConfigCliMap(
|
|
88
|
+
"dependency_file_path",
|
|
89
|
+
"build_env.python_env.dependency_file_path",
|
|
90
|
+
validate_string,
|
|
91
|
+
),
|
|
92
|
+
# DockerConf
|
|
93
|
+
ConfigCliMap("base_image", "build_env.docker.base_image", validate_string),
|
|
94
|
+
ConfigCliMap("param_list", "build_env.docker.params", validate_list_of_strings),
|
|
95
|
+
ConfigCliMap("env_vars", "build_env.docker.env_vars", validate_list_of_strings),
|
|
96
|
+
ConfigCliMap("cache", "build_env.docker.cache", validate_bool),
|
|
97
|
+
ConfigCliMap("push", "build_env.docker.push", validate_bool),
|
|
98
|
+
ConfigCliMap(
|
|
99
|
+
"iam_role_arn", "build_env.docker.assumed_iam_role_arn", validate_string
|
|
100
|
+
),
|
|
101
|
+
ConfigCliMap(
|
|
102
|
+
"service_account_key_secret_name",
|
|
103
|
+
"build_env.docker.service_account_key_secret_name",
|
|
104
|
+
validate_string,
|
|
105
|
+
),
|
|
106
|
+
# RemoteConf
|
|
107
|
+
ConfigCliMap("cpus", "build_env.remote.resources.cpus", validate_float),
|
|
108
|
+
ConfigCliMap("memory", "build_env.remote.resources.memory", validate_string),
|
|
109
|
+
ConfigCliMap("gpu_type", "build_env.remote.resources.gpu_type", validate_string),
|
|
110
|
+
ConfigCliMap(
|
|
111
|
+
"gpu_amount", "build_env.remote.resources.gpu_amount", validate_positive_int
|
|
112
|
+
),
|
|
113
|
+
ConfigCliMap("instance", "build_env.remote.resources.instance", validate_string),
|
|
114
|
+
# Verbosity level
|
|
115
|
+
ConfigCliMap("verbose", "verbose", validate_int),
|
|
116
|
+
ConfigCliMap("deploy", "deploy", validate_bool),
|
|
117
|
+
ConfigCliMap("deployment_instance", "deployment_instance", validate_string),
|
|
118
|
+
ConfigCliMap("purchase_option", "purchase_option", validate_purchase_option),
|
|
119
|
+
ConfigCliMap(
|
|
120
|
+
"provision_instance_timeout",
|
|
121
|
+
"provision_instance_timeout",
|
|
122
|
+
validate_positive_int,
|
|
123
|
+
),
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@protobuf_factory(Step)
|
|
128
|
+
@dataclass
|
|
129
|
+
class Step:
|
|
130
|
+
validate_build_artifact: bool = field(default=True)
|
|
131
|
+
validate_build_artifact_timeout: int = field(default=120)
|
|
132
|
+
tests: bool = field(default=True)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
@protobuf_factory(
|
|
136
|
+
BuildModelUri,
|
|
137
|
+
exclude_fields=[
|
|
138
|
+
"git_credentials",
|
|
139
|
+
"git_credentials_secret",
|
|
140
|
+
"dependency_required_folders",
|
|
141
|
+
],
|
|
142
|
+
)
|
|
143
|
+
@dataclass
|
|
144
|
+
class ModelUri:
|
|
145
|
+
uri: Optional[str] = field(default=None)
|
|
146
|
+
git_branch: Optional[str] = field(default="master")
|
|
147
|
+
main_dir: Optional[str] = field(default="main")
|
|
148
|
+
dependency_required_folders: List[str] = field(default_factory=list)
|
|
149
|
+
git_credentials: Optional[str] = field(default=None)
|
|
150
|
+
git_credentials_secret: Optional[str] = field(default=None)
|
|
151
|
+
git_secret_ssh: Optional[str] = field(default=None)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
@protobuf_factory(BuildPropertiesProto)
|
|
155
|
+
@dataclass
|
|
156
|
+
class BuildProperties:
|
|
157
|
+
build_id: Optional[str] = field(default=None)
|
|
158
|
+
gpu_compatible: bool = field(default=False)
|
|
159
|
+
branch: Optional[str] = field(default="main")
|
|
160
|
+
model_id: str = field(default="")
|
|
161
|
+
tags: List[str] = field(default_factory=list)
|
|
162
|
+
model_uri: ModelUri = field(default_factory=ModelUri)
|
|
163
|
+
build_name: Optional[str] = field(default="")
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
@protobuf_factory(DockerBuild)
|
|
167
|
+
@dataclass
|
|
168
|
+
class DockerConf:
|
|
169
|
+
base_image: Optional[str] = field(default=None)
|
|
170
|
+
env_vars: Optional[Union[List[str], Dict[str, str], Tuple]] = field(
|
|
171
|
+
default_factory=list
|
|
172
|
+
)
|
|
173
|
+
assumed_iam_role_arn: str = field(default=None)
|
|
174
|
+
service_account_key_secret_name: str = field(default=None)
|
|
175
|
+
params: Optional[List[str]] = field(default_factory=list)
|
|
176
|
+
no_cache: bool = field(default=False)
|
|
177
|
+
cache: bool = field(default=True)
|
|
178
|
+
push: bool = field(default=True)
|
|
179
|
+
|
|
180
|
+
def __post_init__(self):
|
|
181
|
+
if isinstance(self.env_vars, (list, tuple)):
|
|
182
|
+
self.env_vars = [expandvars(var) for var in self.env_vars]
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
@protobuf_factory(VirtualEnvironmentBuild)
|
|
186
|
+
@dataclass
|
|
187
|
+
class VirtualenvType:
|
|
188
|
+
python_version: Optional[str] = field(default=None)
|
|
189
|
+
requirements_txt: Optional[str] = field(default=None)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
@protobuf_factory(PoetryBuild)
|
|
193
|
+
@dataclass
|
|
194
|
+
class PoetryType:
|
|
195
|
+
python_version: Optional[str] = field(default=None)
|
|
196
|
+
lock_file: Optional[str] = field(default=None)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
@protobuf_factory(CondaBuild)
|
|
200
|
+
@dataclass
|
|
201
|
+
class CondaType:
|
|
202
|
+
conda_file: Optional[str] = field(default=None)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
@protobuf_factory(
|
|
206
|
+
PythonBuild, exclude_fields=["git_credentials_secret", "git_credentials"]
|
|
207
|
+
)
|
|
208
|
+
@dataclass
|
|
209
|
+
class PythonEnv:
|
|
210
|
+
git_credentials: Optional[str] = field(default=None)
|
|
211
|
+
git_credentials_secret: Optional[str] = field(default=None)
|
|
212
|
+
poetry: PoetryType = field(default=None)
|
|
213
|
+
conda: CondaType = field(default=None)
|
|
214
|
+
virtualenv: VirtualenvType = field(default=None)
|
|
215
|
+
dependency_file_path: Optional[str] = field(default=None)
|
|
216
|
+
|
|
217
|
+
def __post_init__(self):
|
|
218
|
+
if not (self.poetry or self.conda or self.virtualenv):
|
|
219
|
+
self.conda = CondaType("conda.yml")
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
@protobuf_factory(RemoteBuildResourcesProto)
|
|
223
|
+
@dataclass
|
|
224
|
+
class RemoteBuildResources:
|
|
225
|
+
cpus: Optional[float] = field(default=None)
|
|
226
|
+
memory: Optional[str] = field(default=None)
|
|
227
|
+
gpu_type: Optional[str] = field(default=None)
|
|
228
|
+
gpu_amount: Optional[int] = field(default=None)
|
|
229
|
+
instance: Optional[str] = field(default=None)
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
@protobuf_factory(RemoteBuild)
|
|
233
|
+
@dataclass
|
|
234
|
+
class RemoteConf:
|
|
235
|
+
is_remote: bool = field(default=True)
|
|
236
|
+
resources: RemoteBuildResources = field(default_factory=RemoteBuildResources)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
@protobuf_factory(BuildEnvironment)
|
|
240
|
+
@dataclass
|
|
241
|
+
class BuildEnv:
|
|
242
|
+
docker: DockerConf = field(default_factory=DockerConf)
|
|
243
|
+
python_env: PythonEnv = field(default_factory=PythonEnv)
|
|
244
|
+
remote: RemoteConf = field(default_factory=RemoteConf)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
@protobuf_factory(BuildConfiguration, exclude_fields=["deploy"])
|
|
248
|
+
@dataclass
|
|
249
|
+
class BuildConfigV1(YamlConfigMixin, QwakConfigBase):
|
|
250
|
+
@property
|
|
251
|
+
def _config_mapping(self) -> List[ConfigCliMap]:
|
|
252
|
+
return CONFIG_MAPPING
|
|
253
|
+
|
|
254
|
+
build_properties: BuildProperties = field(default_factory=BuildProperties)
|
|
255
|
+
build_env: Optional[BuildEnv] = field(default_factory=BuildEnv)
|
|
256
|
+
pre_build: Optional[BuildEnv] = field(default=None)
|
|
257
|
+
post_build: Optional[BuildEnv] = field(default=None)
|
|
258
|
+
step: Step = field(default_factory=Step)
|
|
259
|
+
deploy: bool = field(default=False)
|
|
260
|
+
deployment_instance: Optional[str] = field(default=None)
|
|
261
|
+
purchase_option: Optional[str] = field(default=None)
|
|
262
|
+
provision_instance_timeout: Optional[int] = field(default=None)
|
|
263
|
+
verbose: int = field(default=0)
|
|
264
|
+
pre_built_model: Optional[QwakModel] = field(default=None, init=False)
|
|
265
|
+
|
|
266
|
+
def _post_merge_cli(self):
|
|
267
|
+
"""Implementing post merge actions."""
|
|
268
|
+
self.build_properties.model_id = self.build_properties.model_id.lower()
|
|
269
|
+
self.build_properties.tags = list(self.build_properties.tags)
|
|
270
|
+
self.build_properties.model_uri.dependency_required_folders = list(
|
|
271
|
+
self.build_properties.model_uri.dependency_required_folders
|
|
272
|
+
)
|
|
273
|
+
self.build_env.docker.env_vars = list(self.build_env.docker.env_vars)
|
|
274
|
+
self.build_env.docker.params = list(self.build_env.docker.params)
|
|
275
|
+
|
|
276
|
+
def fetch_base_docker_image_name(
|
|
277
|
+
self,
|
|
278
|
+
build_orchestrator: BuildOrchestratorClient,
|
|
279
|
+
instance_template: InstanceTemplateManagementClient,
|
|
280
|
+
):
|
|
281
|
+
if not self.build_env.docker.base_image:
|
|
282
|
+
is_gpu_used = (
|
|
283
|
+
self.build_env.remote.resources.gpu_type
|
|
284
|
+
and self.build_env.remote.resources.gpu_amount
|
|
285
|
+
and self.build_env.remote.resources.gpu_amount > 0
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
if self.build_env.remote.resources.instance and not is_gpu_used:
|
|
289
|
+
is_gpu_used = self.deduce_gpu_from_template(instance_template)
|
|
290
|
+
|
|
291
|
+
if is_gpu_used or self.build_properties.gpu_compatible:
|
|
292
|
+
result = build_orchestrator.fetch_base_docker_image_name(
|
|
293
|
+
BaseDockerImageType.GPU
|
|
294
|
+
)
|
|
295
|
+
self.build_env.docker.base_image = result.base_docker_image_name
|
|
296
|
+
else:
|
|
297
|
+
result = build_orchestrator.fetch_base_docker_image_name(
|
|
298
|
+
BaseDockerImageType.CPU
|
|
299
|
+
)
|
|
300
|
+
self.build_env.docker.base_image = result.base_docker_image_name
|
|
301
|
+
|
|
302
|
+
def deduce_gpu_from_template(self, instance_template):
|
|
303
|
+
try:
|
|
304
|
+
instance_spec = instance_template.get_instance_template(
|
|
305
|
+
self.build_env.remote.resources.instance
|
|
306
|
+
)
|
|
307
|
+
return instance_spec.instance_type == InstanceType.INSTANCE_TYPE_GPU
|
|
308
|
+
|
|
309
|
+
except QwakException as e:
|
|
310
|
+
if not e.status_code or e.status_code != grpc.StatusCode.NOT_FOUND:
|
|
311
|
+
raise e
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
from logging import Logger
|
|
3
|
+
|
|
4
|
+
from qwak.inner.build_logic.interface.build_logger_interface import BuildLogger
|
|
5
|
+
from qwak.inner.build_logic.interface.build_phase import BuildPhase
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
PREFIX_FORMAT = "{prefix} - "
|
|
9
|
+
EXCEPTION_FORMAT = """Message: {line}
|
|
10
|
+
Exception: {e}
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class TriggerBuildLogger(BuildLogger):
|
|
15
|
+
def __init__(
|
|
16
|
+
self,
|
|
17
|
+
logger: Logger,
|
|
18
|
+
prefix: str,
|
|
19
|
+
build_phase: BuildPhase,
|
|
20
|
+
verbose: int = 0,
|
|
21
|
+
json_logs: bool = False,
|
|
22
|
+
) -> None:
|
|
23
|
+
self.logger = logging.LoggerAdapter(
|
|
24
|
+
logger,
|
|
25
|
+
{
|
|
26
|
+
"phase": build_phase.description,
|
|
27
|
+
"phase_id": build_phase.phase_id,
|
|
28
|
+
},
|
|
29
|
+
)
|
|
30
|
+
self.prefix = PREFIX_FORMAT.format(prefix=prefix) if prefix else ""
|
|
31
|
+
self.spinner = None
|
|
32
|
+
self.verbose = verbose
|
|
33
|
+
self.json_logs = json_logs
|
|
34
|
+
|
|
35
|
+
def exception(self, line: str, e: BaseException) -> None:
|
|
36
|
+
self.logger.error(
|
|
37
|
+
EXCEPTION_FORMAT.format(line=line, e=e),
|
|
38
|
+
exc_info=False,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
def error(self, line: str) -> None:
|
|
42
|
+
self.logger.error(f"{self.prefix}{line}")
|
|
43
|
+
|
|
44
|
+
def warning(self, line: str) -> None:
|
|
45
|
+
self.logger.warning(f"{self.prefix}{line}")
|
|
46
|
+
|
|
47
|
+
def info(self, line: str) -> None:
|
|
48
|
+
self.logger.info(f"{self.prefix}{line}")
|
|
49
|
+
|
|
50
|
+
def debug(self, line: str) -> None:
|
|
51
|
+
self.logger.debug(f"{self.prefix}{line}")
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TEMP_LOCAL_MODEL_DIR = "model_code"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
MODEL_CODE_TAG = "code.zip"
|
|
2
|
+
SKINNY_MODEL_CODE_TAG = "skinny_code.zip"
|
|
3
|
+
QWAK_SDK_VERSION_TAG = "qwak_sdk_version"
|
|
4
|
+
QWAK_RUNTIME_WHEEL_TAG = "qwak_runtime_wheel"
|
|
5
|
+
QWAK_CORE_WHEEL_TAG = "qwak_core_wheel"
|
|
6
|
+
BUILD_CONFIG_TAG = "qwak_build_config"
|
|
7
|
+
QWAK_BUILT_MODEL_TAG = "qwak_built_model"
|