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.
Files changed (310) hide show
  1. lightning_sdk/__version__.py +1 -1
  2. lightning_sdk/api/agents_api.py +4 -4
  3. lightning_sdk/api/ai_hub_api.py +2 -2
  4. lightning_sdk/api/base_studio_api.py +3 -1
  5. lightning_sdk/api/deployment_api.py +2 -2
  6. lightning_sdk/api/job_api.py +9 -7
  7. lightning_sdk/api/license_api.py +2 -2
  8. lightning_sdk/api/mmt_api.py +5 -5
  9. lightning_sdk/api/pipeline_api.py +4 -4
  10. lightning_sdk/api/studio_api.py +33 -33
  11. lightning_sdk/api/teamspace_api.py +38 -26
  12. lightning_sdk/api/user_api.py +2 -2
  13. lightning_sdk/api/utils.py +17 -24
  14. lightning_sdk/cli/entrypoint.py +15 -1
  15. lightning_sdk/cli/studio/cp.py +47 -11
  16. lightning_sdk/lightning_cloud/login.py +1 -1
  17. lightning_sdk/lightning_cloud/openapi/__init__.py +204 -195
  18. lightning_sdk/lightning_cloud/openapi/api/agent_service_api.py +28 -28
  19. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +108 -108
  20. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +69 -57
  21. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +4 -4
  22. lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +14 -14
  23. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +331 -168
  24. lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +4 -4
  25. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +58 -58
  26. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +24 -24
  27. lightning_sdk/lightning_cloud/openapi/api/dataset_service_api.py +8 -8
  28. lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +8 -8
  29. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +8 -8
  30. lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +8 -8
  31. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +16 -16
  32. lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +18 -18
  33. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +514 -254
  34. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +67 -59
  35. lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +16 -16
  36. lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +6 -6
  37. lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +16 -16
  38. lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +42 -42
  39. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +28 -28
  40. lightning_sdk/lightning_cloud/openapi/api/lit_page_service_api.py +4 -4
  41. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +8 -8
  42. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +42 -42
  43. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +34 -34
  44. lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +4 -4
  45. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +38 -38
  46. lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +4 -4
  47. lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +12 -12
  48. lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +32 -32
  49. lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py +8 -8
  50. lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +48 -48
  51. lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +12 -12
  52. lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +16 -16
  53. lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +16 -16
  54. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +40 -40
  55. lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +8 -8
  56. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +20 -20
  57. lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +4 -4
  58. lightning_sdk/lightning_cloud/openapi/models/__init__.py +204 -181
  59. lightning_sdk/lightning_cloud/openapi/models/agent_service_agent_complete_part_body.py +97 -0
  60. lightning_sdk/lightning_cloud/openapi/models/{multipartuploads_upload_id_body.py → agent_service_agent_upload_part_body.py} +10 -10
  61. lightning_sdk/lightning_cloud/openapi/models/{id_multipartuploads_body.py → agent_service_create_agent_multipart_upload_body.py} +14 -14
  62. lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body.py → agent_service_update_agent_job_body.py} +30 -30
  63. lightning_sdk/lightning_cloud/openapi/models/{id_artifacts_body.py → agent_service_upload_agent_job_artifact_body.py} +10 -10
  64. lightning_sdk/lightning_cloud/openapi/models/{id_output_body.py → agent_service_upload_agent_job_output_body.py} +18 -18
  65. lightning_sdk/lightning_cloud/openapi/models/{id_contactowner_body.py → assistants_service_contact_assistant_owner_body.py} +14 -14
  66. lightning_sdk/lightning_cloud/openapi/models/{project_id_agents_body.py → assistants_service_create_assistant_body.py} +74 -74
  67. lightning_sdk/lightning_cloud/openapi/models/{project_id_agentmanagedendpoints_body.py → assistants_service_create_assistant_managed_endpoint_body.py} +14 -14
  68. lightning_sdk/lightning_cloud/openapi/models/{message_id_actions_body.py → assistants_service_create_conversation_message_action_body.py} +28 -26
  69. lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body.py → assistants_service_create_model_metrics_body.py} +26 -26
  70. lightning_sdk/lightning_cloud/openapi/models/{assistant_id_conversations_body.py → assistants_service_start_conversation_body.py} +74 -74
  71. lightning_sdk/lightning_cloud/openapi/models/{agents_id_body.py → assistants_service_update_assistant_body.py} +102 -102
  72. lightning_sdk/lightning_cloud/openapi/models/{agentmanagedendpoints_id_body.py → assistants_service_update_assistant_managed_endpoint_body.py} +42 -42
  73. lightning_sdk/lightning_cloud/openapi/models/{models_id_body.py → assistants_service_update_assistant_managed_endpoint_model_body.py} +10 -10
  74. lightning_sdk/lightning_cloud/openapi/models/assistants_service_update_conversation_body.py +149 -0
  75. lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body1.py → assistants_service_update_conversation_like_body.py} +10 -10
  76. lightning_sdk/lightning_cloud/openapi/models/{id_content_body.py → assistants_service_update_conversation_message_content_body.py} +10 -10
  77. lightning_sdk/lightning_cloud/openapi/models/{messages_id_body.py → assistants_service_update_conversation_message_like_body.py} +10 -10
  78. lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_assistant_status_body.py +97 -0
  79. lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_managed_model_body.py +97 -0
  80. lightning_sdk/lightning_cloud/openapi/models/{user_id_upgradetrigger_body.py → billing_service_create_billing_upgrade_trigger_record_body.py} +22 -22
  81. lightning_sdk/lightning_cloud/openapi/models/{billing_checkout_body.py → billing_service_create_org_checkout_session_body.py} +18 -18
  82. lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body.py → billing_service_transfer_org_balance_body.py} +14 -14
  83. lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body1.py → billing_service_transfer_project_balance_body.py} +18 -18
  84. lightning_sdk/lightning_cloud/openapi/models/{blogposts_id_body.py → blog_posts_service_update_blog_post_body.py} +38 -38
  85. lightning_sdk/lightning_cloud/openapi/models/{update.py → cloud_space_environment_template_service_update_cloud_space_environment_template_body.py} +58 -58
  86. lightning_sdk/lightning_cloud/openapi/models/{apps_id_body1.py → cloud_space_service_create_cloud_space_app_instance_body.py} +34 -34
  87. lightning_sdk/lightning_cloud/openapi/models/{project_id_cloudspaces_body.py → cloud_space_service_create_cloud_space_body.py} +78 -78
  88. lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_metric_body.py → cloud_space_service_create_cloud_space_instance_metric_body.py} +22 -22
  89. lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versions_body.py → cloud_space_service_create_cloud_space_version_body.py} +54 -54
  90. lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body.py → cloud_space_service_create_cloud_space_version_publication_body.py} +18 -18
  91. lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_runs_body.py → cloud_space_service_create_lightning_run_body.py} +86 -86
  92. lightning_sdk/lightning_cloud/openapi/models/{id_get_body.py → cloud_space_service_create_lightning_run_instance_body.py} +58 -58
  93. lightning_sdk/lightning_cloud/openapi/models/{id_engage_body1.py → cloud_space_service_engage_cloud_space_body.py} +14 -14
  94. lightning_sdk/lightning_cloud/openapi/models/{id_execute_body1.py → cloud_space_service_execute_command_in_cloud_space_body.py} +18 -18
  95. lightning_sdk/lightning_cloud/openapi/models/{id_execute_body.py → cloud_space_service_execute_in_cloud_space_session_body.py} +10 -10
  96. lightning_sdk/lightning_cloud/openapi/models/{id_fork_body.py → cloud_space_service_fork_cloud_space_app_instance_body.py} +14 -14
  97. lightning_sdk/lightning_cloud/openapi/models/{id_fork_body1.py → cloud_space_service_fork_cloud_space_body.py} +22 -22
  98. lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_keep_alive_cloud_space_instance_body.py +97 -0
  99. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_proxies_body.py → cloud_space_service_publish_cloud_space_body.py} +10 -10
  100. lightning_sdk/lightning_cloud/openapi/models/{id_index_body1.py → cloud_space_service_refresh_cloud_space_index_body.py} +10 -10
  101. lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_systemmetrics_body.py → cloud_space_service_report_cloud_space_instance_system_metrics_body.py} +14 -14
  102. lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_request_cloud_space_access_body.py +97 -0
  103. lightning_sdk/lightning_cloud/openapi/models/{id_start_body.py → cloud_space_service_start_cloud_space_instance_body.py} +14 -14
  104. lightning_sdk/lightning_cloud/openapi/models/{id_transfer_body.py → cloud_space_service_transfer_cloud_space_body.py} +18 -18
  105. lightning_sdk/lightning_cloud/openapi/models/{apps_id_body.py → cloud_space_service_update_cloud_space_app_body.py} +86 -86
  106. lightning_sdk/lightning_cloud/openapi/models/{cloudspaces_id_body.py → cloud_space_service_update_cloud_space_body.py} +114 -114
  107. lightning_sdk/lightning_cloud/openapi/models/{id_collaborate_body.py → cloud_space_service_update_cloud_space_collab_body.py} +18 -18
  108. lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body.py → cloud_space_service_update_cloud_space_ide_body.py} +21 -21
  109. lightning_sdk/lightning_cloud/openapi/models/{id_index_body.py → cloud_space_service_update_cloud_space_index_body.py} +18 -18
  110. lightning_sdk/lightning_cloud/openapi/models/{id_codeconfig_body.py → cloud_space_service_update_cloud_space_instance_config_body.py} +22 -22
  111. lightning_sdk/lightning_cloud/openapi/models/{id_publications_body.py → cloud_space_service_update_cloud_space_publication_body.py} +14 -14
  112. lightning_sdk/lightning_cloud/openapi/models/{id_sleepconfig_body.py → cloud_space_service_update_cloud_space_sleep_config_body.py} +18 -18
  113. lightning_sdk/lightning_cloud/openapi/models/{versions_id_body.py → cloud_space_service_update_cloud_space_version_body.py} +46 -46
  114. lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body1.py → cloud_space_service_update_cloud_space_version_publication_body.py} +18 -18
  115. lightning_sdk/lightning_cloud/openapi/models/{dataset_id_visibility_body.py → cloud_space_service_update_cloud_space_visibility_body.py} +14 -14
  116. lightning_sdk/lightning_cloud/openapi/models/{user_user_id_body.py → cloudy_service_update_user_cloudy_settings_body.py} +22 -22
  117. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityreservations_body.py → cluster_service_create_cluster_capacity_reservation_body.py} +42 -42
  118. lightning_sdk/lightning_cloud/openapi/models/{id_publications_body1.py → cluster_service_create_cluster_proxy_body.py} +10 -10
  119. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_usagerestrictions_body.py → cluster_service_create_cluster_usage_restriction_body.py} +22 -22
  120. 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
  121. lightning_sdk/lightning_cloud/openapi/models/{project_id_clusters_body.py → cluster_service_create_project_cluster_body.py} +14 -14
  122. lightning_sdk/lightning_cloud/openapi/models/{server_id_alerts_body.py → cluster_service_create_server_alert_body.py} +22 -22
  123. lightning_sdk/lightning_cloud/openapi/models/cluster_service_interrupt_server_body.py +97 -0
  124. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityblock_body.py → cluster_service_purchase_capacity_block_body.py} +30 -30
  125. lightning_sdk/lightning_cloud/openapi/models/{servers_server_id_body.py → cluster_service_server_check_in_body.py} +10 -10
  126. lightning_sdk/lightning_cloud/openapi/models/cluster_service_sleep_server_body.py +97 -0
  127. lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body.py → cluster_service_update_cluster_body.py} +18 -18
  128. lightning_sdk/lightning_cloud/openapi/models/{usagerestrictions_id_body.py → cluster_service_update_cluster_usage_restriction_body.py} +22 -22
  129. lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body1.py → cluster_service_update_project_cluster_body.py} +14 -14
  130. lightning_sdk/lightning_cloud/openapi/models/{create.py → data_connection_service_create_data_connection_body.py} +82 -82
  131. lightning_sdk/lightning_cloud/openapi/models/{id_index_body2.py → data_connection_service_refresh_data_connection_index_body.py} +10 -10
  132. lightning_sdk/lightning_cloud/openapi/models/{setup.py → data_connection_service_setup_data_connection_body.py} +14 -14
  133. lightning_sdk/lightning_cloud/openapi/models/{update1.py → data_connection_service_update_data_connection_body.py} +50 -50
  134. lightning_sdk/lightning_cloud/openapi/models/{validate.py → data_connection_service_validate_data_connection_body.py} +42 -42
  135. lightning_sdk/lightning_cloud/openapi/models/{project_id_datasets_body.py → dataset_service_create_dataset_body.py} +70 -70
  136. lightning_sdk/lightning_cloud/openapi/models/{datasets_id_body.py → dataset_service_update_dataset_body.py} +22 -22
  137. lightning_sdk/lightning_cloud/openapi/models/{id_engage_body.py → deployment_templates_service_engage_deployment_template_body.py} +10 -10
  138. lightning_sdk/lightning_cloud/openapi/models/{deploymenttemplates_id_body.py → deployment_templates_service_update_deployment_template_body.py} +70 -70
  139. lightning_sdk/lightning_cloud/openapi/models/{project_id_endpoints_body.py → endpoint_service_create_endpoint_body.py} +30 -30
  140. lightning_sdk/lightning_cloud/openapi/models/{endpoints_id_body.py → endpoint_service_update_endpoint_body.py} +62 -62
  141. lightning_sdk/lightning_cloud/openapi/models/{experiment_name_variant_name_body.py → experiments_service_assign_variant_body.py} +10 -10
  142. lightning_sdk/lightning_cloud/openapi/models/{incident_id_messages_body.py → incidents_service_create_incident_message_body.py} +10 -10
  143. lightning_sdk/lightning_cloud/openapi/models/{incidents_id_body.py → incidents_service_update_incident_body.py} +34 -34
  144. lightning_sdk/lightning_cloud/openapi/models/{messages_message_id_body.py → incidents_service_update_incident_message_body.py} +10 -10
  145. lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body1.py → jobs_service_create_deployment_alerting_policy_body.py} +42 -42
  146. 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
  147. lightning_sdk/lightning_cloud/openapi/models/{project_id_jobs_body.py → jobs_service_create_job_body.py} +18 -18
  148. lightning_sdk/lightning_cloud/openapi/models/{project_id_multimachinejobs_body.py → jobs_service_create_multi_machine_job_body.py} +26 -26
  149. lightning_sdk/lightning_cloud/openapi/models/{job_id_reportroutingtelemetry_body.py → jobs_service_report_deployment_routing_telemetry_body.py} +10 -10
  150. lightning_sdk/lightning_cloud/openapi/models/{job_id_systemmetrics_body.py → jobs_service_report_job_system_metrics_body.py} +10 -10
  151. lightning_sdk/lightning_cloud/openapi/models/{id_reportlogsactivity_body.py → jobs_service_report_logs_activity_body.py} +10 -10
  152. lightning_sdk/lightning_cloud/openapi/models/{id_reportrestarttimings_body.py → jobs_service_report_restart_timings_body.py} +10 -10
  153. lightning_sdk/lightning_cloud/openapi/models/jobs_service_restore_deployment_release_body.py +97 -0
  154. lightning_sdk/lightning_cloud/openapi/models/{alertingevents_id_body.py → jobs_service_update_deployment_alerting_event_body.py} +54 -54
  155. lightning_sdk/lightning_cloud/openapi/models/jobs_service_update_deployment_alerting_events_bulk_body.py +123 -0
  156. lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body.py → jobs_service_update_deployment_alerting_policy_body.py} +46 -46
  157. lightning_sdk/lightning_cloud/openapi/models/{deployments_id_body.py → jobs_service_update_deployment_body.py} +128 -126
  158. lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body1.py → jobs_service_update_deployment_visibility_body.py} +10 -10
  159. lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body1.py → jobs_service_update_job_body.py} +14 -14
  160. lightning_sdk/lightning_cloud/openapi/models/{id_index_body3.py → jobs_service_update_job_index_body.py} +18 -18
  161. lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body.py → jobs_service_update_job_visibility_body.py} +10 -10
  162. lightning_sdk/lightning_cloud/openapi/models/{multimachinejobs_id_body.py → jobs_service_update_multi_machine_job_body.py} +10 -10
  163. lightning_sdk/lightning_cloud/openapi/models/{deployments_deployment_id_body.py → jobs_service_update_org_deployment_visibility_body.py} +14 -14
  164. lightning_sdk/lightning_cloud/openapi/models/{kubernetestemplates_id_body.py → k8_s_cluster_service_create_kubernetes_template_body.py} +22 -22
  165. lightning_sdk/lightning_cloud/openapi/models/{id_render_body.py → k8_s_cluster_service_render_kubernetes_template_body.py} +10 -10
  166. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_metrics_body.py → k8_s_cluster_service_report_k8_s_cluster_metrics_body.py} +42 -42
  167. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_kubernetestemplates_body.py → k8_s_cluster_service_update_kubernetes_template_body.py} +22 -22
  168. lightning_sdk/lightning_cloud/openapi/models/{appinstances_id_body.py → lightningapp_instance_service_update_lightningapp_instance_body.py} +18 -18
  169. lightning_sdk/lightning_cloud/openapi/models/{id_release_body.py → lightningapp_instance_service_update_lightningapp_instance_release_body.py} +10 -10
  170. lightning_sdk/lightning_cloud/openapi/models/{id_uploads_body.py → lightningapp_instance_service_upload_lightningapp_instance_artifact_body.py} +10 -10
  171. lightning_sdk/lightning_cloud/openapi/models/{project_id_getapp_body.py → lightningapp_v2_service_create_lightningapp_from_gallery_body.py} +30 -30
  172. lightning_sdk/lightning_cloud/openapi/models/{app_id_works_body.py → lightningwork_service_batch_update_lightningworks_body.py} +14 -14
  173. lightning_sdk/lightning_cloud/openapi/models/{spec_lightningapp_instance_id_works_body.py → lightningwork_service_create_lightningwork_body.py} +24 -24
  174. lightning_sdk/lightning_cloud/openapi/models/lightningwork_service_create_lightningwork_body_spec.py +487 -0
  175. lightning_sdk/lightning_cloud/openapi/models/{works_id_body.py → lightningwork_service_update_lightningwork_body.py} +16 -16
  176. lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body1.py → lit_dataset_service_complete_lit_dataset_multi_part_upload_body.py} +14 -14
  177. lightning_sdk/lightning_cloud/openapi/models/lit_dataset_service_complete_lit_dataset_upload_body.py +97 -0
  178. lightning_sdk/lightning_cloud/openapi/models/{project_id_models_body.py → lit_dataset_service_create_lit_dataset_body.py} +26 -26
  179. lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body1.py → lit_dataset_service_create_lit_dataset_multi_part_upload_body.py} +10 -10
  180. lightning_sdk/lightning_cloud/openapi/models/{dataset_id_versions_body.py → lit_dataset_service_create_lit_dataset_version_body.py} +16 -14
  181. lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body.py → lit_dataset_service_get_lit_dataset_file_upload_urls_body.py} +14 -14
  182. lightning_sdk/lightning_cloud/openapi/models/{version_default_body.py → lit_dataset_service_set_lit_dataset_default_version_body.py} +14 -14
  183. lightning_sdk/lightning_cloud/openapi/models/{litdatasets_dataset_id_body.py → lit_dataset_service_update_lit_dataset_body.py} +14 -14
  184. lightning_sdk/lightning_cloud/openapi/models/{versions_version_body.py → lit_dataset_service_update_lit_dataset_version_body.py} +10 -10
  185. lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body2.py → lit_dataset_service_update_lit_dataset_visibility_body.py} +14 -14
  186. lightning_sdk/lightning_cloud/openapi/models/{loggermetrics_id_body.py → lit_logger_service_append_logger_metrics_body.py} +10 -10
  187. lightning_sdk/lightning_cloud/openapi/models/{metrics_stream_id_loggerartifacts_body.py → lit_logger_service_create_logger_artifact_body.py} +10 -10
  188. lightning_sdk/lightning_cloud/openapi/models/{metricsstream_create_body.py → lit_logger_service_create_metrics_stream_body.py} +62 -62
  189. lightning_sdk/lightning_cloud/openapi/models/{metricsstream_delete_body.py → lit_logger_service_delete_metrics_stream_body.py} +10 -10
  190. lightning_sdk/lightning_cloud/openapi/models/{metricsstream_id_body.py → lit_logger_service_update_metrics_stream_body.py} +22 -22
  191. lightning_sdk/lightning_cloud/openapi/models/{model_id_visibility_body.py → lit_logger_service_update_metrics_stream_visibility_body.py} +14 -14
  192. lightning_sdk/lightning_cloud/openapi/models/{litloggermetrics_id_body.py → lit_logger_service_update_shared_metrics_stream_body.py} +18 -18
  193. lightning_sdk/lightning_cloud/openapi/models/{litpages_id_body.py → lit_page_service_update_lit_page_body.py} +42 -42
  194. lightning_sdk/lightning_cloud/openapi/models/{project_id_litregistry_body.py → lit_registry_service_create_lit_project_registry_body.py} +12 -12
  195. lightning_sdk/lightning_cloud/openapi/models/{litregistry_lit_repo_name_body.py → lit_registry_service_update_lit_repository_metadata_body.py} +10 -10
  196. lightning_sdk/lightning_cloud/openapi/models/models_store_complete_model_upload_body.py +97 -0
  197. lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body.py → models_store_complete_multi_part_upload_body.py} +14 -14
  198. lightning_sdk/lightning_cloud/openapi/models/{project_id_litdatasets_body.py → models_store_create_model_body.py} +26 -26
  199. lightning_sdk/lightning_cloud/openapi/models/{model_id_versions_body.py → models_store_create_model_version_body.py} +20 -18
  200. lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body.py → models_store_create_multi_part_upload_body.py} +10 -10
  201. lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body1.py → models_store_get_model_file_upload_urls_body.py} +14 -14
  202. lightning_sdk/lightning_cloud/openapi/models/{version_default_body1.py → models_store_set_model_default_version_body.py} +14 -14
  203. lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body1.py → models_store_update_model_body.py} +14 -14
  204. lightning_sdk/lightning_cloud/openapi/models/{versions_version_body1.py → models_store_update_model_version_body.py} +10 -10
  205. lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_visibility_body.py → models_store_update_model_visibility_body.py} +14 -14
  206. lightning_sdk/lightning_cloud/openapi/models/{approveautojoindomain_domain_body.py → organizations_service_approve_auto_join_domain_body.py} +10 -10
  207. lightning_sdk/lightning_cloud/openapi/models/organizations_service_auto_join_org_body.py +97 -0
  208. lightning_sdk/lightning_cloud/openapi/models/{org_id_memberships_body.py → organizations_service_create_org_membership_body.py} +22 -22
  209. lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body1.py → organizations_service_create_org_membership_role_binding_body.py} +10 -10
  210. lightning_sdk/lightning_cloud/openapi/models/{org_id_roles_body.py → organizations_service_create_org_role_body.py} +18 -18
  211. lightning_sdk/lightning_cloud/openapi/models/{orgs_id_body.py → organizations_service_update_organization_body.py} +162 -162
  212. lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body.py → organizations_service_update_organization_credits_auto_replenish_body.py} +18 -18
  213. lightning_sdk/lightning_cloud/openapi/models/{validateautojoindomain_domain_body.py → organizations_service_validate_auto_join_domain_body.py} +10 -10
  214. lightning_sdk/lightning_cloud/openapi/models/{pipelinetemplates_id_body.py → pipeline_templates_service_update_pipeline_template_body.py} +42 -42
  215. lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body1.py → pipelines_service_create_child_pipeline_body.py} +10 -10
  216. lightning_sdk/lightning_cloud/openapi/models/{project_id_pipelines_body.py → pipelines_service_create_pipeline_body.py} +30 -30
  217. lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body.py → pipelines_service_update_pipeline_body.py} +74 -74
  218. lightning_sdk/lightning_cloud/openapi/models/{license_key_validate_body.py → product_license_service_validate_license_body.py} +10 -10
  219. lightning_sdk/lightning_cloud/openapi/models/{profiler_captures_body.py → profiler_service_create_profiler_capture_body.py} +34 -34
  220. lightning_sdk/lightning_cloud/openapi/models/{captures_id_body.py → profiler_service_update_profiler_capture_body.py} +10 -10
  221. lightning_sdk/lightning_cloud/openapi/models/{profiler_enabled_body.py → profiler_service_update_profiler_enabled_body.py} +14 -14
  222. lightning_sdk/lightning_cloud/openapi/models/{project_id_projectclustersbindings_body.py → projects_service_create_project_cluster_binding_body.py} +14 -14
  223. lightning_sdk/lightning_cloud/openapi/models/{project_id_memberships_body.py → projects_service_create_project_membership_body.py} +22 -22
  224. lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body.py → projects_service_create_project_membership_role_binding_body.py} +10 -10
  225. lightning_sdk/lightning_cloud/openapi/models/{projects_project_id_body.py → projects_service_create_project_role_body.py} +18 -18
  226. lightning_sdk/lightning_cloud/openapi/models/{project_id_invite_body.py → projects_service_invite_project_membership_body.py} +18 -18
  227. lightning_sdk/lightning_cloud/openapi/models/{projects_id_body.py → projects_service_update_project_body.py} +110 -110
  228. lightning_sdk/lightning_cloud/openapi/models/{project_tab_management_messages.py → projects_service_update_project_tab_order_body.py} +10 -10
  229. lightning_sdk/lightning_cloud/openapi/models/protobuf_any.py +7 -58
  230. lightning_sdk/lightning_cloud/openapi/models/quest_service_complete_quest_body.py +97 -0
  231. lightning_sdk/lightning_cloud/openapi/models/quest_service_start_quest_body.py +97 -0
  232. lightning_sdk/lightning_cloud/openapi/models/{project_id_schedules_body.py → schedules_service_create_schedule_body.py} +42 -42
  233. lightning_sdk/lightning_cloud/openapi/models/schedules_service_create_schedule_run_body.py +97 -0
  234. lightning_sdk/lightning_cloud/openapi/models/{schedules_id_body.py → schedules_service_update_schedule_body.py} +70 -70
  235. lightning_sdk/lightning_cloud/openapi/models/{project_id_secrets_body.py → secret_service_create_secret_body.py} +18 -18
  236. lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body1.py → secret_service_update_secret_body.py} +10 -10
  237. lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body.py → secret_service_update_user_secret_body.py} +10 -10
  238. lightning_sdk/lightning_cloud/openapi/models/{cluster_id_slurmusers_body.py → slurm_jobs_user_service_create_slurm_cluster_user_body.py} +22 -22
  239. lightning_sdk/lightning_cloud/openapi/models/{slurm_jobs_body.py → slurm_jobs_user_service_create_user_slurm_job_body.py} +54 -54
  240. lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body2.py → slurm_jobs_user_service_update_user_slurm_job_body.py} +10 -10
  241. lightning_sdk/lightning_cloud/openapi/models/{id_action_body.py → slurm_jobs_user_service_user_slurm_job_action_body.py} +10 -10
  242. lightning_sdk/lightning_cloud/openapi/models/{project_id_snowflake_body.py → snowflake_service_create_snowflake_connection_body.py} +10 -10
  243. lightning_sdk/lightning_cloud/openapi/models/{query_query_id_body.py → snowflake_service_execute_snowflake_query_body.py} +18 -18
  244. lightning_sdk/lightning_cloud/openapi/models/{snowflake_export_body.py → snowflake_service_export_snowflake_query_body.py} +38 -38
  245. lightning_sdk/lightning_cloud/openapi/models/{snowflake_query_body.py → snowflake_service_update_snowflake_query_body.py} +18 -18
  246. lightning_sdk/lightning_cloud/openapi/models/storage_service_abort_storage_transfer_body.py +97 -0
  247. lightning_sdk/lightning_cloud/openapi/models/{storage_complete_body.py → storage_service_complete_upload_project_artifact_body.py} +30 -30
  248. lightning_sdk/lightning_cloud/openapi/models/{project_id_storagetransfers_body.py → storage_service_create_storage_transfer_body.py} +18 -18
  249. lightning_sdk/lightning_cloud/openapi/models/storage_service_pause_storage_transfer_body.py +97 -0
  250. lightning_sdk/lightning_cloud/openapi/models/storage_service_resume_storage_transfer_body.py +97 -0
  251. lightning_sdk/lightning_cloud/openapi/models/{project_id_storage_body.py → storage_service_upload_project_artifact_body.py} +22 -22
  252. lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body1.py → storage_service_upload_project_artifact_parts_body.py} +22 -22
  253. lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body.py → storage_service_upload_temporary_artifact_parts_body.py} +14 -14
  254. lightning_sdk/lightning_cloud/openapi/models/{storagetransfers_validate_body.py → storage_service_validate_storage_transfer_body.py} +14 -14
  255. lightning_sdk/lightning_cloud/openapi/models/{studioapp_jobs_body.py → studio_jobs_service_create_studio_job_body.py} +34 -34
  256. lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body3.py → studio_jobs_service_update_studio_job_body.py} +14 -14
  257. lightning_sdk/lightning_cloud/openapi/models/{user_id_affiliatelinks_body.py → user_service_create_affiliate_link_body.py} +30 -30
  258. lightning_sdk/lightning_cloud/openapi/models/{affiliatelinks_id_body.py → user_service_update_affiliate_link_body.py} +14 -14
  259. lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body1.py → user_service_update_user_credits_auto_replenish_body.py} +18 -18
  260. lightning_sdk/lightning_cloud/openapi/models/user_service_upload_settings_body.py +97 -0
  261. lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +2 -0
  262. lightning_sdk/lightning_cloud/openapi/models/v1_aws_data_connection.py +2 -0
  263. lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +2 -0
  264. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
  265. lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +2 -0
  266. lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +4 -0
  267. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +6 -0
  268. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +2 -0
  269. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +2 -0
  270. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +2 -0
  271. lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +2 -0
  272. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
  273. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job.py +79 -1
  274. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +253 -0
  275. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +2 -0
  276. lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +6 -0
  277. lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +79 -1
  278. lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +2 -0
  279. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +6 -0
  280. lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +55 -3
  281. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +59 -1
  282. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -1
  283. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +2 -0
  284. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +79 -1
  285. lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +27 -1
  286. lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +2 -0
  287. lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +2 -0
  288. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +2 -0
  289. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +2 -0
  290. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +1 -0
  291. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +4 -0
  292. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +2 -0
  293. lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_alerting_events_bulk_response.py +97 -0
  294. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +2 -0
  295. lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +6 -0
  296. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +183 -79
  297. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +2 -0
  298. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +2 -0
  299. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +53 -1
  300. lightning_sdk/lightning_cloud/openapi/models/{volumes_id_body.py → volume_service_update_volume_body.py} +10 -10
  301. lightning_sdk/lightning_cloud/utils/data_connection.py +14 -8
  302. lightning_sdk/lightning_cloud/utils/dataset.py +3 -5
  303. lightning_sdk/plugin.py +2 -2
  304. lightning_sdk/teamspace.py +3 -2
  305. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/METADATA +2 -2
  306. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/RECORD +310 -287
  307. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/LICENSE +0 -0
  308. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/WHEEL +0 -0
  309. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/entry_points.txt +0 -0
  310. {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/top_level.txt +0 -0
@@ -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 ProjectTabManagementMessages(object):
31
+ class ProjectsServiceUpdateProjectTabOrderBody(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.
@@ -49,7 +49,7 @@ class ProjectTabManagementMessages(object):
49
49
  }
50
50
 
51
51
  def __init__(self, tabs: 'list[V1ProjectTab]' =None): # noqa: E501
52
- """ProjectTabManagementMessages - a model defined in Swagger""" # noqa: E501
52
+ """ProjectsServiceUpdateProjectTabOrderBody - a model defined in Swagger""" # noqa: E501
53
53
  self._tabs = None
54
54
  self.discriminator = None
55
55
  if tabs is not None:
@@ -57,20 +57,20 @@ class ProjectTabManagementMessages(object):
57
57
 
58
58
  @property
59
59
  def tabs(self) -> 'list[V1ProjectTab]':
60
- """Gets the tabs of this ProjectTabManagementMessages. # noqa: E501
60
+ """Gets the tabs of this ProjectsServiceUpdateProjectTabOrderBody. # noqa: E501
61
61
 
62
62
 
63
- :return: The tabs of this ProjectTabManagementMessages. # noqa: E501
63
+ :return: The tabs of this ProjectsServiceUpdateProjectTabOrderBody. # noqa: E501
64
64
  :rtype: list[V1ProjectTab]
65
65
  """
66
66
  return self._tabs
67
67
 
68
68
  @tabs.setter
69
69
  def tabs(self, tabs: 'list[V1ProjectTab]'):
70
- """Sets the tabs of this ProjectTabManagementMessages.
70
+ """Sets the tabs of this ProjectsServiceUpdateProjectTabOrderBody.
71
71
 
72
72
 
73
- :param tabs: The tabs of this ProjectTabManagementMessages. # noqa: E501
73
+ :param tabs: The tabs of this ProjectsServiceUpdateProjectTabOrderBody. # noqa: E501
74
74
  :type: list[V1ProjectTab]
75
75
  """
76
76
 
@@ -97,7 +97,7 @@ class ProjectTabManagementMessages(object):
97
97
  ))
98
98
  else:
99
99
  result[attr] = value
100
- if issubclass(ProjectTabManagementMessages, dict):
100
+ if issubclass(ProjectsServiceUpdateProjectTabOrderBody, dict):
101
101
  for key, value in self.items():
102
102
  result[key] = value
103
103
 
@@ -111,13 +111,13 @@ class ProjectTabManagementMessages(object):
111
111
  """For `print` and `pprint`"""
112
112
  return self.to_str()
113
113
 
114
- def __eq__(self, other: 'ProjectTabManagementMessages') -> bool:
114
+ def __eq__(self, other: 'ProjectsServiceUpdateProjectTabOrderBody') -> bool:
115
115
  """Returns true if both objects are equal"""
116
- if not isinstance(other, ProjectTabManagementMessages):
116
+ if not isinstance(other, ProjectsServiceUpdateProjectTabOrderBody):
117
117
  return False
118
118
 
119
119
  return self.__dict__ == other.__dict__
120
120
 
121
- def __ne__(self, other: 'ProjectTabManagementMessages') -> bool:
121
+ def __ne__(self, other: 'ProjectsServiceUpdateProjectTabOrderBody') -> 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 ProtobufAny(object):
31
+ class ProtobufAny(dict):
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,70 +41,19 @@ class ProtobufAny(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'type_url': 'str',
45
- 'value': 'str'
46
44
  }
45
+ if hasattr(dict, "swagger_types"):
46
+ swagger_types.update(dict.swagger_types)
47
47
 
48
48
  attribute_map = {
49
- 'type_url': 'typeUrl',
50
- 'value': 'value'
51
49
  }
50
+ if hasattr(dict, "attribute_map"):
51
+ attribute_map.update(dict.attribute_map)
52
52
 
53
- def __init__(self, type_url: 'str' =None, value: 'str' =None): # noqa: E501
53
+ def __init__(self, *args, **kwargs): # noqa: E501
54
54
  """ProtobufAny - a model defined in Swagger""" # noqa: E501
55
- self._type_url = None
56
- self._value = None
57
55
  self.discriminator = None
58
- if type_url is not None:
59
- self.type_url = type_url
60
- if value is not None:
61
- self.value = value
62
-
63
- @property
64
- def type_url(self) -> 'str':
65
- """Gets the type_url of this ProtobufAny. # noqa: E501
66
-
67
- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501
68
-
69
- :return: The type_url of this ProtobufAny. # noqa: E501
70
- :rtype: str
71
- """
72
- return self._type_url
73
-
74
- @type_url.setter
75
- def type_url(self, type_url: 'str'):
76
- """Sets the type_url of this ProtobufAny.
77
-
78
- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501
79
-
80
- :param type_url: The type_url of this ProtobufAny. # noqa: E501
81
- :type: str
82
- """
83
-
84
- self._type_url = type_url
85
-
86
- @property
87
- def value(self) -> 'str':
88
- """Gets the value of this ProtobufAny. # noqa: E501
89
-
90
- Must be a valid serialized protocol buffer of the above specified type. # noqa: E501
91
-
92
- :return: The value of this ProtobufAny. # noqa: E501
93
- :rtype: str
94
- """
95
- return self._value
96
-
97
- @value.setter
98
- def value(self, value: 'str'):
99
- """Sets the value of this ProtobufAny.
100
-
101
- Must be a valid serialized protocol buffer of the above specified type. # noqa: E501
102
-
103
- :param value: The value of this ProtobufAny. # noqa: E501
104
- :type: str
105
- """
106
-
107
- self._value = value
56
+ dict.__init__(self, *args, **kwargs)
108
57
 
109
58
  def to_dict(self) -> dict:
110
59
  """Returns the model properties as a dict"""
@@ -0,0 +1,97 @@
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 QuestServiceCompleteQuestBody(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
+ }
45
+
46
+ attribute_map = {
47
+ }
48
+
49
+ def __init__(self): # noqa: E501
50
+ """QuestServiceCompleteQuestBody - a model defined in Swagger""" # noqa: E501
51
+ self.discriminator = None
52
+
53
+ def to_dict(self) -> dict:
54
+ """Returns the model properties as a dict"""
55
+ result = {}
56
+
57
+ for attr, _ in six.iteritems(self.swagger_types):
58
+ value = getattr(self, attr)
59
+ if isinstance(value, list):
60
+ result[attr] = list(map(
61
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
62
+ value
63
+ ))
64
+ elif hasattr(value, "to_dict"):
65
+ result[attr] = value.to_dict()
66
+ elif isinstance(value, dict):
67
+ result[attr] = dict(map(
68
+ lambda item: (item[0], item[1].to_dict())
69
+ if hasattr(item[1], "to_dict") else item,
70
+ value.items()
71
+ ))
72
+ else:
73
+ result[attr] = value
74
+ if issubclass(QuestServiceCompleteQuestBody, dict):
75
+ for key, value in self.items():
76
+ result[key] = value
77
+
78
+ return result
79
+
80
+ def to_str(self) -> str:
81
+ """Returns the string representation of the model"""
82
+ return pprint.pformat(self.to_dict())
83
+
84
+ def __repr__(self) -> str:
85
+ """For `print` and `pprint`"""
86
+ return self.to_str()
87
+
88
+ def __eq__(self, other: 'QuestServiceCompleteQuestBody') -> bool:
89
+ """Returns true if both objects are equal"""
90
+ if not isinstance(other, QuestServiceCompleteQuestBody):
91
+ return False
92
+
93
+ return self.__dict__ == other.__dict__
94
+
95
+ def __ne__(self, other: 'QuestServiceCompleteQuestBody') -> bool:
96
+ """Returns true if both objects are not equal"""
97
+ return not self == other
@@ -0,0 +1,97 @@
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 QuestServiceStartQuestBody(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
+ }
45
+
46
+ attribute_map = {
47
+ }
48
+
49
+ def __init__(self): # noqa: E501
50
+ """QuestServiceStartQuestBody - a model defined in Swagger""" # noqa: E501
51
+ self.discriminator = None
52
+
53
+ def to_dict(self) -> dict:
54
+ """Returns the model properties as a dict"""
55
+ result = {}
56
+
57
+ for attr, _ in six.iteritems(self.swagger_types):
58
+ value = getattr(self, attr)
59
+ if isinstance(value, list):
60
+ result[attr] = list(map(
61
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
62
+ value
63
+ ))
64
+ elif hasattr(value, "to_dict"):
65
+ result[attr] = value.to_dict()
66
+ elif isinstance(value, dict):
67
+ result[attr] = dict(map(
68
+ lambda item: (item[0], item[1].to_dict())
69
+ if hasattr(item[1], "to_dict") else item,
70
+ value.items()
71
+ ))
72
+ else:
73
+ result[attr] = value
74
+ if issubclass(QuestServiceStartQuestBody, dict):
75
+ for key, value in self.items():
76
+ result[key] = value
77
+
78
+ return result
79
+
80
+ def to_str(self) -> str:
81
+ """Returns the string representation of the model"""
82
+ return pprint.pformat(self.to_dict())
83
+
84
+ def __repr__(self) -> str:
85
+ """For `print` and `pprint`"""
86
+ return self.to_str()
87
+
88
+ def __eq__(self, other: 'QuestServiceStartQuestBody') -> bool:
89
+ """Returns true if both objects are equal"""
90
+ if not isinstance(other, QuestServiceStartQuestBody):
91
+ return False
92
+
93
+ return self.__dict__ == other.__dict__
94
+
95
+ def __ne__(self, other: 'QuestServiceStartQuestBody') -> bool:
96
+ """Returns true if both objects are not equal"""
97
+ 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 ProjectIdSchedulesBody(object):
31
+ class SchedulesServiceCreateScheduleBody(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.
@@ -65,7 +65,7 @@ class ProjectIdSchedulesBody(object):
65
65
  }
66
66
 
67
67
  def __init__(self, action_type: 'V1ScheduleActionType' =None, command: 'str' =None, cron_expression: 'str' =None, display_name: 'str' =None, parallel_runs: 'bool' =None, parent_resource_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None, timezone: 'str' =None): # noqa: E501
68
- """ProjectIdSchedulesBody - a model defined in Swagger""" # noqa: E501
68
+ """SchedulesServiceCreateScheduleBody - a model defined in Swagger""" # noqa: E501
69
69
  self._action_type = None
70
70
  self._command = None
71
71
  self._cron_expression = None
@@ -97,20 +97,20 @@ class ProjectIdSchedulesBody(object):
97
97
 
98
98
  @property
99
99
  def action_type(self) -> 'V1ScheduleActionType':
100
- """Gets the action_type of this ProjectIdSchedulesBody. # noqa: E501
100
+ """Gets the action_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
101
101
 
102
102
 
103
- :return: The action_type of this ProjectIdSchedulesBody. # noqa: E501
103
+ :return: The action_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
104
104
  :rtype: V1ScheduleActionType
105
105
  """
106
106
  return self._action_type
107
107
 
108
108
  @action_type.setter
109
109
  def action_type(self, action_type: 'V1ScheduleActionType'):
110
- """Sets the action_type of this ProjectIdSchedulesBody.
110
+ """Sets the action_type of this SchedulesServiceCreateScheduleBody.
111
111
 
112
112
 
113
- :param action_type: The action_type of this ProjectIdSchedulesBody. # noqa: E501
113
+ :param action_type: The action_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
114
114
  :type: V1ScheduleActionType
115
115
  """
116
116
 
@@ -118,20 +118,20 @@ class ProjectIdSchedulesBody(object):
118
118
 
119
119
  @property
120
120
  def command(self) -> 'str':
121
- """Gets the command of this ProjectIdSchedulesBody. # noqa: E501
121
+ """Gets the command of this SchedulesServiceCreateScheduleBody. # noqa: E501
122
122
 
123
123
 
124
- :return: The command of this ProjectIdSchedulesBody. # noqa: E501
124
+ :return: The command of this SchedulesServiceCreateScheduleBody. # noqa: E501
125
125
  :rtype: str
126
126
  """
127
127
  return self._command
128
128
 
129
129
  @command.setter
130
130
  def command(self, command: 'str'):
131
- """Sets the command of this ProjectIdSchedulesBody.
131
+ """Sets the command of this SchedulesServiceCreateScheduleBody.
132
132
 
133
133
 
134
- :param command: The command of this ProjectIdSchedulesBody. # noqa: E501
134
+ :param command: The command of this SchedulesServiceCreateScheduleBody. # noqa: E501
135
135
  :type: str
136
136
  """
137
137
 
@@ -139,20 +139,20 @@ class ProjectIdSchedulesBody(object):
139
139
 
140
140
  @property
141
141
  def cron_expression(self) -> 'str':
142
- """Gets the cron_expression of this ProjectIdSchedulesBody. # noqa: E501
142
+ """Gets the cron_expression of this SchedulesServiceCreateScheduleBody. # noqa: E501
143
143
 
144
144
 
145
- :return: The cron_expression of this ProjectIdSchedulesBody. # noqa: E501
145
+ :return: The cron_expression of this SchedulesServiceCreateScheduleBody. # noqa: E501
146
146
  :rtype: str
147
147
  """
148
148
  return self._cron_expression
149
149
 
150
150
  @cron_expression.setter
151
151
  def cron_expression(self, cron_expression: 'str'):
152
- """Sets the cron_expression of this ProjectIdSchedulesBody.
152
+ """Sets the cron_expression of this SchedulesServiceCreateScheduleBody.
153
153
 
154
154
 
155
- :param cron_expression: The cron_expression of this ProjectIdSchedulesBody. # noqa: E501
155
+ :param cron_expression: The cron_expression of this SchedulesServiceCreateScheduleBody. # noqa: E501
156
156
  :type: str
157
157
  """
158
158
 
@@ -160,20 +160,20 @@ class ProjectIdSchedulesBody(object):
160
160
 
161
161
  @property
162
162
  def display_name(self) -> 'str':
163
- """Gets the display_name of this ProjectIdSchedulesBody. # noqa: E501
163
+ """Gets the display_name of this SchedulesServiceCreateScheduleBody. # noqa: E501
164
164
 
165
165
 
166
- :return: The display_name of this ProjectIdSchedulesBody. # noqa: E501
166
+ :return: The display_name of this SchedulesServiceCreateScheduleBody. # noqa: E501
167
167
  :rtype: str
168
168
  """
169
169
  return self._display_name
170
170
 
171
171
  @display_name.setter
172
172
  def display_name(self, display_name: 'str'):
173
- """Sets the display_name of this ProjectIdSchedulesBody.
173
+ """Sets the display_name of this SchedulesServiceCreateScheduleBody.
174
174
 
175
175
 
176
- :param display_name: The display_name of this ProjectIdSchedulesBody. # noqa: E501
176
+ :param display_name: The display_name of this SchedulesServiceCreateScheduleBody. # noqa: E501
177
177
  :type: str
178
178
  """
179
179
 
@@ -181,20 +181,20 @@ class ProjectIdSchedulesBody(object):
181
181
 
182
182
  @property
183
183
  def parallel_runs(self) -> 'bool':
184
- """Gets the parallel_runs of this ProjectIdSchedulesBody. # noqa: E501
184
+ """Gets the parallel_runs of this SchedulesServiceCreateScheduleBody. # noqa: E501
185
185
 
186
186
 
187
- :return: The parallel_runs of this ProjectIdSchedulesBody. # noqa: E501
187
+ :return: The parallel_runs of this SchedulesServiceCreateScheduleBody. # noqa: E501
188
188
  :rtype: bool
189
189
  """
190
190
  return self._parallel_runs
191
191
 
192
192
  @parallel_runs.setter
193
193
  def parallel_runs(self, parallel_runs: 'bool'):
194
- """Sets the parallel_runs of this ProjectIdSchedulesBody.
194
+ """Sets the parallel_runs of this SchedulesServiceCreateScheduleBody.
195
195
 
196
196
 
197
- :param parallel_runs: The parallel_runs of this ProjectIdSchedulesBody. # noqa: E501
197
+ :param parallel_runs: The parallel_runs of this SchedulesServiceCreateScheduleBody. # noqa: E501
198
198
  :type: bool
199
199
  """
200
200
 
@@ -202,20 +202,20 @@ class ProjectIdSchedulesBody(object):
202
202
 
203
203
  @property
204
204
  def parent_resource_id(self) -> 'str':
205
- """Gets the parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
205
+ """Gets the parent_resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
206
206
 
207
207
 
208
- :return: The parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
208
+ :return: The parent_resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
209
209
  :rtype: str
210
210
  """
211
211
  return self._parent_resource_id
212
212
 
213
213
  @parent_resource_id.setter
214
214
  def parent_resource_id(self, parent_resource_id: 'str'):
215
- """Sets the parent_resource_id of this ProjectIdSchedulesBody.
215
+ """Sets the parent_resource_id of this SchedulesServiceCreateScheduleBody.
216
216
 
217
217
 
218
- :param parent_resource_id: The parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
218
+ :param parent_resource_id: The parent_resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
219
219
  :type: str
220
220
  """
221
221
 
@@ -223,20 +223,20 @@ class ProjectIdSchedulesBody(object):
223
223
 
224
224
  @property
225
225
  def resource_id(self) -> 'str':
226
- """Gets the resource_id of this ProjectIdSchedulesBody. # noqa: E501
226
+ """Gets the resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
227
227
 
228
228
 
229
- :return: The resource_id of this ProjectIdSchedulesBody. # noqa: E501
229
+ :return: The resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
230
230
  :rtype: str
231
231
  """
232
232
  return self._resource_id
233
233
 
234
234
  @resource_id.setter
235
235
  def resource_id(self, resource_id: 'str'):
236
- """Sets the resource_id of this ProjectIdSchedulesBody.
236
+ """Sets the resource_id of this SchedulesServiceCreateScheduleBody.
237
237
 
238
238
 
239
- :param resource_id: The resource_id of this ProjectIdSchedulesBody. # noqa: E501
239
+ :param resource_id: The resource_id of this SchedulesServiceCreateScheduleBody. # noqa: E501
240
240
  :type: str
241
241
  """
242
242
 
@@ -244,20 +244,20 @@ class ProjectIdSchedulesBody(object):
244
244
 
245
245
  @property
246
246
  def resource_type(self) -> 'V1ScheduleResourceType':
247
- """Gets the resource_type of this ProjectIdSchedulesBody. # noqa: E501
247
+ """Gets the resource_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
248
248
 
249
249
 
250
- :return: The resource_type of this ProjectIdSchedulesBody. # noqa: E501
250
+ :return: The resource_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
251
251
  :rtype: V1ScheduleResourceType
252
252
  """
253
253
  return self._resource_type
254
254
 
255
255
  @resource_type.setter
256
256
  def resource_type(self, resource_type: 'V1ScheduleResourceType'):
257
- """Sets the resource_type of this ProjectIdSchedulesBody.
257
+ """Sets the resource_type of this SchedulesServiceCreateScheduleBody.
258
258
 
259
259
 
260
- :param resource_type: The resource_type of this ProjectIdSchedulesBody. # noqa: E501
260
+ :param resource_type: The resource_type of this SchedulesServiceCreateScheduleBody. # noqa: E501
261
261
  :type: V1ScheduleResourceType
262
262
  """
263
263
 
@@ -265,20 +265,20 @@ class ProjectIdSchedulesBody(object):
265
265
 
266
266
  @property
267
267
  def timezone(self) -> 'str':
268
- """Gets the timezone of this ProjectIdSchedulesBody. # noqa: E501
268
+ """Gets the timezone of this SchedulesServiceCreateScheduleBody. # noqa: E501
269
269
 
270
270
 
271
- :return: The timezone of this ProjectIdSchedulesBody. # noqa: E501
271
+ :return: The timezone of this SchedulesServiceCreateScheduleBody. # noqa: E501
272
272
  :rtype: str
273
273
  """
274
274
  return self._timezone
275
275
 
276
276
  @timezone.setter
277
277
  def timezone(self, timezone: 'str'):
278
- """Sets the timezone of this ProjectIdSchedulesBody.
278
+ """Sets the timezone of this SchedulesServiceCreateScheduleBody.
279
279
 
280
280
 
281
- :param timezone: The timezone of this ProjectIdSchedulesBody. # noqa: E501
281
+ :param timezone: The timezone of this SchedulesServiceCreateScheduleBody. # noqa: E501
282
282
  :type: str
283
283
  """
284
284
 
@@ -305,7 +305,7 @@ class ProjectIdSchedulesBody(object):
305
305
  ))
306
306
  else:
307
307
  result[attr] = value
308
- if issubclass(ProjectIdSchedulesBody, dict):
308
+ if issubclass(SchedulesServiceCreateScheduleBody, dict):
309
309
  for key, value in self.items():
310
310
  result[key] = value
311
311
 
@@ -319,13 +319,13 @@ class ProjectIdSchedulesBody(object):
319
319
  """For `print` and `pprint`"""
320
320
  return self.to_str()
321
321
 
322
- def __eq__(self, other: 'ProjectIdSchedulesBody') -> bool:
322
+ def __eq__(self, other: 'SchedulesServiceCreateScheduleBody') -> bool:
323
323
  """Returns true if both objects are equal"""
324
- if not isinstance(other, ProjectIdSchedulesBody):
324
+ if not isinstance(other, SchedulesServiceCreateScheduleBody):
325
325
  return False
326
326
 
327
327
  return self.__dict__ == other.__dict__
328
328
 
329
- def __ne__(self, other: 'ProjectIdSchedulesBody') -> bool:
329
+ def __ne__(self, other: 'SchedulesServiceCreateScheduleBody') -> bool:
330
330
  """Returns true if both objects are not equal"""
331
331
  return not self == other