lightning-sdk 2025.8.6rc2__py3-none-any.whl → 2025.11.5__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.
- lightning_sdk/__init__.py +13 -7
- lightning_sdk/__version__.py +3 -0
- lightning_sdk/agents.py +2 -1
- lightning_sdk/ai_hub.py +2 -1
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/base_studio_api.py +13 -9
- lightning_sdk/api/cloud_account_api.py +31 -10
- lightning_sdk/api/deployment_api.py +27 -1
- lightning_sdk/api/job_api.py +16 -12
- lightning_sdk/api/license_api.py +26 -59
- lightning_sdk/api/llm_api.py +25 -2
- lightning_sdk/api/mmt_api.py +5 -2
- lightning_sdk/api/studio_api.py +252 -55
- lightning_sdk/api/teamspace_api.py +106 -30
- lightning_sdk/api/user_api.py +56 -2
- lightning_sdk/api/utils.py +108 -18
- lightning_sdk/base_studio.py +51 -27
- lightning_sdk/cli/__init__.py +1 -0
- lightning_sdk/cli/base_studio/__init__.py +10 -0
- lightning_sdk/cli/base_studio/list.py +43 -0
- lightning_sdk/cli/config/__init__.py +14 -0
- lightning_sdk/cli/config/get.py +57 -0
- lightning_sdk/cli/config/set.py +92 -0
- lightning_sdk/cli/config/show.py +9 -0
- lightning_sdk/cli/entrypoint.py +71 -71
- lightning_sdk/cli/groups.py +56 -0
- lightning_sdk/cli/job/__init__.py +7 -0
- lightning_sdk/cli/{clusters_menu.py → legacy/clusters_menu.py} +9 -6
- lightning_sdk/cli/{configure.py → legacy/configure.py} +2 -2
- lightning_sdk/cli/{connect.py → legacy/connect.py} +2 -2
- lightning_sdk/cli/{create.py → legacy/create.py} +12 -14
- lightning_sdk/cli/{delete.py → legacy/delete.py} +5 -5
- lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
- lightning_sdk/cli/{deploy → legacy/deploy}/_auth.py +5 -6
- lightning_sdk/cli/{deploy → legacy/deploy}/devbox.py +8 -2
- lightning_sdk/cli/{deploy → legacy/deploy}/serve.py +19 -8
- lightning_sdk/cli/{download.py → legacy/download.py} +14 -15
- lightning_sdk/cli/legacy/entrypoint.py +110 -0
- lightning_sdk/cli/{generate.py → legacy/generate.py} +1 -1
- lightning_sdk/cli/{inspection.py → legacy/inspection.py} +1 -1
- lightning_sdk/cli/{job_and_mmt_action.py → legacy/job_and_mmt_action.py} +6 -6
- lightning_sdk/cli/{jobs_menu.py → legacy/jobs_menu.py} +1 -1
- lightning_sdk/cli/{list.py → legacy/list.py} +12 -13
- lightning_sdk/cli/{mmts_menu.py → legacy/mmts_menu.py} +1 -1
- lightning_sdk/cli/{open.py → legacy/open.py} +4 -4
- lightning_sdk/cli/{start.py → legacy/start.py} +1 -0
- lightning_sdk/cli/{stop.py → legacy/stop.py} +1 -1
- lightning_sdk/cli/{switch.py → legacy/switch.py} +1 -0
- lightning_sdk/cli/{teamspace_menu.py → legacy/teamspace_menu.py} +1 -1
- lightning_sdk/cli/{upload.py → legacy/upload.py} +7 -8
- lightning_sdk/cli/license/__init__.py +14 -0
- lightning_sdk/cli/license/get.py +15 -0
- lightning_sdk/cli/license/list.py +45 -0
- lightning_sdk/cli/license/set.py +13 -0
- lightning_sdk/cli/mmt/__init__.py +7 -0
- lightning_sdk/cli/studio/__init__.py +24 -0
- lightning_sdk/cli/studio/connect.py +139 -0
- lightning_sdk/cli/studio/create.py +96 -0
- lightning_sdk/cli/studio/delete.py +49 -0
- lightning_sdk/cli/studio/list.py +85 -0
- lightning_sdk/cli/studio/ssh.py +64 -0
- lightning_sdk/cli/studio/start.py +115 -0
- lightning_sdk/cli/studio/stop.py +45 -0
- lightning_sdk/cli/studio/switch.py +66 -0
- lightning_sdk/cli/utils/__init__.py +7 -0
- lightning_sdk/cli/utils/cloud_account_map.py +10 -0
- lightning_sdk/cli/utils/get_base_studio.py +24 -0
- lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +69 -0
- lightning_sdk/cli/utils/logging.py +122 -0
- lightning_sdk/cli/utils/owner_selection.py +110 -0
- lightning_sdk/cli/utils/resolve.py +28 -0
- lightning_sdk/cli/utils/richt_print.py +35 -0
- lightning_sdk/cli/utils/save_to_config.py +27 -0
- lightning_sdk/cli/utils/ssh_connection.py +59 -0
- lightning_sdk/cli/utils/studio_selection.py +113 -0
- lightning_sdk/cli/utils/teamspace_selection.py +125 -0
- lightning_sdk/cli/vm/__init__.py +20 -0
- lightning_sdk/cli/vm/create.py +33 -0
- lightning_sdk/cli/vm/delete.py +25 -0
- lightning_sdk/cli/vm/list.py +30 -0
- lightning_sdk/cli/vm/ssh.py +31 -0
- lightning_sdk/cli/vm/start.py +60 -0
- lightning_sdk/cli/vm/stop.py +25 -0
- lightning_sdk/cli/vm/switch.py +38 -0
- lightning_sdk/constants.py +1 -0
- lightning_sdk/deployment/__init__.py +2 -0
- lightning_sdk/deployment/deployment.py +17 -2
- lightning_sdk/helpers.py +56 -37
- lightning_sdk/job/base.py +21 -6
- lightning_sdk/job/job.py +13 -0
- lightning_sdk/job/v1.py +11 -0
- lightning_sdk/job/v2.py +12 -0
- lightning_sdk/lightning_cloud/login.py +320 -10
- lightning_sdk/lightning_cloud/openapi/__init__.py +113 -3
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +3 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +713 -75
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +376 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +191 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +420 -0
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +0 -97
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +420 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +101 -0
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1742 -94
- lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +108 -108
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +347 -0
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +761 -1
- lightning_sdk/lightning_cloud/openapi/configuration.py +3 -19
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +110 -3
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/create.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +3 -81
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_render_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_sleepconfig_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/job_id_reportroutingtelemetry_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/kubernetestemplates_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +109 -31
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_storagetransfers_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_tab_management_messages.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/storagetransfers_validate_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/update1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +0 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +147 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +1527 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +21 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_kubernetes_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_firewall_rule.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_market_pricing_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_user.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_severity.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_indexes.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_aws_config.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template_property.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_elastic_cluster_v1.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metric_timestamps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_user_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_conversation_message_actions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_product_licenses_response.py → v1_list_license_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedule_runs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_storage_transfers_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lustre_data_connection.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_metrics.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_user_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +361 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +335 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_product_license_check_response.py → v1_purchase_annual_upsell_request.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_render_kubernetes_template_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_request.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_run.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer_status.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +3 -81
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +444 -600
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +29 -3
- lightning_sdk/lightning_cloud/rest_client.py +48 -45
- lightning_sdk/lightning_cloud/utils/data_connection.py +51 -1
- lightning_sdk/llm/llm.py +175 -56
- lightning_sdk/llm/public_assistants.py +44 -7
- lightning_sdk/machine.py +21 -2
- lightning_sdk/mmt/base.py +7 -0
- lightning_sdk/mmt/mmt.py +11 -3
- lightning_sdk/mmt/v1.py +3 -1
- lightning_sdk/mmt/v2.py +4 -0
- lightning_sdk/owner.py +2 -1
- lightning_sdk/pipeline/steps.py +6 -0
- lightning_sdk/plugin.py +6 -1
- lightning_sdk/studio.py +294 -53
- lightning_sdk/teamspace.py +167 -7
- lightning_sdk/user.py +19 -1
- lightning_sdk/utils/config.py +179 -0
- lightning_sdk/utils/license.py +13 -0
- lightning_sdk/utils/logging.py +79 -0
- lightning_sdk/utils/names.py +1179 -0
- lightning_sdk/utils/progress.py +283 -0
- lightning_sdk/utils/resolve.py +82 -7
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/METADATA +2 -1
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/RECORD +328 -169
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/entry_points.txt +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +0 -435
- lightning_sdk/services/license.py +0 -363
- /lightning_sdk/cli/{deploy → legacy}/__init__.py +0 -0
- /lightning_sdk/cli/{ai_hub.py → legacy/ai_hub.py} +0 -0
- /lightning_sdk/cli/{docker_cli.py → legacy/docker_cli.py} +0 -0
- /lightning_sdk/cli/{exceptions.py → legacy/exceptions.py} +0 -0
- /lightning_sdk/cli/{run.py → legacy/run.py} +0 -0
- /lightning_sdk/cli/{studios_menu.py → legacy/studios_menu.py} +0 -0
- /lightning_sdk/cli/{coloring.py → utils/coloring.py} +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/top_level.txt +0 -0
|
@@ -46,7 +46,7 @@ class AssistantIdConversationsBody(object):
|
|
|
46
46
|
'conversation_id': 'str',
|
|
47
47
|
'ephemeral': 'bool',
|
|
48
48
|
'internal_conversation': 'bool',
|
|
49
|
-
'
|
|
49
|
+
'max_completion_tokens': 'str',
|
|
50
50
|
'message': 'V1Message',
|
|
51
51
|
'metadata': 'dict(str, str)',
|
|
52
52
|
'name': 'str',
|
|
@@ -66,7 +66,7 @@ class AssistantIdConversationsBody(object):
|
|
|
66
66
|
'conversation_id': 'conversationId',
|
|
67
67
|
'ephemeral': 'ephemeral',
|
|
68
68
|
'internal_conversation': 'internalConversation',
|
|
69
|
-
'
|
|
69
|
+
'max_completion_tokens': 'maxCompletionTokens',
|
|
70
70
|
'message': 'message',
|
|
71
71
|
'metadata': 'metadata',
|
|
72
72
|
'name': 'name',
|
|
@@ -80,14 +80,14 @@ class AssistantIdConversationsBody(object):
|
|
|
80
80
|
'tools': 'tools'
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, ephemeral: 'bool' =None, internal_conversation: 'bool' =None,
|
|
83
|
+
def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, ephemeral: 'bool' =None, internal_conversation: 'bool' =None, max_completion_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_conversation_id: 'str' =None, parent_message_id: 'str' =None, reasoning_effort: 'str' =None, sent_at: 'datetime' =None, store: 'bool' =None, stream: 'bool' =None, system_prompt: 'str' =None, tools: 'list[V1Tool]' =None): # noqa: E501
|
|
84
84
|
"""AssistantIdConversationsBody - a model defined in Swagger""" # noqa: E501
|
|
85
85
|
self._auto_name = None
|
|
86
86
|
self._billing_project_id = None
|
|
87
87
|
self._conversation_id = None
|
|
88
88
|
self._ephemeral = None
|
|
89
89
|
self._internal_conversation = None
|
|
90
|
-
self.
|
|
90
|
+
self._max_completion_tokens = None
|
|
91
91
|
self._message = None
|
|
92
92
|
self._metadata = None
|
|
93
93
|
self._name = None
|
|
@@ -110,8 +110,8 @@ class AssistantIdConversationsBody(object):
|
|
|
110
110
|
self.ephemeral = ephemeral
|
|
111
111
|
if internal_conversation is not None:
|
|
112
112
|
self.internal_conversation = internal_conversation
|
|
113
|
-
if
|
|
114
|
-
self.
|
|
113
|
+
if max_completion_tokens is not None:
|
|
114
|
+
self.max_completion_tokens = max_completion_tokens
|
|
115
115
|
if message is not None:
|
|
116
116
|
self.message = message
|
|
117
117
|
if metadata is not None:
|
|
@@ -241,25 +241,25 @@ class AssistantIdConversationsBody(object):
|
|
|
241
241
|
self._internal_conversation = internal_conversation
|
|
242
242
|
|
|
243
243
|
@property
|
|
244
|
-
def
|
|
245
|
-
"""Gets the
|
|
244
|
+
def max_completion_tokens(self) -> 'str':
|
|
245
|
+
"""Gets the max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
:return: The
|
|
248
|
+
:return: The max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
|
|
249
249
|
:rtype: str
|
|
250
250
|
"""
|
|
251
|
-
return self.
|
|
251
|
+
return self._max_completion_tokens
|
|
252
252
|
|
|
253
|
-
@
|
|
254
|
-
def
|
|
255
|
-
"""Sets the
|
|
253
|
+
@max_completion_tokens.setter
|
|
254
|
+
def max_completion_tokens(self, max_completion_tokens: 'str'):
|
|
255
|
+
"""Sets the max_completion_tokens of this AssistantIdConversationsBody.
|
|
256
256
|
|
|
257
257
|
|
|
258
|
-
:param
|
|
258
|
+
:param max_completion_tokens: The max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
|
|
259
259
|
:type: str
|
|
260
260
|
"""
|
|
261
261
|
|
|
262
|
-
self.
|
|
262
|
+
self._max_completion_tokens = max_completion_tokens
|
|
263
263
|
|
|
264
264
|
@property
|
|
265
265
|
def message(self) -> 'V1Message':
|
|
@@ -41,20 +41,46 @@ class CloudspaceIdVisibilityBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'emails': 'list[str]',
|
|
44
45
|
'visibility': 'V1ResourceVisibility'
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
attribute_map = {
|
|
49
|
+
'emails': 'emails',
|
|
48
50
|
'visibility': 'visibility'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
53
|
+
def __init__(self, emails: 'list[str]' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
52
54
|
"""CloudspaceIdVisibilityBody - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
self._emails = None
|
|
53
56
|
self._visibility = None
|
|
54
57
|
self.discriminator = None
|
|
58
|
+
if emails is not None:
|
|
59
|
+
self.emails = emails
|
|
55
60
|
if visibility is not None:
|
|
56
61
|
self.visibility = visibility
|
|
57
62
|
|
|
63
|
+
@property
|
|
64
|
+
def emails(self) -> 'list[str]':
|
|
65
|
+
"""Gets the emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
69
|
+
:rtype: list[str]
|
|
70
|
+
"""
|
|
71
|
+
return self._emails
|
|
72
|
+
|
|
73
|
+
@emails.setter
|
|
74
|
+
def emails(self, emails: 'list[str]'):
|
|
75
|
+
"""Sets the emails of this CloudspaceIdVisibilityBody.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param emails: The emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
79
|
+
:type: list[str]
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._emails = emails
|
|
83
|
+
|
|
58
84
|
@property
|
|
59
85
|
def visibility(self) -> 'V1ResourceVisibility':
|
|
60
86
|
"""Gets the visibility of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import pprint
|
|
21
|
+
import re # noqa: F401
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
import six
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from datetime import datetime
|
|
29
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
|
+
|
|
31
|
+
class ClusterIdKubernetestemplatesBody(object):
|
|
32
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
'description': 'str',
|
|
45
|
+
'name': 'str',
|
|
46
|
+
'properties': 'list[V1KubernetesTemplateProperty]',
|
|
47
|
+
'spec': 'str'
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
attribute_map = {
|
|
51
|
+
'description': 'description',
|
|
52
|
+
'name': 'name',
|
|
53
|
+
'properties': 'properties',
|
|
54
|
+
'spec': 'spec'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, description: 'str' =None, name: 'str' =None, properties: 'list[V1KubernetesTemplateProperty]' =None, spec: 'str' =None): # noqa: E501
|
|
58
|
+
"""ClusterIdKubernetestemplatesBody - a model defined in Swagger""" # noqa: E501
|
|
59
|
+
self._description = None
|
|
60
|
+
self._name = None
|
|
61
|
+
self._properties = None
|
|
62
|
+
self._spec = None
|
|
63
|
+
self.discriminator = None
|
|
64
|
+
if description is not None:
|
|
65
|
+
self.description = description
|
|
66
|
+
if name is not None:
|
|
67
|
+
self.name = name
|
|
68
|
+
if properties is not None:
|
|
69
|
+
self.properties = properties
|
|
70
|
+
if spec is not None:
|
|
71
|
+
self.spec = spec
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def description(self) -> 'str':
|
|
75
|
+
"""Gets the description of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:return: The description of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._description
|
|
82
|
+
|
|
83
|
+
@description.setter
|
|
84
|
+
def description(self, description: 'str'):
|
|
85
|
+
"""Sets the description of this ClusterIdKubernetestemplatesBody.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
:param description: The description of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
89
|
+
:type: str
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
self._description = description
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def name(self) -> 'str':
|
|
96
|
+
"""Gets the name of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:return: The name of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
100
|
+
:rtype: str
|
|
101
|
+
"""
|
|
102
|
+
return self._name
|
|
103
|
+
|
|
104
|
+
@name.setter
|
|
105
|
+
def name(self, name: 'str'):
|
|
106
|
+
"""Sets the name of this ClusterIdKubernetestemplatesBody.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
:param name: The name of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
110
|
+
:type: str
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
self._name = name
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def properties(self) -> 'list[V1KubernetesTemplateProperty]':
|
|
117
|
+
"""Gets the properties of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:return: The properties of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
121
|
+
:rtype: list[V1KubernetesTemplateProperty]
|
|
122
|
+
"""
|
|
123
|
+
return self._properties
|
|
124
|
+
|
|
125
|
+
@properties.setter
|
|
126
|
+
def properties(self, properties: 'list[V1KubernetesTemplateProperty]'):
|
|
127
|
+
"""Sets the properties of this ClusterIdKubernetestemplatesBody.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param properties: The properties of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
131
|
+
:type: list[V1KubernetesTemplateProperty]
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
self._properties = properties
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def spec(self) -> 'str':
|
|
138
|
+
"""Gets the spec of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:return: The spec of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._spec
|
|
145
|
+
|
|
146
|
+
@spec.setter
|
|
147
|
+
def spec(self, spec: 'str'):
|
|
148
|
+
"""Sets the spec of this ClusterIdKubernetestemplatesBody.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:param spec: The spec of this ClusterIdKubernetestemplatesBody. # noqa: E501
|
|
152
|
+
:type: str
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
self._spec = spec
|
|
156
|
+
|
|
157
|
+
def to_dict(self) -> dict:
|
|
158
|
+
"""Returns the model properties as a dict"""
|
|
159
|
+
result = {}
|
|
160
|
+
|
|
161
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
162
|
+
value = getattr(self, attr)
|
|
163
|
+
if isinstance(value, list):
|
|
164
|
+
result[attr] = list(map(
|
|
165
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
166
|
+
value
|
|
167
|
+
))
|
|
168
|
+
elif hasattr(value, "to_dict"):
|
|
169
|
+
result[attr] = value.to_dict()
|
|
170
|
+
elif isinstance(value, dict):
|
|
171
|
+
result[attr] = dict(map(
|
|
172
|
+
lambda item: (item[0], item[1].to_dict())
|
|
173
|
+
if hasattr(item[1], "to_dict") else item,
|
|
174
|
+
value.items()
|
|
175
|
+
))
|
|
176
|
+
else:
|
|
177
|
+
result[attr] = value
|
|
178
|
+
if issubclass(ClusterIdKubernetestemplatesBody, dict):
|
|
179
|
+
for key, value in self.items():
|
|
180
|
+
result[key] = value
|
|
181
|
+
|
|
182
|
+
return result
|
|
183
|
+
|
|
184
|
+
def to_str(self) -> str:
|
|
185
|
+
"""Returns the string representation of the model"""
|
|
186
|
+
return pprint.pformat(self.to_dict())
|
|
187
|
+
|
|
188
|
+
def __repr__(self) -> str:
|
|
189
|
+
"""For `print` and `pprint`"""
|
|
190
|
+
return self.to_str()
|
|
191
|
+
|
|
192
|
+
def __eq__(self, other: 'ClusterIdKubernetestemplatesBody') -> bool:
|
|
193
|
+
"""Returns true if both objects are equal"""
|
|
194
|
+
if not isinstance(other, ClusterIdKubernetestemplatesBody):
|
|
195
|
+
return False
|
|
196
|
+
|
|
197
|
+
return self.__dict__ == other.__dict__
|
|
198
|
+
|
|
199
|
+
def __ne__(self, other: 'ClusterIdKubernetestemplatesBody') -> bool:
|
|
200
|
+
"""Returns true if both objects are not equal"""
|
|
201
|
+
return not self == other
|
|
@@ -41,30 +41,76 @@ class ClusterIdMetricsBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'cluster_metrics': 'V1ClusterMetrics',
|
|
44
45
|
'container_metrics': 'list[V1ContainerMetrics]',
|
|
46
|
+
'group_node_metrics': 'list[V1GroupNodeMetrics]',
|
|
47
|
+
'group_pod_metrics': 'list[V1GroupPodMetrics]',
|
|
48
|
+
'kai_scheduler_queues_metrics': 'list[V1KaiSchedulerQueueMetrics]',
|
|
49
|
+
'namespace_metrics': 'list[V1NamespaceMetrics]',
|
|
45
50
|
'node_metrics': 'list[V1NodeMetrics]',
|
|
46
51
|
'pod_metrics': 'list[V1PodMetrics]'
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
attribute_map = {
|
|
55
|
+
'cluster_metrics': 'clusterMetrics',
|
|
50
56
|
'container_metrics': 'containerMetrics',
|
|
57
|
+
'group_node_metrics': 'groupNodeMetrics',
|
|
58
|
+
'group_pod_metrics': 'groupPodMetrics',
|
|
59
|
+
'kai_scheduler_queues_metrics': 'kaiSchedulerQueuesMetrics',
|
|
60
|
+
'namespace_metrics': 'namespaceMetrics',
|
|
51
61
|
'node_metrics': 'nodeMetrics',
|
|
52
62
|
'pod_metrics': 'podMetrics'
|
|
53
63
|
}
|
|
54
64
|
|
|
55
|
-
def __init__(self, container_metrics: 'list[V1ContainerMetrics]' =None, node_metrics: 'list[V1NodeMetrics]' =None, pod_metrics: 'list[V1PodMetrics]' =None): # noqa: E501
|
|
65
|
+
def __init__(self, cluster_metrics: 'V1ClusterMetrics' =None, container_metrics: 'list[V1ContainerMetrics]' =None, group_node_metrics: 'list[V1GroupNodeMetrics]' =None, group_pod_metrics: 'list[V1GroupPodMetrics]' =None, kai_scheduler_queues_metrics: 'list[V1KaiSchedulerQueueMetrics]' =None, namespace_metrics: 'list[V1NamespaceMetrics]' =None, node_metrics: 'list[V1NodeMetrics]' =None, pod_metrics: 'list[V1PodMetrics]' =None): # noqa: E501
|
|
56
66
|
"""ClusterIdMetricsBody - a model defined in Swagger""" # noqa: E501
|
|
67
|
+
self._cluster_metrics = None
|
|
57
68
|
self._container_metrics = None
|
|
69
|
+
self._group_node_metrics = None
|
|
70
|
+
self._group_pod_metrics = None
|
|
71
|
+
self._kai_scheduler_queues_metrics = None
|
|
72
|
+
self._namespace_metrics = None
|
|
58
73
|
self._node_metrics = None
|
|
59
74
|
self._pod_metrics = None
|
|
60
75
|
self.discriminator = None
|
|
76
|
+
if cluster_metrics is not None:
|
|
77
|
+
self.cluster_metrics = cluster_metrics
|
|
61
78
|
if container_metrics is not None:
|
|
62
79
|
self.container_metrics = container_metrics
|
|
80
|
+
if group_node_metrics is not None:
|
|
81
|
+
self.group_node_metrics = group_node_metrics
|
|
82
|
+
if group_pod_metrics is not None:
|
|
83
|
+
self.group_pod_metrics = group_pod_metrics
|
|
84
|
+
if kai_scheduler_queues_metrics is not None:
|
|
85
|
+
self.kai_scheduler_queues_metrics = kai_scheduler_queues_metrics
|
|
86
|
+
if namespace_metrics is not None:
|
|
87
|
+
self.namespace_metrics = namespace_metrics
|
|
63
88
|
if node_metrics is not None:
|
|
64
89
|
self.node_metrics = node_metrics
|
|
65
90
|
if pod_metrics is not None:
|
|
66
91
|
self.pod_metrics = pod_metrics
|
|
67
92
|
|
|
93
|
+
@property
|
|
94
|
+
def cluster_metrics(self) -> 'V1ClusterMetrics':
|
|
95
|
+
"""Gets the cluster_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
:return: The cluster_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
99
|
+
:rtype: V1ClusterMetrics
|
|
100
|
+
"""
|
|
101
|
+
return self._cluster_metrics
|
|
102
|
+
|
|
103
|
+
@cluster_metrics.setter
|
|
104
|
+
def cluster_metrics(self, cluster_metrics: 'V1ClusterMetrics'):
|
|
105
|
+
"""Sets the cluster_metrics of this ClusterIdMetricsBody.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
:param cluster_metrics: The cluster_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
109
|
+
:type: V1ClusterMetrics
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
self._cluster_metrics = cluster_metrics
|
|
113
|
+
|
|
68
114
|
@property
|
|
69
115
|
def container_metrics(self) -> 'list[V1ContainerMetrics]':
|
|
70
116
|
"""Gets the container_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
@@ -86,6 +132,90 @@ class ClusterIdMetricsBody(object):
|
|
|
86
132
|
|
|
87
133
|
self._container_metrics = container_metrics
|
|
88
134
|
|
|
135
|
+
@property
|
|
136
|
+
def group_node_metrics(self) -> 'list[V1GroupNodeMetrics]':
|
|
137
|
+
"""Gets the group_node_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:return: The group_node_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
141
|
+
:rtype: list[V1GroupNodeMetrics]
|
|
142
|
+
"""
|
|
143
|
+
return self._group_node_metrics
|
|
144
|
+
|
|
145
|
+
@group_node_metrics.setter
|
|
146
|
+
def group_node_metrics(self, group_node_metrics: 'list[V1GroupNodeMetrics]'):
|
|
147
|
+
"""Sets the group_node_metrics of this ClusterIdMetricsBody.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param group_node_metrics: The group_node_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
151
|
+
:type: list[V1GroupNodeMetrics]
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
self._group_node_metrics = group_node_metrics
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def group_pod_metrics(self) -> 'list[V1GroupPodMetrics]':
|
|
158
|
+
"""Gets the group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:return: The group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
162
|
+
:rtype: list[V1GroupPodMetrics]
|
|
163
|
+
"""
|
|
164
|
+
return self._group_pod_metrics
|
|
165
|
+
|
|
166
|
+
@group_pod_metrics.setter
|
|
167
|
+
def group_pod_metrics(self, group_pod_metrics: 'list[V1GroupPodMetrics]'):
|
|
168
|
+
"""Sets the group_pod_metrics of this ClusterIdMetricsBody.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:param group_pod_metrics: The group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
172
|
+
:type: list[V1GroupPodMetrics]
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._group_pod_metrics = group_pod_metrics
|
|
176
|
+
|
|
177
|
+
@property
|
|
178
|
+
def kai_scheduler_queues_metrics(self) -> 'list[V1KaiSchedulerQueueMetrics]':
|
|
179
|
+
"""Gets the kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:return: The kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
183
|
+
:rtype: list[V1KaiSchedulerQueueMetrics]
|
|
184
|
+
"""
|
|
185
|
+
return self._kai_scheduler_queues_metrics
|
|
186
|
+
|
|
187
|
+
@kai_scheduler_queues_metrics.setter
|
|
188
|
+
def kai_scheduler_queues_metrics(self, kai_scheduler_queues_metrics: 'list[V1KaiSchedulerQueueMetrics]'):
|
|
189
|
+
"""Sets the kai_scheduler_queues_metrics of this ClusterIdMetricsBody.
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:param kai_scheduler_queues_metrics: The kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
193
|
+
:type: list[V1KaiSchedulerQueueMetrics]
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
self._kai_scheduler_queues_metrics = kai_scheduler_queues_metrics
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
def namespace_metrics(self) -> 'list[V1NamespaceMetrics]':
|
|
200
|
+
"""Gets the namespace_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
:return: The namespace_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
204
|
+
:rtype: list[V1NamespaceMetrics]
|
|
205
|
+
"""
|
|
206
|
+
return self._namespace_metrics
|
|
207
|
+
|
|
208
|
+
@namespace_metrics.setter
|
|
209
|
+
def namespace_metrics(self, namespace_metrics: 'list[V1NamespaceMetrics]'):
|
|
210
|
+
"""Sets the namespace_metrics of this ClusterIdMetricsBody.
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
:param namespace_metrics: The namespace_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
214
|
+
:type: list[V1NamespaceMetrics]
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
self._namespace_metrics = namespace_metrics
|
|
218
|
+
|
|
89
219
|
@property
|
|
90
220
|
def node_metrics(self) -> 'list[V1NodeMetrics]':
|
|
91
221
|
"""Gets the node_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
@@ -52,6 +52,7 @@ class Create(object):
|
|
|
52
52
|
'gcp': 'V1GcpDataConnection',
|
|
53
53
|
'gcs_folder': 'V1GCSFolderDataConnection',
|
|
54
54
|
'id': 'str',
|
|
55
|
+
'lustre': 'V1LustreDataConnection',
|
|
55
56
|
'name': 'str',
|
|
56
57
|
'r2': 'V1R2DataConnection',
|
|
57
58
|
'run_cmds': 'list[str]',
|
|
@@ -73,6 +74,7 @@ class Create(object):
|
|
|
73
74
|
'gcp': 'gcp',
|
|
74
75
|
'gcs_folder': 'gcsFolder',
|
|
75
76
|
'id': 'id',
|
|
77
|
+
'lustre': 'lustre',
|
|
76
78
|
'name': 'name',
|
|
77
79
|
'r2': 'r2',
|
|
78
80
|
'run_cmds': 'runCmds',
|
|
@@ -82,7 +84,7 @@ class Create(object):
|
|
|
82
84
|
'writable': 'writable'
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
def __init__(self, access_cluster_ids: 'list[str]' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, create_index: 'bool' =None, create_resources: 'bool' =None, efs: 'V1EfsConfig' =None, filestore: 'V1FilestoreDataConnection' =None, force: 'bool' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, name: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
|
|
87
|
+
def __init__(self, access_cluster_ids: 'list[str]' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, create_index: 'bool' =None, create_resources: 'bool' =None, efs: 'V1EfsConfig' =None, filestore: 'V1FilestoreDataConnection' =None, force: 'bool' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, lustre: 'V1LustreDataConnection' =None, name: 'str' =None, r2: 'V1R2DataConnection' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, weka: 'V1WekaDataConnection' =None, writable: 'bool' =None): # noqa: E501
|
|
86
88
|
"""Create - a model defined in Swagger""" # noqa: E501
|
|
87
89
|
self._access_cluster_ids = None
|
|
88
90
|
self._aws = None
|
|
@@ -95,6 +97,7 @@ class Create(object):
|
|
|
95
97
|
self._gcp = None
|
|
96
98
|
self._gcs_folder = None
|
|
97
99
|
self._id = None
|
|
100
|
+
self._lustre = None
|
|
98
101
|
self._name = None
|
|
99
102
|
self._r2 = None
|
|
100
103
|
self._run_cmds = None
|
|
@@ -125,6 +128,8 @@ class Create(object):
|
|
|
125
128
|
self.gcs_folder = gcs_folder
|
|
126
129
|
if id is not None:
|
|
127
130
|
self.id = id
|
|
131
|
+
if lustre is not None:
|
|
132
|
+
self.lustre = lustre
|
|
128
133
|
if name is not None:
|
|
129
134
|
self.name = name
|
|
130
135
|
if r2 is not None:
|
|
@@ -371,6 +376,27 @@ class Create(object):
|
|
|
371
376
|
|
|
372
377
|
self._id = id
|
|
373
378
|
|
|
379
|
+
@property
|
|
380
|
+
def lustre(self) -> 'V1LustreDataConnection':
|
|
381
|
+
"""Gets the lustre of this Create. # noqa: E501
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
:return: The lustre of this Create. # noqa: E501
|
|
385
|
+
:rtype: V1LustreDataConnection
|
|
386
|
+
"""
|
|
387
|
+
return self._lustre
|
|
388
|
+
|
|
389
|
+
@lustre.setter
|
|
390
|
+
def lustre(self, lustre: 'V1LustreDataConnection'):
|
|
391
|
+
"""Sets the lustre of this Create.
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
:param lustre: The lustre of this Create. # noqa: E501
|
|
395
|
+
:type: V1LustreDataConnection
|
|
396
|
+
"""
|
|
397
|
+
|
|
398
|
+
self._lustre = lustre
|
|
399
|
+
|
|
374
400
|
@property
|
|
375
401
|
def name(self) -> 'str':
|
|
376
402
|
"""Gets the name of this Create. # noqa: E501
|