anyscale 0.24.86__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.
- anyscale/__init__.py +181 -0
- anyscale/_private/anyscale_client/README.md +16 -0
- anyscale/_private/anyscale_client/__init__.py +8 -0
- anyscale/_private/anyscale_client/anyscale_client.py +1847 -0
- anyscale/_private/anyscale_client/common.py +593 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +1080 -0
- anyscale/_private/docgen/README.md +15 -0
- anyscale/_private/docgen/__main__.py +700 -0
- anyscale/_private/docgen/api.md +1106 -0
- anyscale/_private/docgen/generator.py +559 -0
- anyscale/_private/docgen/generator_legacy.py +104 -0
- anyscale/_private/docgen/models.md +2261 -0
- anyscale/_private/models/__init__.py +2 -0
- anyscale/_private/models/image_uri.py +116 -0
- anyscale/_private/models/model_base.py +251 -0
- anyscale/_private/sdk/__init__.py +102 -0
- anyscale/_private/sdk/base_sdk.py +35 -0
- anyscale/_private/sdk/timer.py +46 -0
- anyscale/_private/utils/__init__.py +0 -0
- anyscale/_private/utils/progress_util.py +85 -0
- anyscale/_private/workload/__init__.py +2 -0
- anyscale/_private/workload/workload_config.py +195 -0
- anyscale/_private/workload/workload_sdk.py +324 -0
- anyscale/aggregated_instance_usage/__init__.py +36 -0
- anyscale/aggregated_instance_usage/_private/aggregated_instance_usage_sdk.py +30 -0
- anyscale/aggregated_instance_usage/commands.py +42 -0
- anyscale/aggregated_instance_usage/models.py +85 -0
- anyscale/anyscale-cloud-setup-gcp-oa.yaml +88 -0
- anyscale/anyscale-cloud-setup-gcp.yaml +113 -0
- anyscale/anyscale-cloud-setup-oa.yaml +121 -0
- anyscale/anyscale-cloud-setup.yaml +327 -0
- anyscale/anyscale_pydantic/HISTORY.md +1254 -0
- anyscale/anyscale_pydantic/LICENSE +21 -0
- anyscale/anyscale_pydantic/PKG-INFO +1351 -0
- anyscale/anyscale_pydantic/README.md +7 -0
- anyscale/anyscale_pydantic/__init__.py +131 -0
- anyscale/anyscale_pydantic/_hypothesis_plugin.py +391 -0
- anyscale/anyscale_pydantic/annotated_types.py +72 -0
- anyscale/anyscale_pydantic/class_validators.py +361 -0
- anyscale/anyscale_pydantic/color.py +494 -0
- anyscale/anyscale_pydantic/config.py +191 -0
- anyscale/anyscale_pydantic/dataclasses.py +478 -0
- anyscale/anyscale_pydantic/datetime_parse.py +248 -0
- anyscale/anyscale_pydantic/decorator.py +264 -0
- anyscale/anyscale_pydantic/env_settings.py +350 -0
- anyscale/anyscale_pydantic/error_wrappers.py +162 -0
- anyscale/anyscale_pydantic/errors.py +646 -0
- anyscale/anyscale_pydantic/fields.py +1256 -0
- anyscale/anyscale_pydantic/generics.py +400 -0
- anyscale/anyscale_pydantic/json.py +112 -0
- anyscale/anyscale_pydantic/main.py +1109 -0
- anyscale/anyscale_pydantic/mypy.py +943 -0
- anyscale/anyscale_pydantic/networks.py +739 -0
- anyscale/anyscale_pydantic/parse.py +66 -0
- anyscale/anyscale_pydantic/py.typed +0 -0
- anyscale/anyscale_pydantic/schema.py +1164 -0
- anyscale/anyscale_pydantic/tools.py +92 -0
- anyscale/anyscale_pydantic/types.py +1206 -0
- anyscale/anyscale_pydantic/typing.py +603 -0
- anyscale/anyscale_pydantic/utils.py +803 -0
- anyscale/anyscale_pydantic/validators.py +765 -0
- anyscale/anyscale_pydantic/version.py +38 -0
- anyscale/anyscale_schema.json +9 -0
- anyscale/api.py +215 -0
- anyscale/api_utils/README.md +2 -0
- anyscale/api_utils/__init__.py +0 -0
- anyscale/api_utils/common_utils.py +81 -0
- anyscale/api_utils/exceptions/__init__.py +0 -0
- anyscale/api_utils/exceptions/job_errors.py +2 -0
- anyscale/api_utils/job_logs_util.py +116 -0
- anyscale/api_utils/job_util.py +22 -0
- anyscale/api_utils/logs_util.py +61 -0
- anyscale/authenticate.py +298 -0
- anyscale/aws_iam_policies.py +465 -0
- anyscale/background/__init__.py +0 -0
- anyscale/background/job_runner.py +64 -0
- anyscale/cli_logger.py +378 -0
- anyscale/client/.gitignore +66 -0
- anyscale/client/.openapi-generator/VERSION +1 -0
- anyscale/client/.openapi-generator-ignore +23 -0
- anyscale/client/README.md +1070 -0
- anyscale/client/git_push.sh +58 -0
- anyscale/client/openapi_client/__init__.py +667 -0
- anyscale/client/openapi_client/api/__init__.py +6 -0
- anyscale/client/openapi_client/api/default_api.py +40922 -0
- anyscale/client/openapi_client/api_client.py +647 -0
- anyscale/client/openapi_client/configuration.py +373 -0
- anyscale/client/openapi_client/exceptions.py +120 -0
- anyscale/client/openapi_client/models/__init__.py +652 -0
- anyscale/client/openapi_client/models/access_config.py +122 -0
- anyscale/client/openapi_client/models/aggregated_instance_usage_with_cost_model.py +733 -0
- anyscale/client/openapi_client/models/aggregatedinstanceusagewithcostmodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/aica_endpoint.py +527 -0
- anyscale/client/openapi_client/models/aica_endpoint_event.py +433 -0
- anyscale/client/openapi_client/models/aica_endpoint_event_level.py +103 -0
- anyscale/client/openapi_client/models/aica_endpoint_event_type.py +120 -0
- anyscale/client/openapi_client/models/aica_endpoint_scope.py +102 -0
- anyscale/client/openapi_client/models/aica_model.py +398 -0
- anyscale/client/openapi_client/models/aica_model_accelerator_map.py +123 -0
- anyscale/client/openapi_client/models/aica_model_configuration.py +209 -0
- anyscale/client/openapi_client/models/aica_observability_urls.py +178 -0
- anyscale/client/openapi_client/models/aicaendpoint_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicaendpoint_response.py +121 -0
- anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicamodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicamodel_response.py +121 -0
- anyscale/client/openapi_client/models/aioa_cloud_waitlist_record.py +254 -0
- anyscale/client/openapi_client/models/aioacloudwaitlistrecord_response.py +121 -0
- anyscale/client/openapi_client/models/alert_type.py +103 -0
- anyscale/client/openapi_client/models/anyscale_aws_account.py +121 -0
- anyscale/client/openapi_client/models/anyscale_service_account.py +256 -0
- anyscale/client/openapi_client/models/anyscale_version_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleawsaccount_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaled_credential_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaledcredentialresponse_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleserviceaccount_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/api_key_parameters.py +147 -0
- anyscale/client/openapi_client/models/app_config.py +436 -0
- anyscale/client/openapi_client/models/app_config_config_schema.py +235 -0
- anyscale/client/openapi_client/models/appconfig_list_response.py +147 -0
- anyscale/client/openapi_client/models/appconfig_response.py +121 -0
- anyscale/client/openapi_client/models/application_type.py +99 -0
- anyscale/client/openapi_client/models/applied_snapshot.py +175 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +490 -0
- anyscale/client/openapi_client/models/archive_status.py +101 -0
- anyscale/client/openapi_client/models/archived_logs_info.py +164 -0
- anyscale/client/openapi_client/models/archivedlogsinfo_response.py +121 -0
- anyscale/client/openapi_client/models/attach_machine_pool_to_cloud_request.py +152 -0
- anyscale/client/openapi_client/models/attachmachinepooltocloudresponse_response.py +121 -0
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +358 -0
- anyscale/client/openapi_client/models/aws_credentials.py +181 -0
- anyscale/client/openapi_client/models/aws_memory_db_cluster_config.py +148 -0
- anyscale/client/openapi_client/models/aws_region_and_zones.py +123 -0
- anyscale/client/openapi_client/models/aws_region_info.py +152 -0
- anyscale/client/openapi_client/models/awsregionandzones_response.py +121 -0
- anyscale/client/openapi_client/models/bank_account_information.py +239 -0
- anyscale/client/openapi_client/models/base_job_status.py +105 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +2130 -0
- anyscale/client/openapi_client/models/batch_response_batched_result_organization_invitation_base.py +121 -0
- anyscale/client/openapi_client/models/batched_result_organization_invitation_base.py +173 -0
- anyscale/client/openapi_client/models/billing_information.py +181 -0
- anyscale/client/openapi_client/models/billing_version_code.py +100 -0
- anyscale/client/openapi_client/models/body_aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post.py +121 -0
- anyscale/client/openapi_client/models/buffer_registration.py +285 -0
- anyscale/client/openapi_client/models/build.py +607 -0
- anyscale/client/openapi_client/models/build_log_response.py +123 -0
- anyscale/client/openapi_client/models/build_registration.py +285 -0
- anyscale/client/openapi_client/models/build_response.py +121 -0
- anyscale/client/openapi_client/models/build_status.py +104 -0
- anyscale/client/openapi_client/models/buildlogresponse_response.py +121 -0
- anyscale/client/openapi_client/models/card.py +181 -0
- anyscale/client/openapi_client/models/card_id.py +108 -0
- anyscale/client/openapi_client/models/card_list_response.py +147 -0
- anyscale/client/openapi_client/models/change_password_params.py +148 -0
- anyscale/client/openapi_client/models/cleanup_leaked_grafana_dashboard_response.py +208 -0
- anyscale/client/openapi_client/models/cleanupleakedgrafanadashboardresponse_response.py +121 -0
- anyscale/client/openapi_client/models/clone_experimental_workspace.py +151 -0
- anyscale/client/openapi_client/models/cloud.py +802 -0
- anyscale/client/openapi_client/models/cloud_analytics_event.py +351 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_cloud_provider_error.py +152 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_cloud_resource.py +117 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_command_name.py +103 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_error.py +150 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_name.py +109 -0
- anyscale/client/openapi_client/models/cloud_collaborator.py +175 -0
- anyscale/client/openapi_client/models/cloud_collaborator_value.py +177 -0
- anyscale/client/openapi_client/models/cloud_collaborators_query.py +122 -0
- anyscale/client/openapi_client/models/cloud_config.py +206 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_access_mode.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +102 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_info.py +268 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_request.py +152 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_scheme.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_request.py +209 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_response.py +296 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_scheme.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_request_scope.py +100 -0
- anyscale/client/openapi_client/models/cloud_hosting_type.py +100 -0
- anyscale/client/openapi_client/models/cloud_list_response.py +147 -0
- anyscale/client/openapi_client/models/cloud_name_options.py +121 -0
- anyscale/client/openapi_client/models/cloud_overview_dashboard.py +175 -0
- anyscale/client/openapi_client/models/cloud_project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/cloud_project_collaborator_value.py +121 -0
- anyscale/client/openapi_client/models/cloud_provider.py +102 -0
- anyscale/client/openapi_client/models/cloud_providers.py +103 -0
- anyscale/client/openapi_client/models/cloud_region_and_zones.py +123 -0
- anyscale/client/openapi_client/models/cloud_region_info.py +152 -0
- anyscale/client/openapi_client/models/cloud_resource.py +740 -0
- anyscale/client/openapi_client/models/cloud_resource_gcp.py +691 -0
- anyscale/client/openapi_client/models/cloud_response.py +121 -0
- anyscale/client/openapi_client/models/cloud_state.py +104 -0
- anyscale/client/openapi_client/models/cloud_status.py +100 -0
- anyscale/client/openapi_client/models/cloud_type.py +100 -0
- anyscale/client/openapi_client/models/cloud_types.py +100 -0
- anyscale/client/openapi_client/models/cloud_version.py +100 -0
- anyscale/client/openapi_client/models/cloud_waitlist_status.py +102 -0
- anyscale/client/openapi_client/models/cloud_with_cloud_resource.py +830 -0
- anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py +830 -0
- anyscale/client/openapi_client/models/cloudcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/clouddatabucketpresigneduploadinfo_response.py +121 -0
- anyscale/client/openapi_client/models/clouddatabucketpresignedurlresponse_response.py +121 -0
- anyscale/client/openapi_client/models/cloudoverviewdashboard_response.py +121 -0
- anyscale/client/openapi_client/models/cloudregionandzones_response.py +121 -0
- anyscale/client/openapi_client/models/cloudresource_response.py +121 -0
- anyscale/client/openapi_client/models/cloudresourcegcp_response.py +121 -0
- anyscale/client/openapi_client/models/cloudwithcloudresource_response.py +121 -0
- anyscale/client/openapi_client/models/cloudwithcloudresourcegcp_response.py +121 -0
- anyscale/client/openapi_client/models/cluster_auth_response.py +148 -0
- anyscale/client/openapi_client/models/cluster_config.py +178 -0
- anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +204 -0
- anyscale/client/openapi_client/models/cluster_environments_query.py +290 -0
- anyscale/client/openapi_client/models/cluster_event.py +174 -0
- anyscale/client/openapi_client/models/cluster_events_output.py +175 -0
- anyscale/client/openapi_client/models/cluster_features.py +152 -0
- anyscale/client/openapi_client/models/cluster_management_stack_versions.py +100 -0
- anyscale/client/openapi_client/models/cluster_startup.py +208 -0
- anyscale/client/openapi_client/models/cluster_status.py +104 -0
- anyscale/client/openapi_client/models/cluster_status_details.py +100 -0
- anyscale/client/openapi_client/models/clusterauthresponse_response.py +121 -0
- anyscale/client/openapi_client/models/clusterconfig_response.py +121 -0
- anyscale/client/openapi_client/models/clusterconfigwithsessionidletimeout_response.py +121 -0
- anyscale/client/openapi_client/models/clustereventsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/clusterfeatures_response.py +121 -0
- anyscale/client/openapi_client/models/company_size.py +103 -0
- anyscale/client/openapi_client/models/compute_node_type.py +292 -0
- anyscale/client/openapi_client/models/compute_stack.py +100 -0
- anyscale/client/openapi_client/models/compute_template.py +415 -0
- anyscale/client/openapi_client/models/compute_template_config.py +461 -0
- anyscale/client/openapi_client/models/compute_template_query.py +316 -0
- anyscale/client/openapi_client/models/computetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/computetemplateconfig_response.py +121 -0
- anyscale/client/openapi_client/models/create_aica_endpoint.py +210 -0
- anyscale/client/openapi_client/models/create_aioa_cloud_waitlist.py +173 -0
- anyscale/client/openapi_client/models/create_analytics_event.py +122 -0
- anyscale/client/openapi_client/models/create_app_config.py +235 -0
- anyscale/client/openapi_client/models/create_app_config_configuration_schema.py +235 -0
- anyscale/client/openapi_client/models/create_billing_version.py +181 -0
- anyscale/client/openapi_client/models/create_bug_report_response.py +152 -0
- anyscale/client/openapi_client/models/create_build.py +263 -0
- anyscale/client/openapi_client/models/create_byod_app_config.py +180 -0
- anyscale/client/openapi_client/models/create_byod_app_config_configuration_schema.py +206 -0
- anyscale/client/openapi_client/models/create_byod_build.py +152 -0
- anyscale/client/openapi_client/models/create_cloud_collaborator.py +148 -0
- anyscale/client/openapi_client/models/create_cloud_resource.py +682 -0
- anyscale/client/openapi_client/models/create_cloud_resource_gcp.py +633 -0
- anyscale/client/openapi_client/models/create_cloud_with_cloud_resource.py +546 -0
- anyscale/client/openapi_client/models/create_cluster_compute_config.py +463 -0
- anyscale/client/openapi_client/models/create_compute_template.py +229 -0
- anyscale/client/openapi_client/models/create_compute_template_config.py +464 -0
- anyscale/client/openapi_client/models/create_dataset.py +200 -0
- anyscale/client/openapi_client/models/create_experimental_workspace.py +435 -0
- anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +123 -0
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +156 -0
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +353 -0
- anyscale/client/openapi_client/models/create_instance_usage_budget.py +253 -0
- anyscale/client/openapi_client/models/create_internal_production_job.py +262 -0
- anyscale/client/openapi_client/models/create_job_queue_config.py +206 -0
- anyscale/client/openapi_client/models/create_job_queue_requests.py +323 -0
- anyscale/client/openapi_client/models/create_machine_pool_request.py +151 -0
- anyscale/client/openapi_client/models/create_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/create_machine_request.py +151 -0
- anyscale/client/openapi_client/models/create_machine_response.py +123 -0
- anyscale/client/openapi_client/models/create_metronome_webhook_notification.py +175 -0
- anyscale/client/openapi_client/models/create_notification_channel_record.py +146 -0
- anyscale/client/openapi_client/models/create_organization_configuration.py +199 -0
- anyscale/client/openapi_client/models/create_organization_invitation.py +121 -0
- anyscale/client/openapi_client/models/create_otp_return_api_model.py +148 -0
- anyscale/client/openapi_client/models/create_production_job_config.py +347 -0
- anyscale/client/openapi_client/models/create_resource_quota.py +293 -0
- anyscale/client/openapi_client/models/create_schedule.py +263 -0
- anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +565 -0
- anyscale/client/openapi_client/models/create_session_in_db.py +434 -0
- anyscale/client/openapi_client/models/create_session_response.py +174 -0
- anyscale/client/openapi_client/models/create_user.py +439 -0
- anyscale/client/openapi_client/models/create_user_project_collaborator.py +148 -0
- anyscale/client/openapi_client/models/create_user_project_collaborator_value.py +121 -0
- anyscale/client/openapi_client/models/create_workspace_from_template.py +263 -0
- anyscale/client/openapi_client/models/createbugreportresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createcomputetemplateconfig_response.py +121 -0
- anyscale/client/openapi_client/models/createmachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createmachineresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createotpreturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/createsessionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/credit_card_information.py +268 -0
- anyscale/client/openapi_client/models/customer_alert_status.py +101 -0
- anyscale/client/openapi_client/models/customer_billing_type.py +101 -0
- anyscale/client/openapi_client/models/dataplane_services.py +102 -0
- anyscale/client/openapi_client/models/dataset.py +416 -0
- anyscale/client/openapi_client/models/dataset_list_response.py +150 -0
- anyscale/client/openapi_client/models/dataset_response.py +121 -0
- anyscale/client/openapi_client/models/dataset_upload.py +148 -0
- anyscale/client/openapi_client/models/datasetupload_response.py +121 -0
- anyscale/client/openapi_client/models/decorated_application_template.py +493 -0
- anyscale/client/openapi_client/models/decorated_build.py +664 -0
- anyscale/client/openapi_client/models/decorated_compute_template.py +446 -0
- anyscale/client/openapi_client/models/decorated_compute_template_config.py +490 -0
- anyscale/client/openapi_client/models/decorated_interactive_session.py +793 -0
- anyscale/client/openapi_client/models/decorated_job.py +793 -0
- anyscale/client/openapi_client/models/decorated_job_queue.py +639 -0
- anyscale/client/openapi_client/models/decorated_job_submission.py +575 -0
- anyscale/client/openapi_client/models/decorated_list_service_api_model.py +670 -0
- anyscale/client/openapi_client/models/decorated_production_job.py +805 -0
- anyscale/client/openapi_client/models/decorated_production_job_state_transition.py +319 -0
- anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +641 -0
- anyscale/client/openapi_client/models/decorated_production_service_v2_version_api_model.py +437 -0
- anyscale/client/openapi_client/models/decorated_runtime_env.py +488 -0
- anyscale/client/openapi_client/models/decorated_schedule.py +552 -0
- anyscale/client/openapi_client/models/decorated_serve_deployment.py +711 -0
- anyscale/client/openapi_client/models/decorated_service_event_api_model.py +513 -0
- anyscale/client/openapi_client/models/decorated_session.py +1789 -0
- anyscale/client/openapi_client/models/decorated_support_request.py +283 -0
- anyscale/client/openapi_client/models/decorated_unified_job.py +466 -0
- anyscale/client/openapi_client/models/decoratedapplicationtemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedapplicationtemplate_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedbuild_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedbuild_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedcomputetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedcomputetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedinteractivesession_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedinteractivesession_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjob_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjobqueue_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjobqueue_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjobsubmission_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedlistserviceapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionjob_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedproductionjobstatetransition_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionservicev2_apimodel_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedruntimeenv_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedruntimeenv_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedschedule_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedschedule_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedservedeployment_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedservedeployment_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedserviceeventapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsession_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsession_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedsupportrequest_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsupportrequest_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedunifiedjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedunifiedjob_response.py +121 -0
- anyscale/client/openapi_client/models/delete_machine_pool_request.py +123 -0
- anyscale/client/openapi_client/models/delete_machine_request.py +206 -0
- anyscale/client/openapi_client/models/deleted_platform_fine_tuned_model.py +148 -0
- anyscale/client/openapi_client/models/deletedplatformfinetunedmodel_response.py +121 -0
- anyscale/client/openapi_client/models/deletemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/detach_machine_pool_from_cloud_request.py +152 -0
- anyscale/client/openapi_client/models/detachmachinepoolfromcloudresponse_response.py +121 -0
- anyscale/client/openapi_client/models/dismissal_type.py +100 -0
- anyscale/client/openapi_client/models/editable_cloud_resource.py +206 -0
- anyscale/client/openapi_client/models/editable_cloud_resource_gcp.py +178 -0
- anyscale/client/openapi_client/models/error.py +174 -0
- anyscale/client/openapi_client/models/event_level.py +104 -0
- anyscale/client/openapi_client/models/execute_command_response.py +175 -0
- anyscale/client/openapi_client/models/execute_interactive_command_options.py +147 -0
- anyscale/client/openapi_client/models/execute_shell_command_options.py +121 -0
- anyscale/client/openapi_client/models/executecommandresponse_response.py +121 -0
- anyscale/client/openapi_client/models/experimental_workspace.py +748 -0
- anyscale/client/openapi_client/models/experimental_workspaces_sort_field.py +100 -0
- anyscale/client/openapi_client/models/experimentalworkspace_list_response.py +147 -0
- anyscale/client/openapi_client/models/experimentalworkspace_response.py +121 -0
- anyscale/client/openapi_client/models/external_service_status.py +147 -0
- anyscale/client/openapi_client/models/external_service_status_response.py +250 -0
- anyscale/client/openapi_client/models/external_terminal_command.py +280 -0
- anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +121 -0
- anyscale/client/openapi_client/models/feature_compatibility.py +152 -0
- anyscale/client/openapi_client/models/feature_flag_response.py +121 -0
- anyscale/client/openapi_client/models/featureflagresponse_response.py +121 -0
- anyscale/client/openapi_client/models/fine_tune_type.py +100 -0
- anyscale/client/openapi_client/models/fine_tuned_model.py +412 -0
- anyscale/client/openapi_client/models/fine_tuning_job_status.py +103 -0
- anyscale/client/openapi_client/models/finetunedmodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/finetunedmodel_response.py +121 -0
- anyscale/client/openapi_client/models/finish_ft_job_request.py +204 -0
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +183 -0
- anyscale/client/openapi_client/models/gcp_file_store_config.py +175 -0
- anyscale/client/openapi_client/models/gcp_memorystore_instance_config.py +148 -0
- anyscale/client/openapi_client/models/grafana_dashboard.py +201 -0
- anyscale/client/openapi_client/models/grpc_protocol_config.py +178 -0
- anyscale/client/openapi_client/models/ha_job_error_types.py +103 -0
- anyscale/client/openapi_client/models/ha_job_event_level.py +101 -0
- anyscale/client/openapi_client/models/ha_job_event_origin.py +100 -0
- anyscale/client/openapi_client/models/ha_job_goal_states.py +102 -0
- anyscale/client/openapi_client/models/ha_job_states.py +109 -0
- anyscale/client/openapi_client/models/ha_job_type.py +100 -0
- anyscale/client/openapi_client/models/ha_jobs_sort_field.py +105 -0
- anyscale/client/openapi_client/models/head_ip.py +121 -0
- anyscale/client/openapi_client/models/headip_response.py +121 -0
- anyscale/client/openapi_client/models/http_protocol_config.py +150 -0
- anyscale/client/openapi_client/models/http_validation_error.py +120 -0
- anyscale/client/openapi_client/models/idle_termination_status.py +104 -0
- anyscale/client/openapi_client/models/import_aica_model.py +241 -0
- anyscale/client/openapi_client/models/instance_usage_budget.py +572 -0
- anyscale/client/openapi_client/models/instance_usage_budget_evaluation_period.py +100 -0
- anyscale/client/openapi_client/models/instanceusagebudget_list_response.py +147 -0
- anyscale/client/openapi_client/models/instanceusagebudget_response.py +121 -0
- anyscale/client/openapi_client/models/integration_details.py +120 -0
- anyscale/client/openapi_client/models/interactive_session_logs.py +152 -0
- anyscale/client/openapi_client/models/interactivesessionlogs_response.py +121 -0
- anyscale/client/openapi_client/models/internal_production_job.py +663 -0
- anyscale/client/openapi_client/models/internalproductionjob_response.py +121 -0
- anyscale/client/openapi_client/models/invoice.py +413 -0
- anyscale/client/openapi_client/models/invoice_list_response.py +147 -0
- anyscale/client/openapi_client/models/invoice_status.py +102 -0
- anyscale/client/openapi_client/models/invoices_query.py +150 -0
- anyscale/client/openapi_client/models/job_access.py +102 -0
- anyscale/client/openapi_client/models/job_queue.py +467 -0
- anyscale/client/openapi_client/models/job_queue_config.py +122 -0
- anyscale/client/openapi_client/models/job_queue_execution_mode.py +101 -0
- anyscale/client/openapi_client/models/job_queue_spec.py +263 -0
- anyscale/client/openapi_client/models/job_queue_state.py +100 -0
- anyscale/client/openapi_client/models/job_queues_query.py +262 -0
- anyscale/client/openapi_client/models/job_run_type.py +101 -0
- anyscale/client/openapi_client/models/job_state_log_level_types.py +100 -0
- anyscale/client/openapi_client/models/job_status.py +105 -0
- anyscale/client/openapi_client/models/job_submissions_sort_field.py +101 -0
- anyscale/client/openapi_client/models/jobqueue_response.py +121 -0
- anyscale/client/openapi_client/models/jobs_logs.py +152 -0
- anyscale/client/openapi_client/models/jobs_logs_query_info.py +181 -0
- anyscale/client/openapi_client/models/jobs_sort_field.py +104 -0
- anyscale/client/openapi_client/models/jobslogs_response.py +121 -0
- anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +121 -0
- anyscale/client/openapi_client/models/json_patch_operation.py +200 -0
- anyscale/client/openapi_client/models/kubernetes_manager_registration_request.py +123 -0
- anyscale/client/openapi_client/models/kubernetes_manager_registration_response.py +123 -0
- anyscale/client/openapi_client/models/kubernetesmanagerregistrationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/lb_resource.py +123 -0
- anyscale/client/openapi_client/models/lbresource_response.py +121 -0
- anyscale/client/openapi_client/models/list_machine_pools_response.py +123 -0
- anyscale/client/openapi_client/models/list_machines_response.py +121 -0
- anyscale/client/openapi_client/models/list_resource_quotas_query.py +234 -0
- anyscale/client/openapi_client/models/list_response_metadata.py +146 -0
- anyscale/client/openapi_client/models/listmachinepoolsresponse_response.py +121 -0
- anyscale/client/openapi_client/models/listmachinesresponse_response.py +121 -0
- anyscale/client/openapi_client/models/log_detail.py +187 -0
- anyscale/client/openapi_client/models/log_details.py +151 -0
- anyscale/client/openapi_client/models/log_download_config.py +206 -0
- anyscale/client/openapi_client/models/log_download_request.py +150 -0
- anyscale/client/openapi_client/models/log_download_result.py +207 -0
- anyscale/client/openapi_client/models/log_file_chunk.py +439 -0
- anyscale/client/openapi_client/models/log_filter.py +430 -0
- anyscale/client/openapi_client/models/log_item.py +181 -0
- anyscale/client/openapi_client/models/log_item_batch.py +151 -0
- anyscale/client/openapi_client/models/log_level_types.py +100 -0
- anyscale/client/openapi_client/models/log_stream.py +151 -0
- anyscale/client/openapi_client/models/logdetails_response.py +121 -0
- anyscale/client/openapi_client/models/logdownloadresult_response.py +121 -0
- anyscale/client/openapi_client/models/login_user_params.py +205 -0
- anyscale/client/openapi_client/models/logitembatch_response.py +121 -0
- anyscale/client/openapi_client/models/logs_output.py +202 -0
- anyscale/client/openapi_client/models/logsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/logstream_response.py +121 -0
- anyscale/client/openapi_client/models/long_running_workload.py +256 -0
- anyscale/client/openapi_client/models/longrunningworkload_list_response.py +147 -0
- anyscale/client/openapi_client/models/machine_allocation_state.py +100 -0
- anyscale/client/openapi_client/models/machine_connection_state.py +100 -0
- anyscale/client/openapi_client/models/machine_info.py +466 -0
- anyscale/client/openapi_client/models/machine_pool.py +266 -0
- anyscale/client/openapi_client/models/metronome_customer_info_model.py +148 -0
- anyscale/client/openapi_client/models/metronome_dashboard_type.py +101 -0
- anyscale/client/openapi_client/models/metronomecustomerinfomodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/metronomecustomerinfomodel_response.py +121 -0
- anyscale/client/openapi_client/models/mini_build.py +267 -0
- anyscale/client/openapi_client/models/mini_cloud.py +321 -0
- anyscale/client/openapi_client/models/mini_cluster.py +148 -0
- anyscale/client/openapi_client/models/mini_compute_template.py +228 -0
- anyscale/client/openapi_client/models/mini_compute_template_config.py +121 -0
- anyscale/client/openapi_client/models/mini_job_run.py +599 -0
- anyscale/client/openapi_client/models/mini_namespace.py +148 -0
- anyscale/client/openapi_client/models/mini_organization.py +148 -0
- anyscale/client/openapi_client/models/mini_production_job.py +202 -0
- anyscale/client/openapi_client/models/mini_project.py +205 -0
- anyscale/client/openapi_client/models/mini_runtime_environment.py +147 -0
- anyscale/client/openapi_client/models/mini_schedule.py +180 -0
- anyscale/client/openapi_client/models/mini_user.py +266 -0
- anyscale/client/openapi_client/models/minibuild_list_response.py +147 -0
- anyscale/client/openapi_client/models/minicomputetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/miniproject_list_response.py +147 -0
- anyscale/client/openapi_client/models/monitor_logs_extension.py +100 -0
- anyscale/client/openapi_client/models/named_entity.py +148 -0
- anyscale/client/openapi_client/models/nfs_mount_target.py +151 -0
- anyscale/client/openapi_client/models/node_registration_aws.py +152 -0
- anyscale/client/openapi_client/models/node_registration_gcp.py +123 -0
- anyscale/client/openapi_client/models/node_registration_k8_s.py +178 -0
- anyscale/client/openapi_client/models/node_registration_provisioned.py +150 -0
- anyscale/client/openapi_client/models/node_registration_v2.py +279 -0
- anyscale/client/openapi_client/models/node_type.py +100 -0
- anyscale/client/openapi_client/models/notification_channel_email_config.py +121 -0
- anyscale/client/openapi_client/models/notification_channel_webhook_config.py +121 -0
- anyscale/client/openapi_client/models/onboarding_user_cards_query.py +122 -0
- anyscale/client/openapi_client/models/organization.py +490 -0
- anyscale/client/openapi_client/models/organization_availability.py +148 -0
- anyscale/client/openapi_client/models/organization_collaborator.py +259 -0
- anyscale/client/openapi_client/models/organization_configuration.py +280 -0
- anyscale/client/openapi_client/models/organization_configuration_response.py +227 -0
- anyscale/client/openapi_client/models/organization_invitation.py +255 -0
- anyscale/client/openapi_client/models/organization_invitation_base.py +121 -0
- anyscale/client/openapi_client/models/organization_marketing_questions.py +198 -0
- anyscale/client/openapi_client/models/organization_permission_level.py +100 -0
- anyscale/client/openapi_client/models/organization_project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/organization_project_collaborator_value.py +148 -0
- anyscale/client/openapi_client/models/organization_public_identifier.py +121 -0
- anyscale/client/openapi_client/models/organization_response.py +121 -0
- anyscale/client/openapi_client/models/organization_summary.py +229 -0
- anyscale/client/openapi_client/models/organization_usage_alert.py +210 -0
- anyscale/client/openapi_client/models/organization_usage_alert_severity.py +100 -0
- anyscale/client/openapi_client/models/organizationavailability_response.py +121 -0
- anyscale/client/openapi_client/models/organizationcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationconfiguration_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationconfigurationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/organizationinvitation_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationinvitation_response.py +121 -0
- anyscale/client/openapi_client/models/organizationinvitationbase_response.py +121 -0
- anyscale/client/openapi_client/models/organizationprojectcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationpublicidentifier_response.py +121 -0
- anyscale/client/openapi_client/models/organizationusagealert_list_response.py +147 -0
- anyscale/client/openapi_client/models/page_query.py +153 -0
- anyscale/client/openapi_client/models/pause_schedule.py +123 -0
- anyscale/client/openapi_client/models/permission_level.py +101 -0
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +577 -0
- anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/platformfinetuningjob_response.py +121 -0
- anyscale/client/openapi_client/models/product_autoscaler_flag.py +122 -0
- anyscale/client/openapi_client/models/product_type.py +100 -0
- anyscale/client/openapi_client/models/productautoscalerflag_response.py +121 -0
- anyscale/client/openapi_client/models/production_job.py +437 -0
- anyscale/client/openapi_client/models/production_job_config.py +348 -0
- anyscale/client/openapi_client/models/production_job_event.py +378 -0
- anyscale/client/openapi_client/models/production_job_event_scope_filter.py +101 -0
- anyscale/client/openapi_client/models/production_job_state_transition.py +293 -0
- anyscale/client/openapi_client/models/productionjob_response.py +121 -0
- anyscale/client/openapi_client/models/productionjobevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/project.py +554 -0
- anyscale/client/openapi_client/models/project_base.py +121 -0
- anyscale/client/openapi_client/models/project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/project_collaborator_value.py +175 -0
- anyscale/client/openapi_client/models/project_collaborators_put_message.py +121 -0
- anyscale/client/openapi_client/models/project_create_message.py +148 -0
- anyscale/client/openapi_client/models/project_default_session_name.py +121 -0
- anyscale/client/openapi_client/models/project_delete_message.py +121 -0
- anyscale/client/openapi_client/models/project_list_response.py +147 -0
- anyscale/client/openapi_client/models/project_patch_message.py +121 -0
- anyscale/client/openapi_client/models/project_response.py +121 -0
- anyscale/client/openapi_client/models/projectbase_response.py +121 -0
- anyscale/client/openapi_client/models/projectcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/projectdefaultsessionname_response.py +121 -0
- anyscale/client/openapi_client/models/projects_sort_field.py +101 -0
- anyscale/client/openapi_client/models/projects_violating_tree_hierarchy_response.py +121 -0
- anyscale/client/openapi_client/models/projectsviolatingtreehierarchyresponse_response.py +121 -0
- anyscale/client/openapi_client/models/protocols.py +150 -0
- anyscale/client/openapi_client/models/provider_metadata.py +205 -0
- anyscale/client/openapi_client/models/providermetadata_response.py +121 -0
- anyscale/client/openapi_client/models/python_modules.py +150 -0
- anyscale/client/openapi_client/models/quota.py +198 -0
- anyscale/client/openapi_client/models/ray_gcs_external_storage_config.py +178 -0
- anyscale/client/openapi_client/models/ray_runtime_env_config.py +262 -0
- anyscale/client/openapi_client/models/read_billing_version.py +210 -0
- anyscale/client/openapi_client/models/readbillingversion_list_response.py +147 -0
- anyscale/client/openapi_client/models/replica_details.py +152 -0
- anyscale/client/openapi_client/models/replica_state.py +104 -0
- anyscale/client/openapi_client/models/request_email_magic_link_response.py +147 -0
- anyscale/client/openapi_client/models/request_otp_return_api_model.py +148 -0
- anyscale/client/openapi_client/models/request_password_reset_params.py +147 -0
- anyscale/client/openapi_client/models/requestemailmagiclinkresponse_response.py +121 -0
- anyscale/client/openapi_client/models/requestotpreturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/reset_password_params.py +148 -0
- anyscale/client/openapi_client/models/resource_quota.py +465 -0
- anyscale/client/openapi_client/models/resource_quota_status.py +123 -0
- anyscale/client/openapi_client/models/resourcequota_list_response.py +147 -0
- anyscale/client/openapi_client/models/resourcequota_response.py +121 -0
- anyscale/client/openapi_client/models/resources.py +234 -0
- anyscale/client/openapi_client/models/resubmit_ft_job_request.py +121 -0
- anyscale/client/openapi_client/models/rollback_service_model.py +122 -0
- anyscale/client/openapi_client/models/rollout_strategy.py +100 -0
- anyscale/client/openapi_client/models/s3_download_location.py +148 -0
- anyscale/client/openapi_client/models/schedule_config.py +151 -0
- anyscale/client/openapi_client/models/serve_deployment_grafana_dashboard_status.py +101 -0
- anyscale/client/openapi_client/models/serve_deployment_logs.py +152 -0
- anyscale/client/openapi_client/models/serve_deployment_state.py +104 -0
- anyscale/client/openapi_client/models/servedeploymentlogs_response.py +121 -0
- anyscale/client/openapi_client/models/server_session_token.py +121 -0
- anyscale/client/openapi_client/models/serversessiontoken_response.py +121 -0
- anyscale/client/openapi_client/models/service_config.py +178 -0
- anyscale/client/openapi_client/models/service_event_current_state.py +108 -0
- anyscale/client/openapi_client/models/service_event_level.py +102 -0
- anyscale/client/openapi_client/models/service_event_origin.py +103 -0
- anyscale/client/openapi_client/models/service_event_scope.py +103 -0
- anyscale/client/openapi_client/models/service_event_scope_filter.py +104 -0
- anyscale/client/openapi_client/models/service_event_type.py +125 -0
- anyscale/client/openapi_client/models/service_event_verbose_message_model.py +180 -0
- anyscale/client/openapi_client/models/service_goal_states.py +100 -0
- anyscale/client/openapi_client/models/service_observability_urls.py +206 -0
- anyscale/client/openapi_client/models/service_sort_field.py +101 -0
- anyscale/client/openapi_client/models/service_type.py +100 -0
- anyscale/client/openapi_client/models/service_usage.py +353 -0
- anyscale/client/openapi_client/models/service_version_state.py +106 -0
- anyscale/client/openapi_client/models/serviceeventverbosemessagemodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/session.py +834 -0
- anyscale/client/openapi_client/models/session_access.py +102 -0
- anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +121 -0
- anyscale/client/openapi_client/models/session_command.py +413 -0
- anyscale/client/openapi_client/models/session_command_finish_options.py +226 -0
- anyscale/client/openapi_client/models/session_command_id.py +121 -0
- anyscale/client/openapi_client/models/session_command_types.py +100 -0
- anyscale/client/openapi_client/models/session_create_message.py +148 -0
- anyscale/client/openapi_client/models/session_delete_message.py +121 -0
- anyscale/client/openapi_client/models/session_describe.py +175 -0
- anyscale/client/openapi_client/models/session_details.py +148 -0
- anyscale/client/openapi_client/models/session_event.py +267 -0
- anyscale/client/openapi_client/models/session_event_cause.py +150 -0
- anyscale/client/openapi_client/models/session_event_types.py +111 -0
- anyscale/client/openapi_client/models/session_execute_message.py +121 -0
- anyscale/client/openapi_client/models/session_finish_command_message.py +175 -0
- anyscale/client/openapi_client/models/session_history_item.py +146 -0
- anyscale/client/openapi_client/models/session_kill_command_message.py +121 -0
- anyscale/client/openapi_client/models/session_list_response.py +147 -0
- anyscale/client/openapi_client/models/session_patch_message.py +121 -0
- anyscale/client/openapi_client/models/session_response.py +121 -0
- anyscale/client/openapi_client/models/session_ssh_key.py +148 -0
- anyscale/client/openapi_client/models/session_starting_up_data.py +146 -0
- anyscale/client/openapi_client/models/session_state.py +111 -0
- anyscale/client/openapi_client/models/session_state_change_message.py +121 -0
- anyscale/client/openapi_client/models/session_state_data.py +146 -0
- anyscale/client/openapi_client/models/session_stopping_data.py +146 -0
- anyscale/client/openapi_client/models/sessioncommand_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessioncommandid_response.py +121 -0
- anyscale/client/openapi_client/models/sessiondescribe_response.py +121 -0
- anyscale/client/openapi_client/models/sessiondetails_response.py +121 -0
- anyscale/client/openapi_client/models/sessionevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessions_sort_field.py +104 -0
- anyscale/client/openapi_client/models/sessionsshkey_response.py +121 -0
- anyscale/client/openapi_client/models/setup_initialize_session_options.py +225 -0
- anyscale/client/openapi_client/models/show_otp_source_return_api_model.py +121 -0
- anyscale/client/openapi_client/models/showotpsourcereturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/snapshot_create_message.py +148 -0
- anyscale/client/openapi_client/models/snapshot_delete_message.py +148 -0
- anyscale/client/openapi_client/models/snapshot_patch_message.py +148 -0
- anyscale/client/openapi_client/models/socket_message_schemas.py +499 -0
- anyscale/client/openapi_client/models/socket_message_types.py +113 -0
- anyscale/client/openapi_client/models/socketmessageschemas_response.py +121 -0
- anyscale/client/openapi_client/models/socketmessagetypes_response.py +121 -0
- anyscale/client/openapi_client/models/sort_order.py +100 -0
- anyscale/client/openapi_client/models/sso_login_info.py +151 -0
- anyscale/client/openapi_client/models/ssologininfo_response.py +121 -0
- anyscale/client/openapi_client/models/start_session_options.py +146 -0
- anyscale/client/openapi_client/models/stop_session_options.py +227 -0
- anyscale/client/openapi_client/models/stream_publish_request.py +239 -0
- anyscale/client/openapi_client/models/subnet_id_with_availability_zone_aws.py +148 -0
- anyscale/client/openapi_client/models/support_requests_query.py +178 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +1570 -0
- anyscale/client/openapi_client/models/templatized_compute_configs.py +202 -0
- anyscale/client/openapi_client/models/templatized_decorated_application_templates.py +202 -0
- anyscale/client/openapi_client/models/templatizedcomputeconfigs_response.py +121 -0
- anyscale/client/openapi_client/models/templatizeddecoratedapplicationtemplates_response.py +121 -0
- anyscale/client/openapi_client/models/text_query.py +178 -0
- anyscale/client/openapi_client/models/timestamped_logs_output.py +148 -0
- anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/tool.py +100 -0
- anyscale/client/openapi_client/models/tracing_config.py +178 -0
- anyscale/client/openapi_client/models/try_login_email_response.py +208 -0
- anyscale/client/openapi_client/models/tryloginemailresponse_response.py +121 -0
- anyscale/client/openapi_client/models/unified_job_sort_field.py +103 -0
- anyscale/client/openapi_client/models/unified_job_status.py +114 -0
- anyscale/client/openapi_client/models/unified_job_type.py +100 -0
- anyscale/client/openapi_client/models/update_cloud_with_cloud_resource.py +178 -0
- anyscale/client/openapi_client/models/update_cloud_with_cloud_resource_gcp.py +178 -0
- anyscale/client/openapi_client/models/update_cluster_dns.py +152 -0
- anyscale/client/openapi_client/models/update_compute_template.py +146 -0
- anyscale/client/openapi_client/models/update_compute_template_config.py +464 -0
- anyscale/client/openapi_client/models/update_endpoint.py +152 -0
- anyscale/client/openapi_client/models/update_machine_pool_request.py +151 -0
- anyscale/client/openapi_client/models/update_model_deployment.py +152 -0
- anyscale/client/openapi_client/models/update_organization_collaborator.py +121 -0
- anyscale/client/openapi_client/models/update_project_collaborator.py +121 -0
- anyscale/client/openapi_client/models/update_resource_quota.py +122 -0
- anyscale/client/openapi_client/models/updatemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/upload_session_command_logs_locations.py +148 -0
- anyscale/client/openapi_client/models/uploadsessioncommandlogslocations_response.py +121 -0
- anyscale/client/openapi_client/models/user_info.py +569 -0
- anyscale/client/openapi_client/models/user_resend_email_options.py +147 -0
- anyscale/client/openapi_client/models/user_service_access_types.py +100 -0
- anyscale/client/openapi_client/models/userinfo_response.py +121 -0
- anyscale/client/openapi_client/models/utm_fields.py +224 -0
- anyscale/client/openapi_client/models/ux_instance.py +468 -0
- anyscale/client/openapi_client/models/validate_otp_params_api_model.py +121 -0
- anyscale/client/openapi_client/models/validation_error.py +175 -0
- anyscale/client/openapi_client/models/verify_response.py +147 -0
- anyscale/client/openapi_client/models/verifyresponse_response.py +121 -0
- anyscale/client/openapi_client/models/visibility.py +100 -0
- anyscale/client/openapi_client/models/waitlist_status_response.py +121 -0
- anyscale/client/openapi_client/models/waitlist_status_type.py +100 -0
- anyscale/client/openapi_client/models/waitliststatusresponse_response.py +121 -0
- anyscale/client/openapi_client/models/wand_b_run_details.py +147 -0
- anyscale/client/openapi_client/models/web_terminal.py +121 -0
- anyscale/client/openapi_client/models/webterminal_list_response.py +147 -0
- anyscale/client/openapi_client/models/webterminal_response.py +121 -0
- anyscale/client/openapi_client/models/worker_node_type.py +404 -0
- anyscale/client/openapi_client/models/workload_type.py +102 -0
- anyscale/client/openapi_client/models/workspace_dataplane_artifact.py +181 -0
- anyscale/client/openapi_client/models/workspace_dataplane_artifacts.py +123 -0
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +178 -0
- anyscale/client/openapi_client/models/workspace_event.py +325 -0
- anyscale/client/openapi_client/models/workspace_event_source.py +100 -0
- anyscale/client/openapi_client/models/workspace_event_source_filter.py +101 -0
- anyscale/client/openapi_client/models/workspace_readme.py +123 -0
- anyscale/client/openapi_client/models/workspace_snapshot_states.py +108 -0
- anyscale/client/openapi_client/models/workspace_template.py +353 -0
- anyscale/client/openapi_client/models/workspace_template_cluster_environment_metadata.py +178 -0
- anyscale/client/openapi_client/models/workspacedataplaneartifacts_response.py +121 -0
- anyscale/client/openapi_client/models/workspacedataplaneproxiedartifacts_response.py +121 -0
- anyscale/client/openapi_client/models/workspaceevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacereadme_response.py +121 -0
- anyscale/client/openapi_client/models/workspacetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacetemplateclusterenvironmentmetadata_response.py +121 -0
- anyscale/client/openapi_client/models/write_cloud.py +546 -0
- anyscale/client/openapi_client/models/write_cluster_config.py +123 -0
- anyscale/client/openapi_client/models/write_project.py +226 -0
- anyscale/client/openapi_client/models/write_session.py +147 -0
- anyscale/client/openapi_client/models/write_support_request.py +121 -0
- anyscale/client/openapi_client/rest.py +296 -0
- anyscale/client/requirements.txt +6 -0
- anyscale/client/setup.cfg +2 -0
- anyscale/client/setup.py +40 -0
- anyscale/client/test-requirements.txt +3 -0
- anyscale/client/tox.ini +9 -0
- anyscale/cloud.py +216 -0
- anyscale/cloud_resource.py +1032 -0
- anyscale/cluster.py +138 -0
- anyscale/cluster_compute.py +167 -0
- anyscale/cluster_env.py +173 -0
- anyscale/commands/__init__.py +0 -0
- anyscale/commands/aggregated_instance_usage_commands.py +86 -0
- anyscale/commands/anyscale_api/__init__.py +0 -0
- anyscale/commands/anyscale_api/api_commands.py +23 -0
- anyscale/commands/anyscale_api/session_commands_commands.py +80 -0
- anyscale/commands/anyscale_api/session_operations_commands.py +28 -0
- anyscale/commands/anyscale_api/sessions_commands.py +152 -0
- anyscale/commands/auth_commands.py +41 -0
- anyscale/commands/cloud_commands.py +1011 -0
- anyscale/commands/cloud_commands_util.py +10 -0
- anyscale/commands/cluster_commands.py +476 -0
- anyscale/commands/cluster_env_commands.py +139 -0
- anyscale/commands/command_examples.py +495 -0
- anyscale/commands/compute_config_commands.py +252 -0
- anyscale/commands/config_commands.py +213 -0
- anyscale/commands/exec_commands.py +14 -0
- anyscale/commands/experimental_integrations_commands.py +70 -0
- anyscale/commands/image_commands.py +125 -0
- anyscale/commands/job_commands.py +745 -0
- anyscale/commands/list_commands.py +85 -0
- anyscale/commands/llm/dataset_commands.py +269 -0
- anyscale/commands/llm/group.py +15 -0
- anyscale/commands/llm/models_commands.py +123 -0
- anyscale/commands/login_commands.py +79 -0
- anyscale/commands/logs_commands.py +312 -0
- anyscale/commands/machine_commands.py +116 -0
- anyscale/commands/machine_pool_commands.py +163 -0
- anyscale/commands/migrate_commands.py +84 -0
- anyscale/commands/project_commands.py +203 -0
- anyscale/commands/resource_quota_commands.py +214 -0
- anyscale/commands/schedule_commands.py +436 -0
- anyscale/commands/service_account_commands.py +72 -0
- anyscale/commands/service_commands.py +738 -0
- anyscale/commands/session_commands_hidden.py +179 -0
- anyscale/commands/util.py +152 -0
- anyscale/commands/workspace_commands.py +511 -0
- anyscale/commands/workspace_commands_v2.py +874 -0
- anyscale/component_activity_util.py +83 -0
- anyscale/compute_config/__init__.py +84 -0
- anyscale/compute_config/_private/compute_config_sdk.py +433 -0
- anyscale/compute_config/commands.py +122 -0
- anyscale/compute_config/models.py +630 -0
- anyscale/conf.py +23 -0
- anyscale/connect.py +1323 -0
- anyscale/connect_utils/__init__.py +0 -0
- anyscale/connect_utils/prepare_cluster.py +962 -0
- anyscale/connect_utils/project.py +298 -0
- anyscale/connect_utils/start_interactive_session.py +437 -0
- anyscale/controllers/__init__.py +0 -0
- anyscale/controllers/auth_controller.py +134 -0
- anyscale/controllers/base_controller.py +52 -0
- anyscale/controllers/cloud_controller.py +3609 -0
- anyscale/controllers/cloud_functional_verification_controller.py +858 -0
- anyscale/controllers/cluster_controller.py +720 -0
- anyscale/controllers/cluster_env_controller.py +219 -0
- anyscale/controllers/compute_config_controller.py +351 -0
- anyscale/controllers/config_controller.py +422 -0
- anyscale/controllers/experimental_integrations_controller.py +80 -0
- anyscale/controllers/job_controller.py +647 -0
- anyscale/controllers/jobs_bg_controller.py +0 -0
- anyscale/controllers/list_controller.py +290 -0
- anyscale/controllers/llm/__init__.py +0 -0
- anyscale/controllers/llm/models_controller.py +144 -0
- anyscale/controllers/logs_controller.py +449 -0
- anyscale/controllers/machine_controller.py +37 -0
- anyscale/controllers/machine_pool_controller.py +86 -0
- anyscale/controllers/project_controller.py +281 -0
- anyscale/controllers/resource_quota_controller.py +183 -0
- anyscale/controllers/schedule_controller.py +333 -0
- anyscale/controllers/service_account_controller.py +168 -0
- anyscale/controllers/service_controller.py +453 -0
- anyscale/controllers/workspace_controller.py +253 -0
- anyscale/feature_flags.py +4 -0
- anyscale/fingerprint.py +62 -0
- anyscale/formatters/__init__.py +0 -0
- anyscale/formatters/clouds_formatter.py +65 -0
- anyscale/formatters/common_formatter.py +22 -0
- anyscale/gcp_verification.py +792 -0
- anyscale/image/__init__.py +73 -0
- anyscale/image/_private/image_sdk.py +202 -0
- anyscale/image/commands.py +117 -0
- anyscale/image/models.py +57 -0
- anyscale/integrations.py +329 -0
- anyscale/job/__init__.py +166 -0
- anyscale/job/_private/job_sdk.py +497 -0
- anyscale/job/commands.py +267 -0
- anyscale/job/models.py +500 -0
- anyscale/links.py +4 -0
- anyscale/llm/__init__.py +2 -0
- anyscale/llm/dataset/__init__.py +2 -0
- anyscale/llm/dataset/_private/__init__.py +0 -0
- anyscale/llm/dataset/_private/docs.py +63 -0
- anyscale/llm/dataset/_private/models.py +71 -0
- anyscale/llm/dataset/_private/sdk.py +147 -0
- anyscale/llm/model/__init__.py +2 -0
- anyscale/llm/model/_private/models_sdk.py +62 -0
- anyscale/llm/model/commands.py +93 -0
- anyscale/llm/model/models.py +171 -0
- anyscale/llm/model/sdk.py +62 -0
- anyscale/llm/sdk.py +27 -0
- anyscale/memorydb_supported_zones.json +22 -0
- anyscale/models/job_model.py +457 -0
- anyscale/models/service_model.py +125 -0
- anyscale/project.py +501 -0
- anyscale/schedule/__init__.py +91 -0
- anyscale/schedule/_private/schedule_sdk.py +165 -0
- anyscale/schedule/commands.py +149 -0
- anyscale/schedule/models.py +145 -0
- anyscale/scripts.py +164 -0
- anyscale/sdk/anyscale_client/__init__.py +235 -0
- anyscale/sdk/anyscale_client/api/__init__.py +6 -0
- anyscale/sdk/anyscale_client/api/default_api.py +11625 -0
- anyscale/sdk/anyscale_client/api_client.py +647 -0
- anyscale/sdk/anyscale_client/configuration.py +373 -0
- anyscale/sdk/anyscale_client/exceptions.py +120 -0
- anyscale/sdk/anyscale_client/models/__init__.py +220 -0
- anyscale/sdk/anyscale_client/models/access_config.py +122 -0
- anyscale/sdk/anyscale_client/models/app_config.py +436 -0
- anyscale/sdk/anyscale_client/models/app_config_config_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/appconfig_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/appconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +490 -0
- anyscale/sdk/anyscale_client/models/apply_service_model.py +490 -0
- anyscale/sdk/anyscale_client/models/archive_status.py +101 -0
- anyscale/sdk/anyscale_client/models/base_job_status.py +105 -0
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +2130 -0
- anyscale/sdk/anyscale_client/models/build.py +607 -0
- anyscale/sdk/anyscale_client/models/build_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/build_log_response.py +123 -0
- anyscale/sdk/anyscale_client/models/build_response.py +121 -0
- anyscale/sdk/anyscale_client/models/build_status.py +104 -0
- anyscale/sdk/anyscale_client/models/buildlogresponse_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cloud.py +802 -0
- anyscale/sdk/anyscale_client/models/cloud_config.py +206 -0
- anyscale/sdk/anyscale_client/models/cloud_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/cloud_providers.py +103 -0
- anyscale/sdk/anyscale_client/models/cloud_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cloud_state.py +104 -0
- anyscale/sdk/anyscale_client/models/cloud_status.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_type.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_types.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_version.py +100 -0
- anyscale/sdk/anyscale_client/models/clouds_query.py +150 -0
- anyscale/sdk/anyscale_client/models/cluster.py +721 -0
- anyscale/sdk/anyscale_client/models/cluster_compute.py +415 -0
- anyscale/sdk/anyscale_client/models/cluster_compute_config.py +461 -0
- anyscale/sdk/anyscale_client/models/cluster_computes_query.py +293 -0
- anyscale/sdk/anyscale_client/models/cluster_environment.py +380 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build.py +578 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_log_response.py +123 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_operation.py +237 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_status.py +104 -0
- anyscale/sdk/anyscale_client/models/cluster_environments_query.py +290 -0
- anyscale/sdk/anyscale_client/models/cluster_head_node_info.py +152 -0
- anyscale/sdk/anyscale_client/models/cluster_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/cluster_management_stack_versions.py +100 -0
- anyscale/sdk/anyscale_client/models/cluster_operation.py +266 -0
- anyscale/sdk/anyscale_client/models/cluster_operation_type.py +101 -0
- anyscale/sdk/anyscale_client/models/cluster_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cluster_services_urls.py +430 -0
- anyscale/sdk/anyscale_client/models/cluster_state.py +108 -0
- anyscale/sdk/anyscale_client/models/cluster_status.py +104 -0
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +100 -0
- anyscale/sdk/anyscale_client/models/clustercompute_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clustercompute_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironment_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clusterenvironment_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildlogresponse_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildoperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusteroperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusters_query.py +234 -0
- anyscale/sdk/anyscale_client/models/compute_node_type.py +292 -0
- anyscale/sdk/anyscale_client/models/compute_stack.py +100 -0
- anyscale/sdk/anyscale_client/models/compute_template.py +415 -0
- anyscale/sdk/anyscale_client/models/compute_template_config.py +461 -0
- anyscale/sdk/anyscale_client/models/compute_template_query.py +316 -0
- anyscale/sdk/anyscale_client/models/computetemplate_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/computetemplate_response.py +121 -0
- anyscale/sdk/anyscale_client/models/computetemplateconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/create_app_config.py +235 -0
- anyscale/sdk/anyscale_client/models/create_app_config_configuration_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/create_build.py +263 -0
- anyscale/sdk/anyscale_client/models/create_byod_app_config_configuration_schema.py +206 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment.py +180 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_build.py +152 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_configuration_schema.py +208 -0
- anyscale/sdk/anyscale_client/models/create_cloud.py +518 -0
- anyscale/sdk/anyscale_client/models/create_cluster.py +376 -0
- anyscale/sdk/anyscale_client/models/create_cluster_compute.py +229 -0
- anyscale/sdk/anyscale_client/models/create_cluster_compute_config.py +463 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment.py +235 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment_build.py +263 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment_configuration_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/create_compute_template.py +229 -0
- anyscale/sdk/anyscale_client/models/create_compute_template_config.py +464 -0
- anyscale/sdk/anyscale_client/models/create_job_queue_config.py +206 -0
- anyscale/sdk/anyscale_client/models/create_production_job.py +234 -0
- anyscale/sdk/anyscale_client/models/create_production_job_config.py +347 -0
- anyscale/sdk/anyscale_client/models/create_project.py +207 -0
- anyscale/sdk/anyscale_client/models/create_schedule.py +263 -0
- anyscale/sdk/anyscale_client/models/create_session.py +432 -0
- anyscale/sdk/anyscale_client/models/create_session_command.py +152 -0
- anyscale/sdk/anyscale_client/models/create_sso_config.py +150 -0
- anyscale/sdk/anyscale_client/models/grpc_protocol_config.py +178 -0
- anyscale/sdk/anyscale_client/models/ha_job_goal_states.py +102 -0
- anyscale/sdk/anyscale_client/models/ha_job_states.py +109 -0
- anyscale/sdk/anyscale_client/models/http_protocol_config.py +150 -0
- anyscale/sdk/anyscale_client/models/http_validation_error.py +120 -0
- anyscale/sdk/anyscale_client/models/idle_termination_status.py +104 -0
- anyscale/sdk/anyscale_client/models/job.py +466 -0
- anyscale/sdk/anyscale_client/models/job_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/job_queue_config.py +122 -0
- anyscale/sdk/anyscale_client/models/job_queue_execution_mode.py +101 -0
- anyscale/sdk/anyscale_client/models/job_queue_spec.py +263 -0
- anyscale/sdk/anyscale_client/models/job_run_type.py +101 -0
- anyscale/sdk/anyscale_client/models/job_status.py +105 -0
- anyscale/sdk/anyscale_client/models/jobs_query.py +458 -0
- anyscale/sdk/anyscale_client/models/jobs_sort_field.py +104 -0
- anyscale/sdk/anyscale_client/models/list_response_metadata.py +146 -0
- anyscale/sdk/anyscale_client/models/list_service_model.py +347 -0
- anyscale/sdk/anyscale_client/models/listservicemodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/log_download_result.py +207 -0
- anyscale/sdk/anyscale_client/models/log_file_chunk.py +439 -0
- anyscale/sdk/anyscale_client/models/log_level_types.py +100 -0
- anyscale/sdk/anyscale_client/models/log_stream.py +151 -0
- anyscale/sdk/anyscale_client/models/logdownloadresult_response.py +121 -0
- anyscale/sdk/anyscale_client/models/logstream_response.py +121 -0
- anyscale/sdk/anyscale_client/models/node_type.py +100 -0
- anyscale/sdk/anyscale_client/models/object_storage_config.py +122 -0
- anyscale/sdk/anyscale_client/models/object_storage_config_s3.py +256 -0
- anyscale/sdk/anyscale_client/models/objectstorageconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/operation_error.py +123 -0
- anyscale/sdk/anyscale_client/models/operation_progress.py +123 -0
- anyscale/sdk/anyscale_client/models/operation_result.py +150 -0
- anyscale/sdk/anyscale_client/models/organization.py +209 -0
- anyscale/sdk/anyscale_client/models/organization_response.py +121 -0
- anyscale/sdk/anyscale_client/models/page_query.py +153 -0
- anyscale/sdk/anyscale_client/models/pause_schedule.py +123 -0
- anyscale/sdk/anyscale_client/models/production_job.py +437 -0
- anyscale/sdk/anyscale_client/models/production_job_config.py +348 -0
- anyscale/sdk/anyscale_client/models/production_job_state_transition.py +293 -0
- anyscale/sdk/anyscale_client/models/production_service_v2_model.py +612 -0
- anyscale/sdk/anyscale_client/models/production_service_v2_version_model.py +437 -0
- anyscale/sdk/anyscale_client/models/productionjob_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/productionjob_response.py +121 -0
- anyscale/sdk/anyscale_client/models/productionservicev2_model_response.py +121 -0
- anyscale/sdk/anyscale_client/models/project.py +467 -0
- anyscale/sdk/anyscale_client/models/project_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/project_response.py +121 -0
- anyscale/sdk/anyscale_client/models/projects_query.py +234 -0
- anyscale/sdk/anyscale_client/models/protocols.py +150 -0
- anyscale/sdk/anyscale_client/models/python_modules.py +150 -0
- anyscale/sdk/anyscale_client/models/python_version.py +105 -0
- anyscale/sdk/anyscale_client/models/ray_gcs_external_storage_config.py +178 -0
- anyscale/sdk/anyscale_client/models/ray_runtime_env_config.py +262 -0
- anyscale/sdk/anyscale_client/models/resources.py +234 -0
- anyscale/sdk/anyscale_client/models/rollback_service_model.py +122 -0
- anyscale/sdk/anyscale_client/models/rollout_strategy.py +100 -0
- anyscale/sdk/anyscale_client/models/runtime_environment.py +406 -0
- anyscale/sdk/anyscale_client/models/runtimeenvironment_response.py +121 -0
- anyscale/sdk/anyscale_client/models/schedule_api_model.py +467 -0
- anyscale/sdk/anyscale_client/models/schedule_config.py +151 -0
- anyscale/sdk/anyscale_client/models/scheduleapimodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/scheduleapimodel_response.py +121 -0
- anyscale/sdk/anyscale_client/models/service_config.py +178 -0
- anyscale/sdk/anyscale_client/models/service_event_current_state.py +108 -0
- anyscale/sdk/anyscale_client/models/service_goal_states.py +100 -0
- anyscale/sdk/anyscale_client/models/service_model.py +612 -0
- anyscale/sdk/anyscale_client/models/service_observability_urls.py +206 -0
- anyscale/sdk/anyscale_client/models/service_sort_field.py +101 -0
- anyscale/sdk/anyscale_client/models/service_type.py +100 -0
- anyscale/sdk/anyscale_client/models/service_version_state.py +106 -0
- anyscale/sdk/anyscale_client/models/servicemodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/servicemodel_response.py +121 -0
- anyscale/sdk/anyscale_client/models/session.py +1535 -0
- anyscale/sdk/anyscale_client/models/session_command.py +350 -0
- anyscale/sdk/anyscale_client/models/session_command_types.py +100 -0
- anyscale/sdk/anyscale_client/models/session_event.py +267 -0
- anyscale/sdk/anyscale_client/models/session_event_cause.py +150 -0
- anyscale/sdk/anyscale_client/models/session_event_types.py +111 -0
- anyscale/sdk/anyscale_client/models/session_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/session_operation.py +266 -0
- anyscale/sdk/anyscale_client/models/session_operation_type.py +101 -0
- anyscale/sdk/anyscale_client/models/session_response.py +121 -0
- anyscale/sdk/anyscale_client/models/session_starting_up_data.py +146 -0
- anyscale/sdk/anyscale_client/models/session_state.py +111 -0
- anyscale/sdk/anyscale_client/models/session_state_data.py +146 -0
- anyscale/sdk/anyscale_client/models/session_stopping_data.py +146 -0
- anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/sessioncommand_response.py +121 -0
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/sessionoperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/sessions_query.py +206 -0
- anyscale/sdk/anyscale_client/models/sort_by_clause_jobs_sort_field.py +148 -0
- anyscale/sdk/anyscale_client/models/sort_order.py +100 -0
- anyscale/sdk/anyscale_client/models/sso_config.py +237 -0
- anyscale/sdk/anyscale_client/models/sso_mode.py +101 -0
- anyscale/sdk/anyscale_client/models/ssoconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/start_cluster_options.py +178 -0
- anyscale/sdk/anyscale_client/models/start_session_options.py +206 -0
- anyscale/sdk/anyscale_client/models/static_sso_config.py +210 -0
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +1570 -0
- anyscale/sdk/anyscale_client/models/terminate_cluster_options.py +122 -0
- anyscale/sdk/anyscale_client/models/terminate_session_options.py +206 -0
- anyscale/sdk/anyscale_client/models/text_query.py +178 -0
- anyscale/sdk/anyscale_client/models/tracing_config.py +178 -0
- anyscale/sdk/anyscale_client/models/update_app_config.py +122 -0
- anyscale/sdk/anyscale_client/models/update_cloud.py +150 -0
- anyscale/sdk/anyscale_client/models/update_cluster.py +206 -0
- anyscale/sdk/anyscale_client/models/update_compute_template.py +146 -0
- anyscale/sdk/anyscale_client/models/update_compute_template_config.py +464 -0
- anyscale/sdk/anyscale_client/models/update_organization.py +123 -0
- anyscale/sdk/anyscale_client/models/update_project.py +150 -0
- anyscale/sdk/anyscale_client/models/update_session.py +150 -0
- anyscale/sdk/anyscale_client/models/user_service_access_types.py +100 -0
- anyscale/sdk/anyscale_client/models/ux_instance.py +468 -0
- anyscale/sdk/anyscale_client/models/validation_error.py +175 -0
- anyscale/sdk/anyscale_client/models/worker_node_type.py +404 -0
- anyscale/sdk/anyscale_client/rest.py +296 -0
- anyscale/sdk/anyscale_client/sdk.py +634 -0
- anyscale/service/__init__.py +168 -0
- anyscale/service/_private/service_sdk.py +702 -0
- anyscale/service/commands.py +261 -0
- anyscale/service/models.py +671 -0
- anyscale/shared_anyscale_utils/__init__.py +1 -0
- anyscale/shared_anyscale_utils/aws.py +153 -0
- anyscale/shared_anyscale_utils/bytes_util.py +10 -0
- anyscale/shared_anyscale_utils/conf.py +47 -0
- anyscale/shared_anyscale_utils/default_anyscale_aws.yaml +74 -0
- anyscale/shared_anyscale_utils/default_anyscale_gcp.yaml +80 -0
- anyscale/shared_anyscale_utils/headers.py +38 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +2 -0
- anyscale/shared_anyscale_utils/project.py +15 -0
- anyscale/shared_anyscale_utils/test_util.py +22 -0
- anyscale/shared_anyscale_utils/tests/__init__.py +1 -0
- anyscale/shared_anyscale_utils/tests/test_asyncio.py +41 -0
- anyscale/shared_anyscale_utils/tests/test_ray_semver.py +63 -0
- anyscale/shared_anyscale_utils/util.py +50 -0
- anyscale/shared_anyscale_utils/utils/__init__.py +2 -0
- anyscale/shared_anyscale_utils/utils/asyncio.py +120 -0
- anyscale/shared_anyscale_utils/utils/byod.py +40 -0
- anyscale/shared_anyscale_utils/utils/collections.py +33 -0
- anyscale/shared_anyscale_utils/utils/id_gen.py +147 -0
- anyscale/shared_anyscale_utils/utils/protected_string.py +89 -0
- anyscale/shared_anyscale_utils/utils/ray_semver.py +81 -0
- anyscale/snapshot.py +46 -0
- anyscale/tables.py +82 -0
- anyscale/util.py +1155 -0
- anyscale/utils/__init__.py +0 -0
- anyscale/utils/cli_version_check_util.py +63 -0
- anyscale/utils/cloud_update_utils.py +862 -0
- anyscale/utils/cloud_utils.py +317 -0
- anyscale/utils/cluster_debug.py +191 -0
- anyscale/utils/connect_helpers.py +155 -0
- anyscale/utils/deprecation_util.py +32 -0
- anyscale/utils/entity_arg_utils.py +43 -0
- anyscale/utils/env_utils.py +17 -0
- anyscale/utils/gcp_managed_setup_utils.py +888 -0
- anyscale/utils/gcp_utils.py +312 -0
- anyscale/utils/imports/__init__.py +0 -0
- anyscale/utils/imports/all.py +13 -0
- anyscale/utils/imports/azure.py +14 -0
- anyscale/utils/imports/gcp.py +59 -0
- anyscale/utils/logs_utils.py +141 -0
- anyscale/utils/name_utils.py +33 -0
- anyscale/utils/network_verification.py +153 -0
- anyscale/utils/ray_utils.py +128 -0
- anyscale/utils/ray_version_checker.py +48 -0
- anyscale/utils/ray_version_utils.py +53 -0
- anyscale/utils/runtime_env.py +487 -0
- anyscale/utils/s3.py +92 -0
- anyscale/utils/user_utils.py +17 -0
- anyscale/utils/workload_types.py +7 -0
- anyscale/utils/workspace_notification.py +39 -0
- anyscale/utils/workspace_utils.py +65 -0
- anyscale/version.py +1 -0
- anyscale/webterminal/__init__.py +0 -0
- anyscale/webterminal/bash-preexec.sh +370 -0
- anyscale/webterminal/command_persister.py +164 -0
- anyscale/webterminal/utils.py +176 -0
- anyscale/webterminal/webterminal.py +311 -0
- anyscale/workspace/__init__.py +270 -0
- anyscale/workspace/_private/workspace_sdk.py +737 -0
- anyscale/workspace/commands.py +472 -0
- anyscale/workspace/models.py +296 -0
- anyscale/workspace_utils.py +35 -0
- anyscale-0.24.86.dist-info/LICENSE +68 -0
- anyscale-0.24.86.dist-info/METADATA +82 -0
- anyscale-0.24.86.dist-info/NOTICE +6 -0
- anyscale-0.24.86.dist-info/RECORD +1131 -0
- anyscale-0.24.86.dist-info/WHEEL +5 -0
- anyscale-0.24.86.dist-info/entry_points.txt +2 -0
- anyscale-0.24.86.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,805 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Managed Ray API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
from openapi_client.configuration import Configuration
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DecoratedProductionJob(object):
|
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
+
Ref: https://openapi-generator.tech
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
openapi_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
openapi_types = {
|
|
36
|
+
'id': 'str',
|
|
37
|
+
'name': 'str',
|
|
38
|
+
'description': 'str',
|
|
39
|
+
'created_at': 'datetime',
|
|
40
|
+
'creator_id': 'str',
|
|
41
|
+
'config': 'ProductionJobConfig',
|
|
42
|
+
'job_queue_config': 'JobQueueConfig',
|
|
43
|
+
'state': 'DecoratedProductionJobStateTransition',
|
|
44
|
+
'project_id': 'str',
|
|
45
|
+
'last_job_run_id': 'str',
|
|
46
|
+
'schedule_id': 'str',
|
|
47
|
+
'job_queue_id': 'str',
|
|
48
|
+
'is_service': 'bool',
|
|
49
|
+
'cost_dollars': 'float',
|
|
50
|
+
'url': 'str',
|
|
51
|
+
'token': 'str',
|
|
52
|
+
'access': 'UserServiceAccessTypes',
|
|
53
|
+
'healthcheck_url': 'str',
|
|
54
|
+
'archived_at': 'datetime',
|
|
55
|
+
'cloud_id': 'str',
|
|
56
|
+
'project': 'MiniProject',
|
|
57
|
+
'creator': 'MiniUser',
|
|
58
|
+
'last_job_run': 'MiniJobRun',
|
|
59
|
+
'schedule': 'MiniSchedule',
|
|
60
|
+
'integration_details': 'IntegrationDetails'
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
attribute_map = {
|
|
64
|
+
'id': 'id',
|
|
65
|
+
'name': 'name',
|
|
66
|
+
'description': 'description',
|
|
67
|
+
'created_at': 'created_at',
|
|
68
|
+
'creator_id': 'creator_id',
|
|
69
|
+
'config': 'config',
|
|
70
|
+
'job_queue_config': 'job_queue_config',
|
|
71
|
+
'state': 'state',
|
|
72
|
+
'project_id': 'project_id',
|
|
73
|
+
'last_job_run_id': 'last_job_run_id',
|
|
74
|
+
'schedule_id': 'schedule_id',
|
|
75
|
+
'job_queue_id': 'job_queue_id',
|
|
76
|
+
'is_service': 'is_service',
|
|
77
|
+
'cost_dollars': 'cost_dollars',
|
|
78
|
+
'url': 'url',
|
|
79
|
+
'token': 'token',
|
|
80
|
+
'access': 'access',
|
|
81
|
+
'healthcheck_url': 'healthcheck_url',
|
|
82
|
+
'archived_at': 'archived_at',
|
|
83
|
+
'cloud_id': 'cloud_id',
|
|
84
|
+
'project': 'project',
|
|
85
|
+
'creator': 'creator',
|
|
86
|
+
'last_job_run': 'last_job_run',
|
|
87
|
+
'schedule': 'schedule',
|
|
88
|
+
'integration_details': 'integration_details'
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
def __init__(self, id=None, name=None, description=None, created_at=None, creator_id=None, config=None, job_queue_config=None, state=None, project_id=None, last_job_run_id=None, schedule_id=None, job_queue_id=None, is_service=None, cost_dollars=None, url=None, token=None, access=None, healthcheck_url=None, archived_at=None, cloud_id=None, project=None, creator=None, last_job_run=None, schedule=None, integration_details=None, local_vars_configuration=None): # noqa: E501
|
|
92
|
+
"""DecoratedProductionJob - a model defined in OpenAPI""" # noqa: E501
|
|
93
|
+
if local_vars_configuration is None:
|
|
94
|
+
local_vars_configuration = Configuration()
|
|
95
|
+
self.local_vars_configuration = local_vars_configuration
|
|
96
|
+
|
|
97
|
+
self._id = None
|
|
98
|
+
self._name = None
|
|
99
|
+
self._description = None
|
|
100
|
+
self._created_at = None
|
|
101
|
+
self._creator_id = None
|
|
102
|
+
self._config = None
|
|
103
|
+
self._job_queue_config = None
|
|
104
|
+
self._state = None
|
|
105
|
+
self._project_id = None
|
|
106
|
+
self._last_job_run_id = None
|
|
107
|
+
self._schedule_id = None
|
|
108
|
+
self._job_queue_id = None
|
|
109
|
+
self._is_service = None
|
|
110
|
+
self._cost_dollars = None
|
|
111
|
+
self._url = None
|
|
112
|
+
self._token = None
|
|
113
|
+
self._access = None
|
|
114
|
+
self._healthcheck_url = None
|
|
115
|
+
self._archived_at = None
|
|
116
|
+
self._cloud_id = None
|
|
117
|
+
self._project = None
|
|
118
|
+
self._creator = None
|
|
119
|
+
self._last_job_run = None
|
|
120
|
+
self._schedule = None
|
|
121
|
+
self._integration_details = None
|
|
122
|
+
self.discriminator = None
|
|
123
|
+
|
|
124
|
+
self.id = id
|
|
125
|
+
self.name = name
|
|
126
|
+
if description is not None:
|
|
127
|
+
self.description = description
|
|
128
|
+
self.created_at = created_at
|
|
129
|
+
self.creator_id = creator_id
|
|
130
|
+
self.config = config
|
|
131
|
+
if job_queue_config is not None:
|
|
132
|
+
self.job_queue_config = job_queue_config
|
|
133
|
+
self.state = state
|
|
134
|
+
self.project_id = project_id
|
|
135
|
+
if last_job_run_id is not None:
|
|
136
|
+
self.last_job_run_id = last_job_run_id
|
|
137
|
+
if schedule_id is not None:
|
|
138
|
+
self.schedule_id = schedule_id
|
|
139
|
+
if job_queue_id is not None:
|
|
140
|
+
self.job_queue_id = job_queue_id
|
|
141
|
+
self.is_service = is_service
|
|
142
|
+
if cost_dollars is not None:
|
|
143
|
+
self.cost_dollars = cost_dollars
|
|
144
|
+
if url is not None:
|
|
145
|
+
self.url = url
|
|
146
|
+
if token is not None:
|
|
147
|
+
self.token = token
|
|
148
|
+
if access is not None:
|
|
149
|
+
self.access = access
|
|
150
|
+
if healthcheck_url is not None:
|
|
151
|
+
self.healthcheck_url = healthcheck_url
|
|
152
|
+
if archived_at is not None:
|
|
153
|
+
self.archived_at = archived_at
|
|
154
|
+
self.cloud_id = cloud_id
|
|
155
|
+
self.project = project
|
|
156
|
+
self.creator = creator
|
|
157
|
+
if last_job_run is not None:
|
|
158
|
+
self.last_job_run = last_job_run
|
|
159
|
+
if schedule is not None:
|
|
160
|
+
self.schedule = schedule
|
|
161
|
+
if integration_details is not None:
|
|
162
|
+
self.integration_details = integration_details
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def id(self):
|
|
166
|
+
"""Gets the id of this DecoratedProductionJob. # noqa: E501
|
|
167
|
+
|
|
168
|
+
The id of this job # noqa: E501
|
|
169
|
+
|
|
170
|
+
:return: The id of this DecoratedProductionJob. # noqa: E501
|
|
171
|
+
:rtype: str
|
|
172
|
+
"""
|
|
173
|
+
return self._id
|
|
174
|
+
|
|
175
|
+
@id.setter
|
|
176
|
+
def id(self, id):
|
|
177
|
+
"""Sets the id of this DecoratedProductionJob.
|
|
178
|
+
|
|
179
|
+
The id of this job # noqa: E501
|
|
180
|
+
|
|
181
|
+
:param id: The id of this DecoratedProductionJob. # noqa: E501
|
|
182
|
+
:type: str
|
|
183
|
+
"""
|
|
184
|
+
if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
|
|
185
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
186
|
+
|
|
187
|
+
self._id = id
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def name(self):
|
|
191
|
+
"""Gets the name of this DecoratedProductionJob. # noqa: E501
|
|
192
|
+
|
|
193
|
+
Name of the job # noqa: E501
|
|
194
|
+
|
|
195
|
+
:return: The name of this DecoratedProductionJob. # noqa: E501
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._name
|
|
199
|
+
|
|
200
|
+
@name.setter
|
|
201
|
+
def name(self, name):
|
|
202
|
+
"""Sets the name of this DecoratedProductionJob.
|
|
203
|
+
|
|
204
|
+
Name of the job # noqa: E501
|
|
205
|
+
|
|
206
|
+
:param name: The name of this DecoratedProductionJob. # noqa: E501
|
|
207
|
+
:type: str
|
|
208
|
+
"""
|
|
209
|
+
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
|
210
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
211
|
+
|
|
212
|
+
self._name = name
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
def description(self):
|
|
216
|
+
"""Gets the description of this DecoratedProductionJob. # noqa: E501
|
|
217
|
+
|
|
218
|
+
Description of the job # noqa: E501
|
|
219
|
+
|
|
220
|
+
:return: The description of this DecoratedProductionJob. # noqa: E501
|
|
221
|
+
:rtype: str
|
|
222
|
+
"""
|
|
223
|
+
return self._description
|
|
224
|
+
|
|
225
|
+
@description.setter
|
|
226
|
+
def description(self, description):
|
|
227
|
+
"""Sets the description of this DecoratedProductionJob.
|
|
228
|
+
|
|
229
|
+
Description of the job # noqa: E501
|
|
230
|
+
|
|
231
|
+
:param description: The description of this DecoratedProductionJob. # noqa: E501
|
|
232
|
+
:type: str
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
self._description = description
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def created_at(self):
|
|
239
|
+
"""Gets the created_at of this DecoratedProductionJob. # noqa: E501
|
|
240
|
+
|
|
241
|
+
The time this job was created # noqa: E501
|
|
242
|
+
|
|
243
|
+
:return: The created_at of this DecoratedProductionJob. # noqa: E501
|
|
244
|
+
:rtype: datetime
|
|
245
|
+
"""
|
|
246
|
+
return self._created_at
|
|
247
|
+
|
|
248
|
+
@created_at.setter
|
|
249
|
+
def created_at(self, created_at):
|
|
250
|
+
"""Sets the created_at of this DecoratedProductionJob.
|
|
251
|
+
|
|
252
|
+
The time this job was created # noqa: E501
|
|
253
|
+
|
|
254
|
+
:param created_at: The created_at of this DecoratedProductionJob. # noqa: E501
|
|
255
|
+
:type: datetime
|
|
256
|
+
"""
|
|
257
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
|
258
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
|
259
|
+
|
|
260
|
+
self._created_at = created_at
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def creator_id(self):
|
|
264
|
+
"""Gets the creator_id of this DecoratedProductionJob. # noqa: E501
|
|
265
|
+
|
|
266
|
+
The id of the user who created this job # noqa: E501
|
|
267
|
+
|
|
268
|
+
:return: The creator_id of this DecoratedProductionJob. # noqa: E501
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
271
|
+
return self._creator_id
|
|
272
|
+
|
|
273
|
+
@creator_id.setter
|
|
274
|
+
def creator_id(self, creator_id):
|
|
275
|
+
"""Sets the creator_id of this DecoratedProductionJob.
|
|
276
|
+
|
|
277
|
+
The id of the user who created this job # noqa: E501
|
|
278
|
+
|
|
279
|
+
:param creator_id: The creator_id of this DecoratedProductionJob. # noqa: E501
|
|
280
|
+
:type: str
|
|
281
|
+
"""
|
|
282
|
+
if self.local_vars_configuration.client_side_validation and creator_id is None: # noqa: E501
|
|
283
|
+
raise ValueError("Invalid value for `creator_id`, must not be `None`") # noqa: E501
|
|
284
|
+
|
|
285
|
+
self._creator_id = creator_id
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def config(self):
|
|
289
|
+
"""Gets the config of this DecoratedProductionJob. # noqa: E501
|
|
290
|
+
|
|
291
|
+
The config that was used to create this job # noqa: E501
|
|
292
|
+
|
|
293
|
+
:return: The config of this DecoratedProductionJob. # noqa: E501
|
|
294
|
+
:rtype: ProductionJobConfig
|
|
295
|
+
"""
|
|
296
|
+
return self._config
|
|
297
|
+
|
|
298
|
+
@config.setter
|
|
299
|
+
def config(self, config):
|
|
300
|
+
"""Sets the config of this DecoratedProductionJob.
|
|
301
|
+
|
|
302
|
+
The config that was used to create this job # noqa: E501
|
|
303
|
+
|
|
304
|
+
:param config: The config of this DecoratedProductionJob. # noqa: E501
|
|
305
|
+
:type: ProductionJobConfig
|
|
306
|
+
"""
|
|
307
|
+
if self.local_vars_configuration.client_side_validation and config is None: # noqa: E501
|
|
308
|
+
raise ValueError("Invalid value for `config`, must not be `None`") # noqa: E501
|
|
309
|
+
|
|
310
|
+
self._config = config
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
def job_queue_config(self):
|
|
314
|
+
"""Gets the job_queue_config of this DecoratedProductionJob. # noqa: E501
|
|
315
|
+
|
|
316
|
+
Job Queue configuration of this job (if applicable) # noqa: E501
|
|
317
|
+
|
|
318
|
+
:return: The job_queue_config of this DecoratedProductionJob. # noqa: E501
|
|
319
|
+
:rtype: JobQueueConfig
|
|
320
|
+
"""
|
|
321
|
+
return self._job_queue_config
|
|
322
|
+
|
|
323
|
+
@job_queue_config.setter
|
|
324
|
+
def job_queue_config(self, job_queue_config):
|
|
325
|
+
"""Sets the job_queue_config of this DecoratedProductionJob.
|
|
326
|
+
|
|
327
|
+
Job Queue configuration of this job (if applicable) # noqa: E501
|
|
328
|
+
|
|
329
|
+
:param job_queue_config: The job_queue_config of this DecoratedProductionJob. # noqa: E501
|
|
330
|
+
:type: JobQueueConfig
|
|
331
|
+
"""
|
|
332
|
+
|
|
333
|
+
self._job_queue_config = job_queue_config
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
def state(self):
|
|
337
|
+
"""Gets the state of this DecoratedProductionJob. # noqa: E501
|
|
338
|
+
|
|
339
|
+
The current state of this job # noqa: E501
|
|
340
|
+
|
|
341
|
+
:return: The state of this DecoratedProductionJob. # noqa: E501
|
|
342
|
+
:rtype: DecoratedProductionJobStateTransition
|
|
343
|
+
"""
|
|
344
|
+
return self._state
|
|
345
|
+
|
|
346
|
+
@state.setter
|
|
347
|
+
def state(self, state):
|
|
348
|
+
"""Sets the state of this DecoratedProductionJob.
|
|
349
|
+
|
|
350
|
+
The current state of this job # noqa: E501
|
|
351
|
+
|
|
352
|
+
:param state: The state of this DecoratedProductionJob. # noqa: E501
|
|
353
|
+
:type: DecoratedProductionJobStateTransition
|
|
354
|
+
"""
|
|
355
|
+
if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501
|
|
356
|
+
raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501
|
|
357
|
+
|
|
358
|
+
self._state = state
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def project_id(self):
|
|
362
|
+
"""Gets the project_id of this DecoratedProductionJob. # noqa: E501
|
|
363
|
+
|
|
364
|
+
Id of the project this job will start clusters in # noqa: E501
|
|
365
|
+
|
|
366
|
+
:return: The project_id of this DecoratedProductionJob. # noqa: E501
|
|
367
|
+
:rtype: str
|
|
368
|
+
"""
|
|
369
|
+
return self._project_id
|
|
370
|
+
|
|
371
|
+
@project_id.setter
|
|
372
|
+
def project_id(self, project_id):
|
|
373
|
+
"""Sets the project_id of this DecoratedProductionJob.
|
|
374
|
+
|
|
375
|
+
Id of the project this job will start clusters in # noqa: E501
|
|
376
|
+
|
|
377
|
+
:param project_id: The project_id of this DecoratedProductionJob. # noqa: E501
|
|
378
|
+
:type: str
|
|
379
|
+
"""
|
|
380
|
+
if self.local_vars_configuration.client_side_validation and project_id is None: # noqa: E501
|
|
381
|
+
raise ValueError("Invalid value for `project_id`, must not be `None`") # noqa: E501
|
|
382
|
+
|
|
383
|
+
self._project_id = project_id
|
|
384
|
+
|
|
385
|
+
@property
|
|
386
|
+
def last_job_run_id(self):
|
|
387
|
+
"""Gets the last_job_run_id of this DecoratedProductionJob. # noqa: E501
|
|
388
|
+
|
|
389
|
+
The id of the last job run # noqa: E501
|
|
390
|
+
|
|
391
|
+
:return: The last_job_run_id of this DecoratedProductionJob. # noqa: E501
|
|
392
|
+
:rtype: str
|
|
393
|
+
"""
|
|
394
|
+
return self._last_job_run_id
|
|
395
|
+
|
|
396
|
+
@last_job_run_id.setter
|
|
397
|
+
def last_job_run_id(self, last_job_run_id):
|
|
398
|
+
"""Sets the last_job_run_id of this DecoratedProductionJob.
|
|
399
|
+
|
|
400
|
+
The id of the last job run # noqa: E501
|
|
401
|
+
|
|
402
|
+
:param last_job_run_id: The last_job_run_id of this DecoratedProductionJob. # noqa: E501
|
|
403
|
+
:type: str
|
|
404
|
+
"""
|
|
405
|
+
|
|
406
|
+
self._last_job_run_id = last_job_run_id
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
def schedule_id(self):
|
|
410
|
+
"""Gets the schedule_id of this DecoratedProductionJob. # noqa: E501
|
|
411
|
+
|
|
412
|
+
If the job was launched via Scheduled job, this will contain the id of that schedule. # noqa: E501
|
|
413
|
+
|
|
414
|
+
:return: The schedule_id of this DecoratedProductionJob. # noqa: E501
|
|
415
|
+
:rtype: str
|
|
416
|
+
"""
|
|
417
|
+
return self._schedule_id
|
|
418
|
+
|
|
419
|
+
@schedule_id.setter
|
|
420
|
+
def schedule_id(self, schedule_id):
|
|
421
|
+
"""Sets the schedule_id of this DecoratedProductionJob.
|
|
422
|
+
|
|
423
|
+
If the job was launched via Scheduled job, this will contain the id of that schedule. # noqa: E501
|
|
424
|
+
|
|
425
|
+
:param schedule_id: The schedule_id of this DecoratedProductionJob. # noqa: E501
|
|
426
|
+
:type: str
|
|
427
|
+
"""
|
|
428
|
+
|
|
429
|
+
self._schedule_id = schedule_id
|
|
430
|
+
|
|
431
|
+
@property
|
|
432
|
+
def job_queue_id(self):
|
|
433
|
+
"""Gets the job_queue_id of this DecoratedProductionJob. # noqa: E501
|
|
434
|
+
|
|
435
|
+
Id of the job queue this job is being enqueued to # noqa: E501
|
|
436
|
+
|
|
437
|
+
:return: The job_queue_id of this DecoratedProductionJob. # noqa: E501
|
|
438
|
+
:rtype: str
|
|
439
|
+
"""
|
|
440
|
+
return self._job_queue_id
|
|
441
|
+
|
|
442
|
+
@job_queue_id.setter
|
|
443
|
+
def job_queue_id(self, job_queue_id):
|
|
444
|
+
"""Sets the job_queue_id of this DecoratedProductionJob.
|
|
445
|
+
|
|
446
|
+
Id of the job queue this job is being enqueued to # noqa: E501
|
|
447
|
+
|
|
448
|
+
:param job_queue_id: The job_queue_id of this DecoratedProductionJob. # noqa: E501
|
|
449
|
+
:type: str
|
|
450
|
+
"""
|
|
451
|
+
|
|
452
|
+
self._job_queue_id = job_queue_id
|
|
453
|
+
|
|
454
|
+
@property
|
|
455
|
+
def is_service(self):
|
|
456
|
+
"""Gets the is_service of this DecoratedProductionJob. # noqa: E501
|
|
457
|
+
|
|
458
|
+
Indicates if this job is runs with indefinitely with HA # noqa: E501
|
|
459
|
+
|
|
460
|
+
:return: The is_service of this DecoratedProductionJob. # noqa: E501
|
|
461
|
+
:rtype: bool
|
|
462
|
+
"""
|
|
463
|
+
return self._is_service
|
|
464
|
+
|
|
465
|
+
@is_service.setter
|
|
466
|
+
def is_service(self, is_service):
|
|
467
|
+
"""Sets the is_service of this DecoratedProductionJob.
|
|
468
|
+
|
|
469
|
+
Indicates if this job is runs with indefinitely with HA # noqa: E501
|
|
470
|
+
|
|
471
|
+
:param is_service: The is_service of this DecoratedProductionJob. # noqa: E501
|
|
472
|
+
:type: bool
|
|
473
|
+
"""
|
|
474
|
+
if self.local_vars_configuration.client_side_validation and is_service is None: # noqa: E501
|
|
475
|
+
raise ValueError("Invalid value for `is_service`, must not be `None`") # noqa: E501
|
|
476
|
+
|
|
477
|
+
self._is_service = is_service
|
|
478
|
+
|
|
479
|
+
@property
|
|
480
|
+
def cost_dollars(self):
|
|
481
|
+
"""Gets the cost_dollars of this DecoratedProductionJob. # noqa: E501
|
|
482
|
+
|
|
483
|
+
The total cost, in dollars, of the ha job. This is the sum of all job runs # noqa: E501
|
|
484
|
+
|
|
485
|
+
:return: The cost_dollars of this DecoratedProductionJob. # noqa: E501
|
|
486
|
+
:rtype: float
|
|
487
|
+
"""
|
|
488
|
+
return self._cost_dollars
|
|
489
|
+
|
|
490
|
+
@cost_dollars.setter
|
|
491
|
+
def cost_dollars(self, cost_dollars):
|
|
492
|
+
"""Sets the cost_dollars of this DecoratedProductionJob.
|
|
493
|
+
|
|
494
|
+
The total cost, in dollars, of the ha job. This is the sum of all job runs # noqa: E501
|
|
495
|
+
|
|
496
|
+
:param cost_dollars: The cost_dollars of this DecoratedProductionJob. # noqa: E501
|
|
497
|
+
:type: float
|
|
498
|
+
"""
|
|
499
|
+
|
|
500
|
+
self._cost_dollars = cost_dollars
|
|
501
|
+
|
|
502
|
+
@property
|
|
503
|
+
def url(self):
|
|
504
|
+
"""Gets the url of this DecoratedProductionJob. # noqa: E501
|
|
505
|
+
|
|
506
|
+
URL to access deployment running in service # noqa: E501
|
|
507
|
+
|
|
508
|
+
:return: The url of this DecoratedProductionJob. # noqa: E501
|
|
509
|
+
:rtype: str
|
|
510
|
+
"""
|
|
511
|
+
return self._url
|
|
512
|
+
|
|
513
|
+
@url.setter
|
|
514
|
+
def url(self, url):
|
|
515
|
+
"""Sets the url of this DecoratedProductionJob.
|
|
516
|
+
|
|
517
|
+
URL to access deployment running in service # noqa: E501
|
|
518
|
+
|
|
519
|
+
:param url: The url of this DecoratedProductionJob. # noqa: E501
|
|
520
|
+
:type: str
|
|
521
|
+
"""
|
|
522
|
+
|
|
523
|
+
self._url = url
|
|
524
|
+
|
|
525
|
+
@property
|
|
526
|
+
def token(self):
|
|
527
|
+
"""Gets the token of this DecoratedProductionJob. # noqa: E501
|
|
528
|
+
|
|
529
|
+
Token used to authenticate user service if it is accessible to public internet. This field will beempty if user service is not publically accessible. # noqa: E501
|
|
530
|
+
|
|
531
|
+
:return: The token of this DecoratedProductionJob. # noqa: E501
|
|
532
|
+
:rtype: str
|
|
533
|
+
"""
|
|
534
|
+
return self._token
|
|
535
|
+
|
|
536
|
+
@token.setter
|
|
537
|
+
def token(self, token):
|
|
538
|
+
"""Sets the token of this DecoratedProductionJob.
|
|
539
|
+
|
|
540
|
+
Token used to authenticate user service if it is accessible to public internet. This field will beempty if user service is not publically accessible. # noqa: E501
|
|
541
|
+
|
|
542
|
+
:param token: The token of this DecoratedProductionJob. # noqa: E501
|
|
543
|
+
:type: str
|
|
544
|
+
"""
|
|
545
|
+
|
|
546
|
+
self._token = token
|
|
547
|
+
|
|
548
|
+
@property
|
|
549
|
+
def access(self):
|
|
550
|
+
"""Gets the access of this DecoratedProductionJob. # noqa: E501
|
|
551
|
+
|
|
552
|
+
Whether service can be accessed by public internet traffic. # noqa: E501
|
|
553
|
+
|
|
554
|
+
:return: The access of this DecoratedProductionJob. # noqa: E501
|
|
555
|
+
:rtype: UserServiceAccessTypes
|
|
556
|
+
"""
|
|
557
|
+
return self._access
|
|
558
|
+
|
|
559
|
+
@access.setter
|
|
560
|
+
def access(self, access):
|
|
561
|
+
"""Sets the access of this DecoratedProductionJob.
|
|
562
|
+
|
|
563
|
+
Whether service can be accessed by public internet traffic. # noqa: E501
|
|
564
|
+
|
|
565
|
+
:param access: The access of this DecoratedProductionJob. # noqa: E501
|
|
566
|
+
:type: UserServiceAccessTypes
|
|
567
|
+
"""
|
|
568
|
+
|
|
569
|
+
self._access = access
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
def healthcheck_url(self):
|
|
573
|
+
"""Gets the healthcheck_url of this DecoratedProductionJob. # noqa: E501
|
|
574
|
+
|
|
575
|
+
The healthcheck url. Anyscale will poll this url to determine whether the service is healthy or not. Only present for services # noqa: E501
|
|
576
|
+
|
|
577
|
+
:return: The healthcheck_url of this DecoratedProductionJob. # noqa: E501
|
|
578
|
+
:rtype: str
|
|
579
|
+
"""
|
|
580
|
+
return self._healthcheck_url
|
|
581
|
+
|
|
582
|
+
@healthcheck_url.setter
|
|
583
|
+
def healthcheck_url(self, healthcheck_url):
|
|
584
|
+
"""Sets the healthcheck_url of this DecoratedProductionJob.
|
|
585
|
+
|
|
586
|
+
The healthcheck url. Anyscale will poll this url to determine whether the service is healthy or not. Only present for services # noqa: E501
|
|
587
|
+
|
|
588
|
+
:param healthcheck_url: The healthcheck_url of this DecoratedProductionJob. # noqa: E501
|
|
589
|
+
:type: str
|
|
590
|
+
"""
|
|
591
|
+
|
|
592
|
+
self._healthcheck_url = healthcheck_url
|
|
593
|
+
|
|
594
|
+
@property
|
|
595
|
+
def archived_at(self):
|
|
596
|
+
"""Gets the archived_at of this DecoratedProductionJob. # noqa: E501
|
|
597
|
+
|
|
598
|
+
The time in which this instance is archived. # noqa: E501
|
|
599
|
+
|
|
600
|
+
:return: The archived_at of this DecoratedProductionJob. # noqa: E501
|
|
601
|
+
:rtype: datetime
|
|
602
|
+
"""
|
|
603
|
+
return self._archived_at
|
|
604
|
+
|
|
605
|
+
@archived_at.setter
|
|
606
|
+
def archived_at(self, archived_at):
|
|
607
|
+
"""Sets the archived_at of this DecoratedProductionJob.
|
|
608
|
+
|
|
609
|
+
The time in which this instance is archived. # noqa: E501
|
|
610
|
+
|
|
611
|
+
:param archived_at: The archived_at of this DecoratedProductionJob. # noqa: E501
|
|
612
|
+
:type: datetime
|
|
613
|
+
"""
|
|
614
|
+
|
|
615
|
+
self._archived_at = archived_at
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
def cloud_id(self):
|
|
619
|
+
"""Gets the cloud_id of this DecoratedProductionJob. # noqa: E501
|
|
620
|
+
|
|
621
|
+
The id of the cloud to which the job belongs. # noqa: E501
|
|
622
|
+
|
|
623
|
+
:return: The cloud_id of this DecoratedProductionJob. # noqa: E501
|
|
624
|
+
:rtype: str
|
|
625
|
+
"""
|
|
626
|
+
return self._cloud_id
|
|
627
|
+
|
|
628
|
+
@cloud_id.setter
|
|
629
|
+
def cloud_id(self, cloud_id):
|
|
630
|
+
"""Sets the cloud_id of this DecoratedProductionJob.
|
|
631
|
+
|
|
632
|
+
The id of the cloud to which the job belongs. # noqa: E501
|
|
633
|
+
|
|
634
|
+
:param cloud_id: The cloud_id of this DecoratedProductionJob. # noqa: E501
|
|
635
|
+
:type: str
|
|
636
|
+
"""
|
|
637
|
+
if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
|
|
638
|
+
raise ValueError("Invalid value for `cloud_id`, must not be `None`") # noqa: E501
|
|
639
|
+
|
|
640
|
+
self._cloud_id = cloud_id
|
|
641
|
+
|
|
642
|
+
@property
|
|
643
|
+
def project(self):
|
|
644
|
+
"""Gets the project of this DecoratedProductionJob. # noqa: E501
|
|
645
|
+
|
|
646
|
+
The project in which this production job lives # noqa: E501
|
|
647
|
+
|
|
648
|
+
:return: The project of this DecoratedProductionJob. # noqa: E501
|
|
649
|
+
:rtype: MiniProject
|
|
650
|
+
"""
|
|
651
|
+
return self._project
|
|
652
|
+
|
|
653
|
+
@project.setter
|
|
654
|
+
def project(self, project):
|
|
655
|
+
"""Sets the project of this DecoratedProductionJob.
|
|
656
|
+
|
|
657
|
+
The project in which this production job lives # noqa: E501
|
|
658
|
+
|
|
659
|
+
:param project: The project of this DecoratedProductionJob. # noqa: E501
|
|
660
|
+
:type: MiniProject
|
|
661
|
+
"""
|
|
662
|
+
if self.local_vars_configuration.client_side_validation and project is None: # noqa: E501
|
|
663
|
+
raise ValueError("Invalid value for `project`, must not be `None`") # noqa: E501
|
|
664
|
+
|
|
665
|
+
self._project = project
|
|
666
|
+
|
|
667
|
+
@property
|
|
668
|
+
def creator(self):
|
|
669
|
+
"""Gets the creator of this DecoratedProductionJob. # noqa: E501
|
|
670
|
+
|
|
671
|
+
The creator of this job # noqa: E501
|
|
672
|
+
|
|
673
|
+
:return: The creator of this DecoratedProductionJob. # noqa: E501
|
|
674
|
+
:rtype: MiniUser
|
|
675
|
+
"""
|
|
676
|
+
return self._creator
|
|
677
|
+
|
|
678
|
+
@creator.setter
|
|
679
|
+
def creator(self, creator):
|
|
680
|
+
"""Sets the creator of this DecoratedProductionJob.
|
|
681
|
+
|
|
682
|
+
The creator of this job # noqa: E501
|
|
683
|
+
|
|
684
|
+
:param creator: The creator of this DecoratedProductionJob. # noqa: E501
|
|
685
|
+
:type: MiniUser
|
|
686
|
+
"""
|
|
687
|
+
if self.local_vars_configuration.client_side_validation and creator is None: # noqa: E501
|
|
688
|
+
raise ValueError("Invalid value for `creator`, must not be `None`") # noqa: E501
|
|
689
|
+
|
|
690
|
+
self._creator = creator
|
|
691
|
+
|
|
692
|
+
@property
|
|
693
|
+
def last_job_run(self):
|
|
694
|
+
"""Gets the last_job_run of this DecoratedProductionJob. # noqa: E501
|
|
695
|
+
|
|
696
|
+
The last job run that a production job ran with metadata # noqa: E501
|
|
697
|
+
|
|
698
|
+
:return: The last_job_run of this DecoratedProductionJob. # noqa: E501
|
|
699
|
+
:rtype: MiniJobRun
|
|
700
|
+
"""
|
|
701
|
+
return self._last_job_run
|
|
702
|
+
|
|
703
|
+
@last_job_run.setter
|
|
704
|
+
def last_job_run(self, last_job_run):
|
|
705
|
+
"""Sets the last_job_run of this DecoratedProductionJob.
|
|
706
|
+
|
|
707
|
+
The last job run that a production job ran with metadata # noqa: E501
|
|
708
|
+
|
|
709
|
+
:param last_job_run: The last_job_run of this DecoratedProductionJob. # noqa: E501
|
|
710
|
+
:type: MiniJobRun
|
|
711
|
+
"""
|
|
712
|
+
|
|
713
|
+
self._last_job_run = last_job_run
|
|
714
|
+
|
|
715
|
+
@property
|
|
716
|
+
def schedule(self):
|
|
717
|
+
"""Gets the schedule of this DecoratedProductionJob. # noqa: E501
|
|
718
|
+
|
|
719
|
+
The schedule this job was launched by, or None if not launched by a schedule. # noqa: E501
|
|
720
|
+
|
|
721
|
+
:return: The schedule of this DecoratedProductionJob. # noqa: E501
|
|
722
|
+
:rtype: MiniSchedule
|
|
723
|
+
"""
|
|
724
|
+
return self._schedule
|
|
725
|
+
|
|
726
|
+
@schedule.setter
|
|
727
|
+
def schedule(self, schedule):
|
|
728
|
+
"""Sets the schedule of this DecoratedProductionJob.
|
|
729
|
+
|
|
730
|
+
The schedule this job was launched by, or None if not launched by a schedule. # noqa: E501
|
|
731
|
+
|
|
732
|
+
:param schedule: The schedule of this DecoratedProductionJob. # noqa: E501
|
|
733
|
+
:type: MiniSchedule
|
|
734
|
+
"""
|
|
735
|
+
|
|
736
|
+
self._schedule = schedule
|
|
737
|
+
|
|
738
|
+
@property
|
|
739
|
+
def integration_details(self):
|
|
740
|
+
"""Gets the integration_details of this DecoratedProductionJob. # noqa: E501
|
|
741
|
+
|
|
742
|
+
Integration details (eg: W&B run URL) associated with this job. # noqa: E501
|
|
743
|
+
|
|
744
|
+
:return: The integration_details of this DecoratedProductionJob. # noqa: E501
|
|
745
|
+
:rtype: IntegrationDetails
|
|
746
|
+
"""
|
|
747
|
+
return self._integration_details
|
|
748
|
+
|
|
749
|
+
@integration_details.setter
|
|
750
|
+
def integration_details(self, integration_details):
|
|
751
|
+
"""Sets the integration_details of this DecoratedProductionJob.
|
|
752
|
+
|
|
753
|
+
Integration details (eg: W&B run URL) associated with this job. # noqa: E501
|
|
754
|
+
|
|
755
|
+
:param integration_details: The integration_details of this DecoratedProductionJob. # noqa: E501
|
|
756
|
+
:type: IntegrationDetails
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
self._integration_details = integration_details
|
|
760
|
+
|
|
761
|
+
def to_dict(self):
|
|
762
|
+
"""Returns the model properties as a dict"""
|
|
763
|
+
result = {}
|
|
764
|
+
|
|
765
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
766
|
+
value = getattr(self, attr)
|
|
767
|
+
if isinstance(value, list):
|
|
768
|
+
result[attr] = list(map(
|
|
769
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
770
|
+
value
|
|
771
|
+
))
|
|
772
|
+
elif hasattr(value, "to_dict"):
|
|
773
|
+
result[attr] = value.to_dict()
|
|
774
|
+
elif isinstance(value, dict):
|
|
775
|
+
result[attr] = dict(map(
|
|
776
|
+
lambda item: (item[0], item[1].to_dict())
|
|
777
|
+
if hasattr(item[1], "to_dict") else item,
|
|
778
|
+
value.items()
|
|
779
|
+
))
|
|
780
|
+
else:
|
|
781
|
+
result[attr] = value
|
|
782
|
+
|
|
783
|
+
return result
|
|
784
|
+
|
|
785
|
+
def to_str(self):
|
|
786
|
+
"""Returns the string representation of the model"""
|
|
787
|
+
return pprint.pformat(self.to_dict())
|
|
788
|
+
|
|
789
|
+
def __repr__(self):
|
|
790
|
+
"""For `print` and `pprint`"""
|
|
791
|
+
return self.to_str()
|
|
792
|
+
|
|
793
|
+
def __eq__(self, other):
|
|
794
|
+
"""Returns true if both objects are equal"""
|
|
795
|
+
if not isinstance(other, DecoratedProductionJob):
|
|
796
|
+
return False
|
|
797
|
+
|
|
798
|
+
return self.to_dict() == other.to_dict()
|
|
799
|
+
|
|
800
|
+
def __ne__(self, other):
|
|
801
|
+
"""Returns true if both objects are not equal"""
|
|
802
|
+
if not isinstance(other, DecoratedProductionJob):
|
|
803
|
+
return True
|
|
804
|
+
|
|
805
|
+
return self.to_dict() != other.to_dict()
|