lightning-sdk 2025.12.2__py3-none-any.whl → 2025.12.9__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/__version__.py +1 -1
- lightning_sdk/api/agents_api.py +4 -4
- lightning_sdk/api/ai_hub_api.py +2 -2
- lightning_sdk/api/base_studio_api.py +3 -1
- lightning_sdk/api/deployment_api.py +2 -2
- lightning_sdk/api/job_api.py +9 -7
- lightning_sdk/api/license_api.py +2 -2
- lightning_sdk/api/mmt_api.py +5 -5
- lightning_sdk/api/pipeline_api.py +4 -4
- lightning_sdk/api/studio_api.py +33 -33
- lightning_sdk/api/teamspace_api.py +38 -26
- lightning_sdk/api/user_api.py +2 -2
- lightning_sdk/api/utils.py +17 -24
- lightning_sdk/cli/entrypoint.py +15 -1
- lightning_sdk/cli/studio/cp.py +47 -11
- lightning_sdk/lightning_cloud/login.py +1 -1
- lightning_sdk/lightning_cloud/openapi/__init__.py +204 -195
- lightning_sdk/lightning_cloud/openapi/api/agent_service_api.py +28 -28
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +108 -108
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +69 -57
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +14 -14
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +331 -168
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +58 -58
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +24 -24
- lightning_sdk/lightning_cloud/openapi/api/dataset_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +18 -18
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +514 -254
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +67 -59
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +6 -6
- lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +42 -42
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +28 -28
- lightning_sdk/lightning_cloud/openapi/api/lit_page_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +42 -42
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +34 -34
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +38 -38
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +12 -12
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +32 -32
- lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +48 -48
- lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +12 -12
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +40 -40
- lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +20 -20
- lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +204 -181
- lightning_sdk/lightning_cloud/openapi/models/agent_service_agent_complete_part_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{multipartuploads_upload_id_body.py → agent_service_agent_upload_part_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_multipartuploads_body.py → agent_service_create_agent_multipart_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body.py → agent_service_update_agent_job_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{id_artifacts_body.py → agent_service_upload_agent_job_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_output_body.py → agent_service_upload_agent_job_output_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_contactowner_body.py → assistants_service_contact_assistant_owner_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_agents_body.py → assistants_service_create_assistant_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{project_id_agentmanagedendpoints_body.py → assistants_service_create_assistant_managed_endpoint_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{message_id_actions_body.py → assistants_service_create_conversation_message_action_body.py} +28 -26
- lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body.py → assistants_service_create_model_metrics_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{assistant_id_conversations_body.py → assistants_service_start_conversation_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{agents_id_body.py → assistants_service_update_assistant_body.py} +102 -102
- lightning_sdk/lightning_cloud/openapi/models/{agentmanagedendpoints_id_body.py → assistants_service_update_assistant_managed_endpoint_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{models_id_body.py → assistants_service_update_assistant_managed_endpoint_model_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_update_conversation_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body1.py → assistants_service_update_conversation_like_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_content_body.py → assistants_service_update_conversation_message_content_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{messages_id_body.py → assistants_service_update_conversation_message_like_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_assistant_status_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_managed_model_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{user_id_upgradetrigger_body.py → billing_service_create_billing_upgrade_trigger_record_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{billing_checkout_body.py → billing_service_create_org_checkout_session_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body.py → billing_service_transfer_org_balance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body1.py → billing_service_transfer_project_balance_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{blogposts_id_body.py → blog_posts_service_update_blog_post_body.py} +38 -38
- lightning_sdk/lightning_cloud/openapi/models/{update.py → cloud_space_environment_template_service_update_cloud_space_environment_template_body.py} +58 -58
- lightning_sdk/lightning_cloud/openapi/models/{apps_id_body1.py → cloud_space_service_create_cloud_space_app_instance_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{project_id_cloudspaces_body.py → cloud_space_service_create_cloud_space_body.py} +78 -78
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_metric_body.py → cloud_space_service_create_cloud_space_instance_metric_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versions_body.py → cloud_space_service_create_cloud_space_version_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body.py → cloud_space_service_create_cloud_space_version_publication_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_runs_body.py → cloud_space_service_create_lightning_run_body.py} +86 -86
- lightning_sdk/lightning_cloud/openapi/models/{id_get_body.py → cloud_space_service_create_lightning_run_instance_body.py} +58 -58
- lightning_sdk/lightning_cloud/openapi/models/{id_engage_body1.py → cloud_space_service_engage_cloud_space_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_execute_body1.py → cloud_space_service_execute_command_in_cloud_space_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_execute_body.py → cloud_space_service_execute_in_cloud_space_session_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_fork_body.py → cloud_space_service_fork_cloud_space_app_instance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_fork_body1.py → cloud_space_service_fork_cloud_space_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_keep_alive_cloud_space_instance_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_proxies_body.py → cloud_space_service_publish_cloud_space_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body1.py → cloud_space_service_refresh_cloud_space_index_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_systemmetrics_body.py → cloud_space_service_report_cloud_space_instance_system_metrics_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_request_cloud_space_access_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_start_body.py → cloud_space_service_start_cloud_space_instance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_transfer_body.py → cloud_space_service_transfer_cloud_space_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{apps_id_body.py → cloud_space_service_update_cloud_space_app_body.py} +86 -86
- lightning_sdk/lightning_cloud/openapi/models/{cloudspaces_id_body.py → cloud_space_service_update_cloud_space_body.py} +114 -114
- lightning_sdk/lightning_cloud/openapi/models/{id_collaborate_body.py → cloud_space_service_update_cloud_space_collab_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body.py → cloud_space_service_update_cloud_space_ide_body.py} +21 -21
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body.py → cloud_space_service_update_cloud_space_index_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_codeconfig_body.py → cloud_space_service_update_cloud_space_instance_config_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_publications_body.py → cloud_space_service_update_cloud_space_publication_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_sleepconfig_body.py → cloud_space_service_update_cloud_space_sleep_config_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{versions_id_body.py → cloud_space_service_update_cloud_space_version_body.py} +46 -46
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body1.py → cloud_space_service_update_cloud_space_version_publication_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{dataset_id_visibility_body.py → cloud_space_service_update_cloud_space_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{user_user_id_body.py → cloudy_service_update_user_cloudy_settings_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityreservations_body.py → cluster_service_create_cluster_capacity_reservation_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{id_publications_body1.py → cluster_service_create_cluster_proxy_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_usagerestrictions_body.py → cluster_service_create_cluster_usage_restriction_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{create_machine_request_represents_the_request_to_create_a_machine.py → cluster_service_create_machine_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{project_id_clusters_body.py → cluster_service_create_project_cluster_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{server_id_alerts_body.py → cluster_service_create_server_alert_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_interrupt_server_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityblock_body.py → cluster_service_purchase_capacity_block_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{servers_server_id_body.py → cluster_service_server_check_in_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_sleep_server_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body.py → cluster_service_update_cluster_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{usagerestrictions_id_body.py → cluster_service_update_cluster_usage_restriction_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body1.py → cluster_service_update_project_cluster_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{create.py → data_connection_service_create_data_connection_body.py} +82 -82
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body2.py → data_connection_service_refresh_data_connection_index_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{setup.py → data_connection_service_setup_data_connection_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{update1.py → data_connection_service_update_data_connection_body.py} +50 -50
- lightning_sdk/lightning_cloud/openapi/models/{validate.py → data_connection_service_validate_data_connection_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{project_id_datasets_body.py → dataset_service_create_dataset_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{datasets_id_body.py → dataset_service_update_dataset_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_engage_body.py → deployment_templates_service_engage_deployment_template_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deploymenttemplates_id_body.py → deployment_templates_service_update_deployment_template_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_endpoints_body.py → endpoint_service_create_endpoint_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{endpoints_id_body.py → endpoint_service_update_endpoint_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{experiment_name_variant_name_body.py → experiments_service_assign_variant_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{incident_id_messages_body.py → incidents_service_create_incident_message_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{incidents_id_body.py → incidents_service_update_incident_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{messages_message_id_body.py → incidents_service_update_incident_message_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body1.py → jobs_service_create_deployment_alerting_policy_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py → jobs_service_create_deployment_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_jobs_body.py → jobs_service_create_job_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{project_id_multimachinejobs_body.py → jobs_service_create_multi_machine_job_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{job_id_reportroutingtelemetry_body.py → jobs_service_report_deployment_routing_telemetry_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{job_id_systemmetrics_body.py → jobs_service_report_job_system_metrics_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_reportlogsactivity_body.py → jobs_service_report_logs_activity_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_reportrestarttimings_body.py → jobs_service_report_restart_timings_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/jobs_service_restore_deployment_release_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{alertingevents_id_body.py → jobs_service_update_deployment_alerting_event_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/jobs_service_update_deployment_alerting_events_bulk_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body.py → jobs_service_update_deployment_alerting_policy_body.py} +46 -46
- lightning_sdk/lightning_cloud/openapi/models/{deployments_id_body.py → jobs_service_update_deployment_body.py} +128 -126
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body1.py → jobs_service_update_deployment_visibility_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body1.py → jobs_service_update_job_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body3.py → jobs_service_update_job_index_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body.py → jobs_service_update_job_visibility_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{multimachinejobs_id_body.py → jobs_service_update_multi_machine_job_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deployments_deployment_id_body.py → jobs_service_update_org_deployment_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{kubernetestemplates_id_body.py → k8_s_cluster_service_create_kubernetes_template_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_render_body.py → k8_s_cluster_service_render_kubernetes_template_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_metrics_body.py → k8_s_cluster_service_report_k8_s_cluster_metrics_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_kubernetestemplates_body.py → k8_s_cluster_service_update_kubernetes_template_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{appinstances_id_body.py → lightningapp_instance_service_update_lightningapp_instance_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_release_body.py → lightningapp_instance_service_update_lightningapp_instance_release_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_uploads_body.py → lightningapp_instance_service_upload_lightningapp_instance_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_getapp_body.py → lightningapp_v2_service_create_lightningapp_from_gallery_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{app_id_works_body.py → lightningwork_service_batch_update_lightningworks_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{spec_lightningapp_instance_id_works_body.py → lightningwork_service_create_lightningwork_body.py} +24 -24
- lightning_sdk/lightning_cloud/openapi/models/lightningwork_service_create_lightningwork_body_spec.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/{works_id_body.py → lightningwork_service_update_lightningwork_body.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body1.py → lit_dataset_service_complete_lit_dataset_multi_part_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/lit_dataset_service_complete_lit_dataset_upload_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_models_body.py → lit_dataset_service_create_lit_dataset_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body1.py → lit_dataset_service_create_lit_dataset_multi_part_upload_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{dataset_id_versions_body.py → lit_dataset_service_create_lit_dataset_version_body.py} +16 -14
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body.py → lit_dataset_service_get_lit_dataset_file_upload_urls_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{version_default_body.py → lit_dataset_service_set_lit_dataset_default_version_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{litdatasets_dataset_id_body.py → lit_dataset_service_update_lit_dataset_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{versions_version_body.py → lit_dataset_service_update_lit_dataset_version_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body2.py → lit_dataset_service_update_lit_dataset_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{loggermetrics_id_body.py → lit_logger_service_append_logger_metrics_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metrics_stream_id_loggerartifacts_body.py → lit_logger_service_create_logger_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_create_body.py → lit_logger_service_create_metrics_stream_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_delete_body.py → lit_logger_service_delete_metrics_stream_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_id_body.py → lit_logger_service_update_metrics_stream_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{model_id_visibility_body.py → lit_logger_service_update_metrics_stream_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{litloggermetrics_id_body.py → lit_logger_service_update_shared_metrics_stream_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{litpages_id_body.py → lit_page_service_update_lit_page_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{project_id_litregistry_body.py → lit_registry_service_create_lit_project_registry_body.py} +12 -12
- lightning_sdk/lightning_cloud/openapi/models/{litregistry_lit_repo_name_body.py → lit_registry_service_update_lit_repository_metadata_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/models_store_complete_model_upload_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body.py → models_store_complete_multi_part_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_litdatasets_body.py → models_store_create_model_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{model_id_versions_body.py → models_store_create_model_version_body.py} +20 -18
- lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body.py → models_store_create_multi_part_upload_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body1.py → models_store_get_model_file_upload_urls_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{version_default_body1.py → models_store_set_model_default_version_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body1.py → models_store_update_model_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{versions_version_body1.py → models_store_update_model_version_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_visibility_body.py → models_store_update_model_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{approveautojoindomain_domain_body.py → organizations_service_approve_auto_join_domain_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/organizations_service_auto_join_org_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{org_id_memberships_body.py → organizations_service_create_org_membership_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body1.py → organizations_service_create_org_membership_role_binding_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{org_id_roles_body.py → organizations_service_create_org_role_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{orgs_id_body.py → organizations_service_update_organization_body.py} +162 -162
- lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body.py → organizations_service_update_organization_credits_auto_replenish_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{validateautojoindomain_domain_body.py → organizations_service_validate_auto_join_domain_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{pipelinetemplates_id_body.py → pipeline_templates_service_update_pipeline_template_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body1.py → pipelines_service_create_child_pipeline_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_pipelines_body.py → pipelines_service_create_pipeline_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body.py → pipelines_service_update_pipeline_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{license_key_validate_body.py → product_license_service_validate_license_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{profiler_captures_body.py → profiler_service_create_profiler_capture_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{captures_id_body.py → profiler_service_update_profiler_capture_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{profiler_enabled_body.py → profiler_service_update_profiler_enabled_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_projectclustersbindings_body.py → projects_service_create_project_cluster_binding_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_memberships_body.py → projects_service_create_project_membership_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body.py → projects_service_create_project_membership_role_binding_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{projects_project_id_body.py → projects_service_create_project_role_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{project_id_invite_body.py → projects_service_invite_project_membership_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{projects_id_body.py → projects_service_update_project_body.py} +110 -110
- lightning_sdk/lightning_cloud/openapi/models/{project_tab_management_messages.py → projects_service_update_project_tab_order_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/protobuf_any.py +7 -58
- lightning_sdk/lightning_cloud/openapi/models/quest_service_complete_quest_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/quest_service_start_quest_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_schedules_body.py → schedules_service_create_schedule_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/schedules_service_create_schedule_run_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{schedules_id_body.py → schedules_service_update_schedule_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_secrets_body.py → secret_service_create_secret_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body1.py → secret_service_update_secret_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body.py → secret_service_update_user_secret_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_slurmusers_body.py → slurm_jobs_user_service_create_slurm_cluster_user_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{slurm_jobs_body.py → slurm_jobs_user_service_create_user_slurm_job_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body2.py → slurm_jobs_user_service_update_user_slurm_job_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_action_body.py → slurm_jobs_user_service_user_slurm_job_action_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_snowflake_body.py → snowflake_service_create_snowflake_connection_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{query_query_id_body.py → snowflake_service_execute_snowflake_query_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{snowflake_export_body.py → snowflake_service_export_snowflake_query_body.py} +38 -38
- lightning_sdk/lightning_cloud/openapi/models/{snowflake_query_body.py → snowflake_service_update_snowflake_query_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/storage_service_abort_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{storage_complete_body.py → storage_service_complete_upload_project_artifact_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{project_id_storagetransfers_body.py → storage_service_create_storage_transfer_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/storage_service_pause_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/storage_service_resume_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_storage_body.py → storage_service_upload_project_artifact_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body1.py → storage_service_upload_project_artifact_parts_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body.py → storage_service_upload_temporary_artifact_parts_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{storagetransfers_validate_body.py → storage_service_validate_storage_transfer_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{studioapp_jobs_body.py → studio_jobs_service_create_studio_job_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body3.py → studio_jobs_service_update_studio_job_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{user_id_affiliatelinks_body.py → user_service_create_affiliate_link_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{affiliatelinks_id_body.py → user_service_update_affiliate_link_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body1.py → user_service_update_user_credits_auto_replenish_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/user_service_upload_settings_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_data_connection.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +59 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_alerting_events_bulk_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +183 -79
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/{volumes_id_body.py → volume_service_update_volume_body.py} +10 -10
- lightning_sdk/lightning_cloud/utils/data_connection.py +14 -8
- lightning_sdk/lightning_cloud/utils/dataset.py +3 -5
- lightning_sdk/plugin.py +2 -2
- lightning_sdk/teamspace.py +3 -2
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/METADATA +2 -2
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/RECORD +310 -287
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/top_level.txt +0 -0
lightning_sdk/lightning_cloud/openapi/models/lightningwork_service_create_lightningwork_body_spec.py
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
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 LightningworkServiceCreateLightningworkBodySpec(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
|
+
'build_spec': 'V1BuildSpec',
|
|
45
|
+
'cloud_space_id': 'str',
|
|
46
|
+
'cluster_id': 'str',
|
|
47
|
+
'compute_config': 'V1ComputeConfig',
|
|
48
|
+
'data_connection_mounts': 'list[V1DataConnectionMount]',
|
|
49
|
+
'data_connections': 'list[V1DataConnection]',
|
|
50
|
+
'desired_state': 'V1LightningworkState',
|
|
51
|
+
'drives': 'list[V1LightningworkDrives]',
|
|
52
|
+
'env': 'list[V1EnvVar]',
|
|
53
|
+
'locked_region': 'str',
|
|
54
|
+
'network_config': 'list[V1NetworkConfig]',
|
|
55
|
+
'pause_automation': 'bool',
|
|
56
|
+
'restart_policy': 'V1LightningappRestartPolicy',
|
|
57
|
+
'user_id': 'str',
|
|
58
|
+
'user_requested_compute_config': 'V1UserRequestedComputeConfig'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
attribute_map = {
|
|
62
|
+
'build_spec': 'buildSpec',
|
|
63
|
+
'cloud_space_id': 'cloudSpaceId',
|
|
64
|
+
'cluster_id': 'clusterId',
|
|
65
|
+
'compute_config': 'computeConfig',
|
|
66
|
+
'data_connection_mounts': 'dataConnectionMounts',
|
|
67
|
+
'data_connections': 'dataConnections',
|
|
68
|
+
'desired_state': 'desiredState',
|
|
69
|
+
'drives': 'drives',
|
|
70
|
+
'env': 'env',
|
|
71
|
+
'locked_region': 'lockedRegion',
|
|
72
|
+
'network_config': 'networkConfig',
|
|
73
|
+
'pause_automation': 'pauseAutomation',
|
|
74
|
+
'restart_policy': 'restartPolicy',
|
|
75
|
+
'user_id': 'userId',
|
|
76
|
+
'user_requested_compute_config': 'userRequestedComputeConfig'
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
def __init__(self, build_spec: 'V1BuildSpec' =None, cloud_space_id: 'str' =None, cluster_id: 'str' =None, compute_config: 'V1ComputeConfig' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, data_connections: 'list[V1DataConnection]' =None, desired_state: 'V1LightningworkState' =None, drives: 'list[V1LightningworkDrives]' =None, env: 'list[V1EnvVar]' =None, locked_region: 'str' =None, network_config: 'list[V1NetworkConfig]' =None, pause_automation: 'bool' =None, restart_policy: 'V1LightningappRestartPolicy' =None, user_id: 'str' =None, user_requested_compute_config: 'V1UserRequestedComputeConfig' =None): # noqa: E501
|
|
80
|
+
"""LightningworkServiceCreateLightningworkBodySpec - a model defined in Swagger""" # noqa: E501
|
|
81
|
+
self._build_spec = None
|
|
82
|
+
self._cloud_space_id = None
|
|
83
|
+
self._cluster_id = None
|
|
84
|
+
self._compute_config = None
|
|
85
|
+
self._data_connection_mounts = None
|
|
86
|
+
self._data_connections = None
|
|
87
|
+
self._desired_state = None
|
|
88
|
+
self._drives = None
|
|
89
|
+
self._env = None
|
|
90
|
+
self._locked_region = None
|
|
91
|
+
self._network_config = None
|
|
92
|
+
self._pause_automation = None
|
|
93
|
+
self._restart_policy = None
|
|
94
|
+
self._user_id = None
|
|
95
|
+
self._user_requested_compute_config = None
|
|
96
|
+
self.discriminator = None
|
|
97
|
+
if build_spec is not None:
|
|
98
|
+
self.build_spec = build_spec
|
|
99
|
+
if cloud_space_id is not None:
|
|
100
|
+
self.cloud_space_id = cloud_space_id
|
|
101
|
+
if cluster_id is not None:
|
|
102
|
+
self.cluster_id = cluster_id
|
|
103
|
+
if compute_config is not None:
|
|
104
|
+
self.compute_config = compute_config
|
|
105
|
+
if data_connection_mounts is not None:
|
|
106
|
+
self.data_connection_mounts = data_connection_mounts
|
|
107
|
+
if data_connections is not None:
|
|
108
|
+
self.data_connections = data_connections
|
|
109
|
+
if desired_state is not None:
|
|
110
|
+
self.desired_state = desired_state
|
|
111
|
+
if drives is not None:
|
|
112
|
+
self.drives = drives
|
|
113
|
+
if env is not None:
|
|
114
|
+
self.env = env
|
|
115
|
+
if locked_region is not None:
|
|
116
|
+
self.locked_region = locked_region
|
|
117
|
+
if network_config is not None:
|
|
118
|
+
self.network_config = network_config
|
|
119
|
+
if pause_automation is not None:
|
|
120
|
+
self.pause_automation = pause_automation
|
|
121
|
+
if restart_policy is not None:
|
|
122
|
+
self.restart_policy = restart_policy
|
|
123
|
+
if user_id is not None:
|
|
124
|
+
self.user_id = user_id
|
|
125
|
+
if user_requested_compute_config is not None:
|
|
126
|
+
self.user_requested_compute_config = user_requested_compute_config
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def build_spec(self) -> 'V1BuildSpec':
|
|
130
|
+
"""Gets the build_spec of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:return: The build_spec of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
134
|
+
:rtype: V1BuildSpec
|
|
135
|
+
"""
|
|
136
|
+
return self._build_spec
|
|
137
|
+
|
|
138
|
+
@build_spec.setter
|
|
139
|
+
def build_spec(self, build_spec: 'V1BuildSpec'):
|
|
140
|
+
"""Sets the build_spec of this LightningworkServiceCreateLightningworkBodySpec.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:param build_spec: The build_spec of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
144
|
+
:type: V1BuildSpec
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
self._build_spec = build_spec
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def cloud_space_id(self) -> 'str':
|
|
151
|
+
"""Gets the cloud_space_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
:return: The cloud_space_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
155
|
+
:rtype: str
|
|
156
|
+
"""
|
|
157
|
+
return self._cloud_space_id
|
|
158
|
+
|
|
159
|
+
@cloud_space_id.setter
|
|
160
|
+
def cloud_space_id(self, cloud_space_id: 'str'):
|
|
161
|
+
"""Sets the cloud_space_id of this LightningworkServiceCreateLightningworkBodySpec.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:param cloud_space_id: The cloud_space_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
165
|
+
:type: str
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
self._cloud_space_id = cloud_space_id
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def cluster_id(self) -> 'str':
|
|
172
|
+
"""Gets the cluster_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:return: The cluster_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
176
|
+
:rtype: str
|
|
177
|
+
"""
|
|
178
|
+
return self._cluster_id
|
|
179
|
+
|
|
180
|
+
@cluster_id.setter
|
|
181
|
+
def cluster_id(self, cluster_id: 'str'):
|
|
182
|
+
"""Sets the cluster_id of this LightningworkServiceCreateLightningworkBodySpec.
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param cluster_id: The cluster_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
186
|
+
:type: str
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
self._cluster_id = cluster_id
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
def compute_config(self) -> 'V1ComputeConfig':
|
|
193
|
+
"""Gets the compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
:return: The compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
197
|
+
:rtype: V1ComputeConfig
|
|
198
|
+
"""
|
|
199
|
+
return self._compute_config
|
|
200
|
+
|
|
201
|
+
@compute_config.setter
|
|
202
|
+
def compute_config(self, compute_config: 'V1ComputeConfig'):
|
|
203
|
+
"""Sets the compute_config of this LightningworkServiceCreateLightningworkBodySpec.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
:param compute_config: The compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
207
|
+
:type: V1ComputeConfig
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
self._compute_config = compute_config
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def data_connection_mounts(self) -> 'list[V1DataConnectionMount]':
|
|
214
|
+
"""Gets the data_connection_mounts of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
:return: The data_connection_mounts of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
218
|
+
:rtype: list[V1DataConnectionMount]
|
|
219
|
+
"""
|
|
220
|
+
return self._data_connection_mounts
|
|
221
|
+
|
|
222
|
+
@data_connection_mounts.setter
|
|
223
|
+
def data_connection_mounts(self, data_connection_mounts: 'list[V1DataConnectionMount]'):
|
|
224
|
+
"""Sets the data_connection_mounts of this LightningworkServiceCreateLightningworkBodySpec.
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
:param data_connection_mounts: The data_connection_mounts of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
228
|
+
:type: list[V1DataConnectionMount]
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
self._data_connection_mounts = data_connection_mounts
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
def data_connections(self) -> 'list[V1DataConnection]':
|
|
235
|
+
"""Gets the data_connections of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
:return: The data_connections of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
239
|
+
:rtype: list[V1DataConnection]
|
|
240
|
+
"""
|
|
241
|
+
return self._data_connections
|
|
242
|
+
|
|
243
|
+
@data_connections.setter
|
|
244
|
+
def data_connections(self, data_connections: 'list[V1DataConnection]'):
|
|
245
|
+
"""Sets the data_connections of this LightningworkServiceCreateLightningworkBodySpec.
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
:param data_connections: The data_connections of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
249
|
+
:type: list[V1DataConnection]
|
|
250
|
+
"""
|
|
251
|
+
|
|
252
|
+
self._data_connections = data_connections
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def desired_state(self) -> 'V1LightningworkState':
|
|
256
|
+
"""Gets the desired_state of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
:return: The desired_state of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
260
|
+
:rtype: V1LightningworkState
|
|
261
|
+
"""
|
|
262
|
+
return self._desired_state
|
|
263
|
+
|
|
264
|
+
@desired_state.setter
|
|
265
|
+
def desired_state(self, desired_state: 'V1LightningworkState'):
|
|
266
|
+
"""Sets the desired_state of this LightningworkServiceCreateLightningworkBodySpec.
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
:param desired_state: The desired_state of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
270
|
+
:type: V1LightningworkState
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
self._desired_state = desired_state
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
def drives(self) -> 'list[V1LightningworkDrives]':
|
|
277
|
+
"""Gets the drives of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
:return: The drives of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
281
|
+
:rtype: list[V1LightningworkDrives]
|
|
282
|
+
"""
|
|
283
|
+
return self._drives
|
|
284
|
+
|
|
285
|
+
@drives.setter
|
|
286
|
+
def drives(self, drives: 'list[V1LightningworkDrives]'):
|
|
287
|
+
"""Sets the drives of this LightningworkServiceCreateLightningworkBodySpec.
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
:param drives: The drives of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
291
|
+
:type: list[V1LightningworkDrives]
|
|
292
|
+
"""
|
|
293
|
+
|
|
294
|
+
self._drives = drives
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
def env(self) -> 'list[V1EnvVar]':
|
|
298
|
+
"""Gets the env of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
:return: The env of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
302
|
+
:rtype: list[V1EnvVar]
|
|
303
|
+
"""
|
|
304
|
+
return self._env
|
|
305
|
+
|
|
306
|
+
@env.setter
|
|
307
|
+
def env(self, env: 'list[V1EnvVar]'):
|
|
308
|
+
"""Sets the env of this LightningworkServiceCreateLightningworkBodySpec.
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
:param env: The env of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
312
|
+
:type: list[V1EnvVar]
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
self._env = env
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
def locked_region(self) -> 'str':
|
|
319
|
+
"""Gets the locked_region of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
:return: The locked_region of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
323
|
+
:rtype: str
|
|
324
|
+
"""
|
|
325
|
+
return self._locked_region
|
|
326
|
+
|
|
327
|
+
@locked_region.setter
|
|
328
|
+
def locked_region(self, locked_region: 'str'):
|
|
329
|
+
"""Sets the locked_region of this LightningworkServiceCreateLightningworkBodySpec.
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
:param locked_region: The locked_region of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
333
|
+
:type: str
|
|
334
|
+
"""
|
|
335
|
+
|
|
336
|
+
self._locked_region = locked_region
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
def network_config(self) -> 'list[V1NetworkConfig]':
|
|
340
|
+
"""Gets the network_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
:return: The network_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
344
|
+
:rtype: list[V1NetworkConfig]
|
|
345
|
+
"""
|
|
346
|
+
return self._network_config
|
|
347
|
+
|
|
348
|
+
@network_config.setter
|
|
349
|
+
def network_config(self, network_config: 'list[V1NetworkConfig]'):
|
|
350
|
+
"""Sets the network_config of this LightningworkServiceCreateLightningworkBodySpec.
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
:param network_config: The network_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
354
|
+
:type: list[V1NetworkConfig]
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
self._network_config = network_config
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
def pause_automation(self) -> 'bool':
|
|
361
|
+
"""Gets the pause_automation of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
:return: The pause_automation of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
365
|
+
:rtype: bool
|
|
366
|
+
"""
|
|
367
|
+
return self._pause_automation
|
|
368
|
+
|
|
369
|
+
@pause_automation.setter
|
|
370
|
+
def pause_automation(self, pause_automation: 'bool'):
|
|
371
|
+
"""Sets the pause_automation of this LightningworkServiceCreateLightningworkBodySpec.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
:param pause_automation: The pause_automation of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
375
|
+
:type: bool
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
self._pause_automation = pause_automation
|
|
379
|
+
|
|
380
|
+
@property
|
|
381
|
+
def restart_policy(self) -> 'V1LightningappRestartPolicy':
|
|
382
|
+
"""Gets the restart_policy of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
:return: The restart_policy of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
386
|
+
:rtype: V1LightningappRestartPolicy
|
|
387
|
+
"""
|
|
388
|
+
return self._restart_policy
|
|
389
|
+
|
|
390
|
+
@restart_policy.setter
|
|
391
|
+
def restart_policy(self, restart_policy: 'V1LightningappRestartPolicy'):
|
|
392
|
+
"""Sets the restart_policy of this LightningworkServiceCreateLightningworkBodySpec.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
:param restart_policy: The restart_policy of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
396
|
+
:type: V1LightningappRestartPolicy
|
|
397
|
+
"""
|
|
398
|
+
|
|
399
|
+
self._restart_policy = restart_policy
|
|
400
|
+
|
|
401
|
+
@property
|
|
402
|
+
def user_id(self) -> 'str':
|
|
403
|
+
"""Gets the user_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
:return: The user_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
407
|
+
:rtype: str
|
|
408
|
+
"""
|
|
409
|
+
return self._user_id
|
|
410
|
+
|
|
411
|
+
@user_id.setter
|
|
412
|
+
def user_id(self, user_id: 'str'):
|
|
413
|
+
"""Sets the user_id of this LightningworkServiceCreateLightningworkBodySpec.
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
:param user_id: The user_id of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
417
|
+
:type: str
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
self._user_id = user_id
|
|
421
|
+
|
|
422
|
+
@property
|
|
423
|
+
def user_requested_compute_config(self) -> 'V1UserRequestedComputeConfig':
|
|
424
|
+
"""Gets the user_requested_compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
:return: The user_requested_compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
428
|
+
:rtype: V1UserRequestedComputeConfig
|
|
429
|
+
"""
|
|
430
|
+
return self._user_requested_compute_config
|
|
431
|
+
|
|
432
|
+
@user_requested_compute_config.setter
|
|
433
|
+
def user_requested_compute_config(self, user_requested_compute_config: 'V1UserRequestedComputeConfig'):
|
|
434
|
+
"""Sets the user_requested_compute_config of this LightningworkServiceCreateLightningworkBodySpec.
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
:param user_requested_compute_config: The user_requested_compute_config of this LightningworkServiceCreateLightningworkBodySpec. # noqa: E501
|
|
438
|
+
:type: V1UserRequestedComputeConfig
|
|
439
|
+
"""
|
|
440
|
+
|
|
441
|
+
self._user_requested_compute_config = user_requested_compute_config
|
|
442
|
+
|
|
443
|
+
def to_dict(self) -> dict:
|
|
444
|
+
"""Returns the model properties as a dict"""
|
|
445
|
+
result = {}
|
|
446
|
+
|
|
447
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
448
|
+
value = getattr(self, attr)
|
|
449
|
+
if isinstance(value, list):
|
|
450
|
+
result[attr] = list(map(
|
|
451
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
452
|
+
value
|
|
453
|
+
))
|
|
454
|
+
elif hasattr(value, "to_dict"):
|
|
455
|
+
result[attr] = value.to_dict()
|
|
456
|
+
elif isinstance(value, dict):
|
|
457
|
+
result[attr] = dict(map(
|
|
458
|
+
lambda item: (item[0], item[1].to_dict())
|
|
459
|
+
if hasattr(item[1], "to_dict") else item,
|
|
460
|
+
value.items()
|
|
461
|
+
))
|
|
462
|
+
else:
|
|
463
|
+
result[attr] = value
|
|
464
|
+
if issubclass(LightningworkServiceCreateLightningworkBodySpec, dict):
|
|
465
|
+
for key, value in self.items():
|
|
466
|
+
result[key] = value
|
|
467
|
+
|
|
468
|
+
return result
|
|
469
|
+
|
|
470
|
+
def to_str(self) -> str:
|
|
471
|
+
"""Returns the string representation of the model"""
|
|
472
|
+
return pprint.pformat(self.to_dict())
|
|
473
|
+
|
|
474
|
+
def __repr__(self) -> str:
|
|
475
|
+
"""For `print` and `pprint`"""
|
|
476
|
+
return self.to_str()
|
|
477
|
+
|
|
478
|
+
def __eq__(self, other: 'LightningworkServiceCreateLightningworkBodySpec') -> bool:
|
|
479
|
+
"""Returns true if both objects are equal"""
|
|
480
|
+
if not isinstance(other, LightningworkServiceCreateLightningworkBodySpec):
|
|
481
|
+
return False
|
|
482
|
+
|
|
483
|
+
return self.__dict__ == other.__dict__
|
|
484
|
+
|
|
485
|
+
def __ne__(self, other: 'LightningworkServiceCreateLightningworkBodySpec') -> bool:
|
|
486
|
+
"""Returns true if both objects are not equal"""
|
|
487
|
+
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class LightningworkServiceUpdateLightningworkBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -41,37 +41,37 @@ class WorksIdBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
-
'spec': '
|
|
44
|
+
'spec': 'LightningworkServiceCreateLightningworkBodySpec'
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
attribute_map = {
|
|
48
48
|
'spec': 'spec'
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
def __init__(self, spec: '
|
|
52
|
-
"""
|
|
51
|
+
def __init__(self, spec: 'LightningworkServiceCreateLightningworkBodySpec' =None): # noqa: E501
|
|
52
|
+
"""LightningworkServiceUpdateLightningworkBody - a model defined in Swagger""" # noqa: E501
|
|
53
53
|
self._spec = None
|
|
54
54
|
self.discriminator = None
|
|
55
55
|
if spec is not None:
|
|
56
56
|
self.spec = spec
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
|
-
def spec(self) -> '
|
|
60
|
-
"""Gets the spec of this
|
|
59
|
+
def spec(self) -> 'LightningworkServiceCreateLightningworkBodySpec':
|
|
60
|
+
"""Gets the spec of this LightningworkServiceUpdateLightningworkBody. # noqa: E501
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
:return: The spec of this
|
|
64
|
-
:rtype:
|
|
63
|
+
:return: The spec of this LightningworkServiceUpdateLightningworkBody. # noqa: E501
|
|
64
|
+
:rtype: LightningworkServiceCreateLightningworkBodySpec
|
|
65
65
|
"""
|
|
66
66
|
return self._spec
|
|
67
67
|
|
|
68
68
|
@spec.setter
|
|
69
|
-
def spec(self, spec: '
|
|
70
|
-
"""Sets the spec of this
|
|
69
|
+
def spec(self, spec: 'LightningworkServiceCreateLightningworkBodySpec'):
|
|
70
|
+
"""Sets the spec of this LightningworkServiceUpdateLightningworkBody.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
:param spec: The spec of this
|
|
74
|
-
:type:
|
|
73
|
+
:param spec: The spec of this LightningworkServiceUpdateLightningworkBody. # noqa: E501
|
|
74
|
+
:type: LightningworkServiceCreateLightningworkBodySpec
|
|
75
75
|
"""
|
|
76
76
|
|
|
77
77
|
self._spec = spec
|
|
@@ -97,7 +97,7 @@ class WorksIdBody(object):
|
|
|
97
97
|
))
|
|
98
98
|
else:
|
|
99
99
|
result[attr] = value
|
|
100
|
-
if issubclass(
|
|
100
|
+
if issubclass(LightningworkServiceUpdateLightningworkBody, dict):
|
|
101
101
|
for key, value in self.items():
|
|
102
102
|
result[key] = value
|
|
103
103
|
|
|
@@ -111,13 +111,13 @@ class WorksIdBody(object):
|
|
|
111
111
|
"""For `print` and `pprint`"""
|
|
112
112
|
return self.to_str()
|
|
113
113
|
|
|
114
|
-
def __eq__(self, other: '
|
|
114
|
+
def __eq__(self, other: 'LightningworkServiceUpdateLightningworkBody') -> bool:
|
|
115
115
|
"""Returns true if both objects are equal"""
|
|
116
|
-
if not isinstance(other,
|
|
116
|
+
if not isinstance(other, LightningworkServiceUpdateLightningworkBody):
|
|
117
117
|
return False
|
|
118
118
|
|
|
119
119
|
return self.__dict__ == other.__dict__
|
|
120
120
|
|
|
121
|
-
def __ne__(self, other: '
|
|
121
|
+
def __ne__(self, other: 'LightningworkServiceUpdateLightningworkBody') -> bool:
|
|
122
122
|
"""Returns true if both objects are not equal"""
|
|
123
123
|
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class LitDatasetServiceCompleteLitDatasetMultiPartUploadBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -51,7 +51,7 @@ class UploadIdCompleteBody1(object):
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
def __init__(self, filepath: 'str' =None, parts: 'list[V1CompletedPart]' =None): # noqa: E501
|
|
54
|
-
"""
|
|
54
|
+
"""LitDatasetServiceCompleteLitDatasetMultiPartUploadBody - a model defined in Swagger""" # noqa: E501
|
|
55
55
|
self._filepath = None
|
|
56
56
|
self._parts = None
|
|
57
57
|
self.discriminator = None
|
|
@@ -62,20 +62,20 @@ class UploadIdCompleteBody1(object):
|
|
|
62
62
|
|
|
63
63
|
@property
|
|
64
64
|
def filepath(self) -> 'str':
|
|
65
|
-
"""Gets the filepath of this
|
|
65
|
+
"""Gets the filepath of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
:return: The filepath of this
|
|
68
|
+
:return: The filepath of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
69
69
|
:rtype: str
|
|
70
70
|
"""
|
|
71
71
|
return self._filepath
|
|
72
72
|
|
|
73
73
|
@filepath.setter
|
|
74
74
|
def filepath(self, filepath: 'str'):
|
|
75
|
-
"""Sets the filepath of this
|
|
75
|
+
"""Sets the filepath of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody.
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
:param filepath: The filepath of this
|
|
78
|
+
:param filepath: The filepath of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
79
79
|
:type: str
|
|
80
80
|
"""
|
|
81
81
|
|
|
@@ -83,20 +83,20 @@ class UploadIdCompleteBody1(object):
|
|
|
83
83
|
|
|
84
84
|
@property
|
|
85
85
|
def parts(self) -> 'list[V1CompletedPart]':
|
|
86
|
-
"""Gets the parts of this
|
|
86
|
+
"""Gets the parts of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
:return: The parts of this
|
|
89
|
+
:return: The parts of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
90
90
|
:rtype: list[V1CompletedPart]
|
|
91
91
|
"""
|
|
92
92
|
return self._parts
|
|
93
93
|
|
|
94
94
|
@parts.setter
|
|
95
95
|
def parts(self, parts: 'list[V1CompletedPart]'):
|
|
96
|
-
"""Sets the parts of this
|
|
96
|
+
"""Sets the parts of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody.
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
:param parts: The parts of this
|
|
99
|
+
:param parts: The parts of this LitDatasetServiceCompleteLitDatasetMultiPartUploadBody. # noqa: E501
|
|
100
100
|
:type: list[V1CompletedPart]
|
|
101
101
|
"""
|
|
102
102
|
|
|
@@ -123,7 +123,7 @@ class UploadIdCompleteBody1(object):
|
|
|
123
123
|
))
|
|
124
124
|
else:
|
|
125
125
|
result[attr] = value
|
|
126
|
-
if issubclass(
|
|
126
|
+
if issubclass(LitDatasetServiceCompleteLitDatasetMultiPartUploadBody, dict):
|
|
127
127
|
for key, value in self.items():
|
|
128
128
|
result[key] = value
|
|
129
129
|
|
|
@@ -137,13 +137,13 @@ class UploadIdCompleteBody1(object):
|
|
|
137
137
|
"""For `print` and `pprint`"""
|
|
138
138
|
return self.to_str()
|
|
139
139
|
|
|
140
|
-
def __eq__(self, other: '
|
|
140
|
+
def __eq__(self, other: 'LitDatasetServiceCompleteLitDatasetMultiPartUploadBody') -> bool:
|
|
141
141
|
"""Returns true if both objects are equal"""
|
|
142
|
-
if not isinstance(other,
|
|
142
|
+
if not isinstance(other, LitDatasetServiceCompleteLitDatasetMultiPartUploadBody):
|
|
143
143
|
return False
|
|
144
144
|
|
|
145
145
|
return self.__dict__ == other.__dict__
|
|
146
146
|
|
|
147
|
-
def __ne__(self, other: '
|
|
147
|
+
def __ne__(self, other: 'LitDatasetServiceCompleteLitDatasetMultiPartUploadBody') -> bool:
|
|
148
148
|
"""Returns true if both objects are not equal"""
|
|
149
149
|
return not self == other
|