argo-workflows 6.5.12__py3-none-any.whl → 6.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of argo-workflows might be problematic. Click here for more details.

Files changed (416) hide show
  1. argo_workflows/__init__.py +2 -2
  2. argo_workflows/api/archived_workflow_service_api.py +13 -1
  3. argo_workflows/api/artifact_service_api.py +2 -2
  4. argo_workflows/api/cluster_workflow_template_service_api.py +8 -2
  5. argo_workflows/api/cron_workflow_service_api.py +8 -2
  6. argo_workflows/api/event_service_api.py +7 -1
  7. argo_workflows/api/event_source_service_api.py +14 -2
  8. argo_workflows/api/info_service_api.py +1 -1
  9. argo_workflows/api/sensor_service_api.py +14 -2
  10. argo_workflows/api/workflow_service_api.py +26 -2
  11. argo_workflows/api/workflow_template_service_api.py +8 -2
  12. argo_workflows/api_client.py +2 -2
  13. argo_workflows/configuration.py +2 -2
  14. argo_workflows/exceptions.py +1 -1
  15. argo_workflows/model/affinity.py +1 -1
  16. argo_workflows/model/{io_argoproj_workflow_v1alpha1_artifact_node_spec.py → app_armor_profile.py} +20 -22
  17. argo_workflows/model/aws_elastic_block_store_volume_source.py +9 -9
  18. argo_workflows/model/azure_disk_volume_source.py +13 -13
  19. argo_workflows/model/azure_file_volume_source.py +7 -7
  20. argo_workflows/model/capabilities.py +1 -1
  21. argo_workflows/model/ceph_fs_volume_source.py +11 -11
  22. argo_workflows/model/cinder_volume_source.py +7 -7
  23. argo_workflows/model/cluster_trust_bundle_projection.py +283 -0
  24. argo_workflows/model/config_map_env_source.py +3 -3
  25. argo_workflows/model/config_map_key_selector.py +3 -3
  26. argo_workflows/model/config_map_projection.py +7 -7
  27. argo_workflows/model/config_map_volume_source.py +9 -9
  28. argo_workflows/model/container.py +23 -22
  29. argo_workflows/model/container_port.py +3 -8
  30. argo_workflows/model/{io_argoproj_workflow_v1alpha1_artifact_gc_status.py → container_resize_policy.py} +22 -16
  31. argo_workflows/model/create_options.py +1 -1
  32. argo_workflows/model/csi_volume_source.py +9 -9
  33. argo_workflows/model/downward_api_projection.py +1 -1
  34. argo_workflows/model/downward_api_volume_file.py +1 -1
  35. argo_workflows/model/downward_api_volume_source.py +1 -1
  36. argo_workflows/model/empty_dir_volume_source.py +5 -5
  37. argo_workflows/model/env_from_source.py +1 -1
  38. argo_workflows/model/env_var.py +1 -1
  39. argo_workflows/model/env_var_source.py +1 -1
  40. argo_workflows/model/ephemeral_volume_source.py +1 -1
  41. argo_workflows/model/event.py +1 -1
  42. argo_workflows/model/event_series.py +1 -1
  43. argo_workflows/model/event_source.py +1 -1
  44. argo_workflows/model/eventsource_create_event_source_request.py +1 -1
  45. argo_workflows/model/eventsource_event_source_watch_event.py +1 -1
  46. argo_workflows/model/eventsource_log_entry.py +1 -1
  47. argo_workflows/model/eventsource_update_event_source_request.py +1 -1
  48. argo_workflows/model/exec_action.py +1 -1
  49. argo_workflows/model/fc_volume_source.py +11 -11
  50. argo_workflows/model/flex_volume_source.py +9 -9
  51. argo_workflows/model/flocker_volume_source.py +5 -5
  52. argo_workflows/model/gce_persistent_disk_volume_source.py +9 -9
  53. argo_workflows/model/git_repo_volume_source.py +7 -7
  54. argo_workflows/model/glusterfs_volume_source.py +7 -7
  55. argo_workflows/model/google_protobuf_any.py +1 -1
  56. argo_workflows/model/group_version_resource.py +1 -1
  57. argo_workflows/model/grpc_action.py +1 -1
  58. argo_workflows/model/grpc_gateway_runtime_error.py +1 -1
  59. argo_workflows/model/grpc_gateway_runtime_stream_error.py +1 -1
  60. argo_workflows/model/host_alias.py +13 -7
  61. argo_workflows/model/host_path_volume_source.py +5 -5
  62. argo_workflows/model/http_get_action.py +3 -7
  63. argo_workflows/model/http_header.py +3 -3
  64. argo_workflows/model/io_argoproj_events_v1alpha1_amount.py +1 -1
  65. argo_workflows/model/io_argoproj_events_v1alpha1_amqp_consume_config.py +1 -1
  66. argo_workflows/model/io_argoproj_events_v1alpha1_amqp_event_source.py +1 -1
  67. argo_workflows/model/io_argoproj_events_v1alpha1_amqp_exchange_declare_config.py +1 -1
  68. argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_bind_config.py +1 -1
  69. argo_workflows/model/io_argoproj_events_v1alpha1_amqp_queue_declare_config.py +1 -1
  70. argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py +1 -1
  71. argo_workflows/model/io_argoproj_events_v1alpha1_artifact_location.py +1 -1
  72. argo_workflows/model/io_argoproj_events_v1alpha1_aws_lambda_trigger.py +1 -1
  73. argo_workflows/model/io_argoproj_events_v1alpha1_azure_event_hubs_trigger.py +1 -1
  74. argo_workflows/model/io_argoproj_events_v1alpha1_azure_events_hub_event_source.py +1 -1
  75. argo_workflows/model/io_argoproj_events_v1alpha1_azure_queue_storage_event_source.py +295 -0
  76. argo_workflows/model/io_argoproj_events_v1alpha1_azure_service_bus_event_source.py +297 -0
  77. argo_workflows/model/io_argoproj_events_v1alpha1_azure_service_bus_trigger.py +289 -0
  78. argo_workflows/model/io_argoproj_events_v1alpha1_backoff.py +1 -1
  79. argo_workflows/model/io_argoproj_events_v1alpha1_basic_auth.py +1 -1
  80. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py +1 -1
  81. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_basic_auth.py +1 -1
  82. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py +1 -1
  83. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py +1 -1
  84. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_event_source.py +7 -1
  85. argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_server_repository.py +1 -1
  86. argo_workflows/model/io_argoproj_events_v1alpha1_calendar_event_source.py +1 -1
  87. argo_workflows/model/io_argoproj_events_v1alpha1_catchup_configuration.py +1 -1
  88. argo_workflows/model/io_argoproj_events_v1alpha1_condition.py +1 -1
  89. argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_by_time.py +1 -1
  90. argo_workflows/model/io_argoproj_events_v1alpha1_conditions_reset_criteria.py +1 -1
  91. argo_workflows/model/io_argoproj_events_v1alpha1_config_map_persistence.py +1 -1
  92. argo_workflows/model/io_argoproj_events_v1alpha1_custom_trigger.py +1 -1
  93. argo_workflows/model/io_argoproj_events_v1alpha1_data_filter.py +1 -1
  94. argo_workflows/model/io_argoproj_events_v1alpha1_email_trigger.py +295 -0
  95. argo_workflows/model/io_argoproj_events_v1alpha1_emitter_event_source.py +1 -1
  96. argo_workflows/model/io_argoproj_events_v1alpha1_event_context.py +1 -1
  97. argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency.py +1 -1
  98. argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py +1 -1
  99. argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_transformer.py +1 -1
  100. argo_workflows/model/io_argoproj_events_v1alpha1_event_persistence.py +1 -1
  101. argo_workflows/model/io_argoproj_events_v1alpha1_event_source.py +1 -1
  102. argo_workflows/model/io_argoproj_events_v1alpha1_event_source_filter.py +1 -1
  103. argo_workflows/model/io_argoproj_events_v1alpha1_event_source_list.py +1 -1
  104. argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py +25 -1
  105. argo_workflows/model/io_argoproj_events_v1alpha1_event_source_status.py +1 -1
  106. argo_workflows/model/io_argoproj_events_v1alpha1_expr_filter.py +1 -1
  107. argo_workflows/model/io_argoproj_events_v1alpha1_file_artifact.py +1 -1
  108. argo_workflows/model/io_argoproj_events_v1alpha1_file_event_source.py +1 -1
  109. argo_workflows/model/io_argoproj_events_v1alpha1_generic_event_source.py +1 -1
  110. argo_workflows/model/io_argoproj_events_v1alpha1_gerrit_event_source.py +301 -0
  111. argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py +1 -1
  112. argo_workflows/model/io_argoproj_events_v1alpha1_git_creds.py +1 -1
  113. argo_workflows/model/io_argoproj_events_v1alpha1_git_remote_config.py +1 -1
  114. argo_workflows/model/io_argoproj_events_v1alpha1_github_app_creds.py +1 -1
  115. argo_workflows/model/io_argoproj_events_v1alpha1_github_event_source.py +1 -1
  116. argo_workflows/model/io_argoproj_events_v1alpha1_gitlab_event_source.py +5 -1
  117. argo_workflows/model/io_argoproj_events_v1alpha1_hdfs_event_source.py +1 -1
  118. argo_workflows/model/io_argoproj_events_v1alpha1_http_trigger.py +1 -1
  119. argo_workflows/model/io_argoproj_events_v1alpha1_int64_or_string.py +1 -1
  120. argo_workflows/model/io_argoproj_events_v1alpha1_k8_s_resource_policy.py +1 -1
  121. argo_workflows/model/io_argoproj_events_v1alpha1_kafka_consumer_group.py +1 -1
  122. argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py +3 -3
  123. argo_workflows/model/io_argoproj_events_v1alpha1_kafka_trigger.py +11 -5
  124. argo_workflows/model/io_argoproj_events_v1alpha1_log_trigger.py +1 -1
  125. argo_workflows/model/io_argoproj_events_v1alpha1_metadata.py +1 -1
  126. argo_workflows/model/io_argoproj_events_v1alpha1_mqtt_event_source.py +7 -1
  127. argo_workflows/model/io_argoproj_events_v1alpha1_nats_auth.py +1 -1
  128. argo_workflows/model/io_argoproj_events_v1alpha1_nats_events_source.py +1 -1
  129. argo_workflows/model/io_argoproj_events_v1alpha1_nats_trigger.py +1 -1
  130. argo_workflows/model/io_argoproj_events_v1alpha1_nsq_event_source.py +1 -1
  131. argo_workflows/model/io_argoproj_events_v1alpha1_open_whisk_trigger.py +1 -1
  132. argo_workflows/model/io_argoproj_events_v1alpha1_owned_repositories.py +1 -1
  133. argo_workflows/model/io_argoproj_events_v1alpha1_payload_field.py +1 -1
  134. argo_workflows/model/io_argoproj_events_v1alpha1_pub_sub_event_source.py +1 -1
  135. argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_event_source.py +9 -1
  136. argo_workflows/model/io_argoproj_events_v1alpha1_pulsar_trigger.py +9 -1
  137. argo_workflows/model/io_argoproj_events_v1alpha1_rate_limit.py +1 -1
  138. argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py +1 -1
  139. argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py +1 -1
  140. argo_workflows/model/io_argoproj_events_v1alpha1_resource.py +1 -1
  141. argo_workflows/model/io_argoproj_events_v1alpha1_resource_event_source.py +1 -1
  142. argo_workflows/model/io_argoproj_events_v1alpha1_resource_filter.py +1 -1
  143. argo_workflows/model/io_argoproj_events_v1alpha1_s3_artifact.py +5 -1
  144. argo_workflows/model/io_argoproj_events_v1alpha1_s3_bucket.py +1 -1
  145. argo_workflows/model/io_argoproj_events_v1alpha1_s3_filter.py +1 -1
  146. argo_workflows/model/io_argoproj_events_v1alpha1_sasl_config.py +9 -9
  147. argo_workflows/model/{io_argoproj_workflow_v1alpha1_artifact_gc_spec.py → io_argoproj_events_v1alpha1_schema_registry_config.py} +18 -10
  148. argo_workflows/model/io_argoproj_events_v1alpha1_secure_header.py +1 -1
  149. argo_workflows/model/io_argoproj_events_v1alpha1_selector.py +1 -1
  150. argo_workflows/model/io_argoproj_events_v1alpha1_sensor.py +1 -1
  151. argo_workflows/model/io_argoproj_events_v1alpha1_sensor_list.py +1 -1
  152. argo_workflows/model/io_argoproj_events_v1alpha1_sensor_spec.py +9 -1
  153. argo_workflows/model/io_argoproj_events_v1alpha1_sensor_status.py +1 -1
  154. argo_workflows/model/io_argoproj_events_v1alpha1_service.py +1 -1
  155. argo_workflows/model/io_argoproj_events_v1alpha1_sftp_event_source.py +297 -0
  156. argo_workflows/model/io_argoproj_events_v1alpha1_slack_event_source.py +1 -1
  157. argo_workflows/model/{io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py → io_argoproj_events_v1alpha1_slack_sender.py} +12 -14
  158. argo_workflows/model/{io_argoproj_workflow_v1alpha1_workflow_task_set_status.py → io_argoproj_events_v1alpha1_slack_thread.py} +12 -14
  159. argo_workflows/model/io_argoproj_events_v1alpha1_slack_trigger.py +21 -1
  160. argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py +1 -1
  161. argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py +1 -1
  162. argo_workflows/model/io_argoproj_events_v1alpha1_standard_k8_s_trigger.py +1 -1
  163. argo_workflows/model/io_argoproj_events_v1alpha1_status.py +1 -1
  164. argo_workflows/model/io_argoproj_events_v1alpha1_status_policy.py +1 -1
  165. argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_event_source.py +1 -1
  166. argo_workflows/model/io_argoproj_events_v1alpha1_storage_grid_filter.py +1 -1
  167. argo_workflows/model/io_argoproj_events_v1alpha1_stripe_event_source.py +1 -1
  168. argo_workflows/model/io_argoproj_events_v1alpha1_template.py +1 -1
  169. argo_workflows/model/io_argoproj_events_v1alpha1_time_filter.py +1 -1
  170. argo_workflows/model/io_argoproj_events_v1alpha1_tls_config.py +1 -1
  171. argo_workflows/model/io_argoproj_events_v1alpha1_trigger.py +5 -1
  172. argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter.py +1 -1
  173. argo_workflows/model/io_argoproj_events_v1alpha1_trigger_parameter_source.py +5 -1
  174. argo_workflows/model/io_argoproj_events_v1alpha1_trigger_policy.py +1 -1
  175. argo_workflows/model/io_argoproj_events_v1alpha1_trigger_template.py +13 -1
  176. argo_workflows/model/io_argoproj_events_v1alpha1_url_artifact.py +1 -1
  177. argo_workflows/model/io_argoproj_events_v1alpha1_value_from_source.py +1 -1
  178. argo_workflows/model/io_argoproj_events_v1alpha1_watch_path_config.py +1 -1
  179. argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py +1 -1
  180. argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py +1 -1
  181. argo_workflows/model/io_argoproj_workflow_v1alpha1_archive_strategy.py +1 -1
  182. argo_workflows/model/io_argoproj_workflow_v1alpha1_arguments.py +1 -1
  183. argo_workflows/model/io_argoproj_workflow_v1alpha1_art_gc_status.py +1 -1
  184. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact.py +1 -1
  185. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc.py +1 -1
  186. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_location.py +1 -1
  187. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_paths.py +1 -1
  188. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository.py +1 -1
  189. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref.py +1 -1
  190. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_repository_ref_status.py +1 -1
  191. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact.py +1 -1
  192. argo_workflows/model/io_argoproj_workflow_v1alpha1_artifactory_artifact_repository.py +1 -1
  193. argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact.py +1 -1
  194. argo_workflows/model/io_argoproj_workflow_v1alpha1_azure_artifact_repository.py +1 -1
  195. argo_workflows/model/io_argoproj_workflow_v1alpha1_backoff.py +1 -1
  196. argo_workflows/model/io_argoproj_workflow_v1alpha1_basic_auth.py +1 -1
  197. argo_workflows/model/io_argoproj_workflow_v1alpha1_cache.py +1 -1
  198. argo_workflows/model/io_argoproj_workflow_v1alpha1_client_cert_auth.py +1 -1
  199. argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template.py +1 -1
  200. argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_create_request.py +1 -1
  201. argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_lint_request.py +1 -1
  202. argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_list.py +1 -1
  203. argo_workflows/model/io_argoproj_workflow_v1alpha1_cluster_workflow_template_update_request.py +1 -1
  204. argo_workflows/model/io_argoproj_workflow_v1alpha1_collect_event_request.py +1 -1
  205. argo_workflows/model/io_argoproj_workflow_v1alpha1_column.py +1 -1
  206. argo_workflows/model/io_argoproj_workflow_v1alpha1_condition.py +1 -1
  207. argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py +13 -3
  208. argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_retry_strategy.py +1 -1
  209. argo_workflows/model/io_argoproj_workflow_v1alpha1_container_set_template.py +1 -1
  210. argo_workflows/model/io_argoproj_workflow_v1alpha1_continue_on.py +1 -1
  211. argo_workflows/model/io_argoproj_workflow_v1alpha1_counter.py +1 -1
  212. argo_workflows/model/io_argoproj_workflow_v1alpha1_create_cron_workflow_request.py +1 -1
  213. argo_workflows/model/io_argoproj_workflow_v1alpha1_create_s3_bucket_options.py +1 -1
  214. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow.py +1 -1
  215. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_list.py +1 -1
  216. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_resume_request.py +1 -1
  217. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_spec.py +21 -9
  218. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py +21 -3
  219. argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_suspend_request.py +1 -1
  220. argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_task.py +1 -1
  221. argo_workflows/model/io_argoproj_workflow_v1alpha1_dag_template.py +1 -1
  222. argo_workflows/model/io_argoproj_workflow_v1alpha1_data.py +1 -1
  223. argo_workflows/model/io_argoproj_workflow_v1alpha1_data_source.py +1 -1
  224. argo_workflows/model/io_argoproj_workflow_v1alpha1_event.py +1 -1
  225. argo_workflows/model/io_argoproj_workflow_v1alpha1_executor_config.py +1 -1
  226. argo_workflows/model/io_argoproj_workflow_v1alpha1_gauge.py +1 -1
  227. argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact.py +1 -1
  228. argo_workflows/model/io_argoproj_workflow_v1alpha1_gcs_artifact_repository.py +1 -1
  229. argo_workflows/model/io_argoproj_workflow_v1alpha1_get_user_info_response.py +1 -1
  230. argo_workflows/model/io_argoproj_workflow_v1alpha1_git_artifact.py +5 -1
  231. argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact.py +5 -1
  232. argo_workflows/model/io_argoproj_workflow_v1alpha1_hdfs_artifact_repository.py +5 -1
  233. argo_workflows/model/io_argoproj_workflow_v1alpha1_header.py +1 -1
  234. argo_workflows/model/io_argoproj_workflow_v1alpha1_histogram.py +1 -1
  235. argo_workflows/model/io_argoproj_workflow_v1alpha1_http.py +1 -1
  236. argo_workflows/model/io_argoproj_workflow_v1alpha1_http_artifact.py +1 -1
  237. argo_workflows/model/io_argoproj_workflow_v1alpha1_http_auth.py +1 -1
  238. argo_workflows/model/io_argoproj_workflow_v1alpha1_http_body_source.py +1 -1
  239. argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header.py +1 -1
  240. argo_workflows/model/io_argoproj_workflow_v1alpha1_http_header_source.py +1 -1
  241. argo_workflows/model/io_argoproj_workflow_v1alpha1_info_response.py +1 -1
  242. argo_workflows/model/io_argoproj_workflow_v1alpha1_inputs.py +1 -1
  243. argo_workflows/model/io_argoproj_workflow_v1alpha1_label_keys.py +1 -1
  244. argo_workflows/model/io_argoproj_workflow_v1alpha1_label_value_from.py +1 -1
  245. argo_workflows/model/io_argoproj_workflow_v1alpha1_label_values.py +1 -1
  246. argo_workflows/model/io_argoproj_workflow_v1alpha1_lifecycle_hook.py +1 -1
  247. argo_workflows/model/io_argoproj_workflow_v1alpha1_link.py +1 -1
  248. argo_workflows/model/io_argoproj_workflow_v1alpha1_lint_cron_workflow_request.py +1 -1
  249. argo_workflows/model/io_argoproj_workflow_v1alpha1_log_entry.py +1 -1
  250. argo_workflows/model/io_argoproj_workflow_v1alpha1_manifest_from.py +1 -1
  251. argo_workflows/model/io_argoproj_workflow_v1alpha1_memoization_status.py +1 -1
  252. argo_workflows/model/io_argoproj_workflow_v1alpha1_memoize.py +1 -1
  253. argo_workflows/model/io_argoproj_workflow_v1alpha1_metadata.py +1 -1
  254. argo_workflows/model/io_argoproj_workflow_v1alpha1_metric_label.py +1 -1
  255. argo_workflows/model/io_argoproj_workflow_v1alpha1_metrics.py +1 -1
  256. argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex.py +1 -1
  257. argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_holding.py +1 -1
  258. argo_workflows/model/io_argoproj_workflow_v1alpha1_mutex_status.py +1 -1
  259. argo_workflows/model/io_argoproj_workflow_v1alpha1_node_flag.py +1 -1
  260. argo_workflows/model/io_argoproj_workflow_v1alpha1_node_status.py +1 -1
  261. argo_workflows/model/io_argoproj_workflow_v1alpha1_node_synchronization_status.py +1 -1
  262. argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_auth.py +1 -1
  263. argo_workflows/model/io_argoproj_workflow_v1alpha1_o_auth2_endpoint_param.py +1 -1
  264. argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact.py +1 -1
  265. argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_artifact_repository.py +1 -1
  266. argo_workflows/model/io_argoproj_workflow_v1alpha1_oss_lifecycle_rule.py +1 -1
  267. argo_workflows/model/io_argoproj_workflow_v1alpha1_outputs.py +1 -1
  268. argo_workflows/model/io_argoproj_workflow_v1alpha1_parallel_steps.py +1 -1
  269. argo_workflows/model/io_argoproj_workflow_v1alpha1_parameter.py +1 -1
  270. argo_workflows/model/io_argoproj_workflow_v1alpha1_pod_gc.py +1 -1
  271. argo_workflows/model/io_argoproj_workflow_v1alpha1_prometheus.py +1 -1
  272. argo_workflows/model/io_argoproj_workflow_v1alpha1_raw_artifact.py +1 -1
  273. argo_workflows/model/io_argoproj_workflow_v1alpha1_resource_template.py +1 -1
  274. argo_workflows/model/io_argoproj_workflow_v1alpha1_resubmit_archived_workflow_request.py +1 -1
  275. argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_affinity.py +1 -1
  276. argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_archived_workflow_request.py +1 -1
  277. argo_workflows/model/io_argoproj_workflow_v1alpha1_retry_strategy.py +1 -1
  278. argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py +5 -1
  279. argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py +5 -1
  280. argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_encryption_options.py +1 -1
  281. argo_workflows/model/io_argoproj_workflow_v1alpha1_script_template.py +13 -3
  282. argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_holding.py +1 -1
  283. argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_ref.py +1 -1
  284. argo_workflows/model/io_argoproj_workflow_v1alpha1_semaphore_status.py +1 -1
  285. argo_workflows/model/io_argoproj_workflow_v1alpha1_sequence.py +1 -1
  286. argo_workflows/model/{io_argoproj_workflow_v1alpha1_artifact_result_node_status.py → io_argoproj_workflow_v1alpha1_stop_strategy.py} +16 -16
  287. argo_workflows/model/io_argoproj_workflow_v1alpha1_submit.py +1 -1
  288. argo_workflows/model/io_argoproj_workflow_v1alpha1_submit_opts.py +1 -1
  289. argo_workflows/model/io_argoproj_workflow_v1alpha1_suspend_template.py +1 -1
  290. argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py +9 -1
  291. argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py +1 -1
  292. argo_workflows/model/io_argoproj_workflow_v1alpha1_tar_strategy.py +1 -1
  293. argo_workflows/model/io_argoproj_workflow_v1alpha1_template.py +1 -1
  294. argo_workflows/model/io_argoproj_workflow_v1alpha1_template_ref.py +1 -1
  295. argo_workflows/model/io_argoproj_workflow_v1alpha1_transformation_step.py +1 -1
  296. argo_workflows/model/io_argoproj_workflow_v1alpha1_ttl_strategy.py +1 -1
  297. argo_workflows/model/io_argoproj_workflow_v1alpha1_update_cron_workflow_request.py +1 -1
  298. argo_workflows/model/io_argoproj_workflow_v1alpha1_user_container.py +13 -3
  299. argo_workflows/model/io_argoproj_workflow_v1alpha1_value_from.py +1 -1
  300. argo_workflows/model/io_argoproj_workflow_v1alpha1_version.py +1 -1
  301. argo_workflows/model/io_argoproj_workflow_v1alpha1_volume_claim_gc.py +1 -1
  302. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow.py +1 -1
  303. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py +1 -1
  304. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding.py +1 -1
  305. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_list.py +1 -1
  306. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_event_binding_spec.py +1 -1
  307. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_level_artifact_gc.py +1 -1
  308. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_lint_request.py +1 -1
  309. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_list.py +1 -1
  310. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_metadata.py +1 -1
  311. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resubmit_request.py +1 -1
  312. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_resume_request.py +1 -1
  313. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_retry_request.py +1 -1
  314. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_set_request.py +1 -1
  315. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_spec.py +1 -1
  316. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_status.py +1 -1
  317. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_step.py +1 -1
  318. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_stop_request.py +1 -1
  319. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_submit_request.py +1 -1
  320. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_suspend_request.py +1 -1
  321. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template.py +1 -1
  322. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_create_request.py +1 -1
  323. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_lint_request.py +1 -1
  324. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_list.py +1 -1
  325. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_ref.py +1 -1
  326. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_template_update_request.py +1 -1
  327. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_terminate_request.py +1 -1
  328. argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_watch_event.py +1 -1
  329. argo_workflows/model/io_k8s_api_policy_v1_pod_disruption_budget_spec.py +5 -1
  330. argo_workflows/model/iscsi_volume_source.py +21 -21
  331. argo_workflows/model/key_to_path.py +7 -7
  332. argo_workflows/model/label_selector.py +1 -1
  333. argo_workflows/model/label_selector_requirement.py +1 -1
  334. argo_workflows/model/lifecycle.py +1 -1
  335. argo_workflows/model/lifecycle_handler.py +7 -1
  336. argo_workflows/model/list_meta.py +3 -3
  337. argo_workflows/model/local_object_reference.py +3 -3
  338. argo_workflows/model/managed_fields_entry.py +1 -1
  339. argo_workflows/model/modify_volume_status.py +265 -0
  340. argo_workflows/model/nfs_volume_source.py +7 -7
  341. argo_workflows/model/node_affinity.py +1 -1
  342. argo_workflows/model/node_selector.py +1 -1
  343. argo_workflows/model/node_selector_requirement.py +3 -11
  344. argo_workflows/model/node_selector_term.py +1 -1
  345. argo_workflows/model/object_field_selector.py +1 -1
  346. argo_workflows/model/object_meta.py +15 -19
  347. argo_workflows/model/object_reference.py +1 -1
  348. argo_workflows/model/owner_reference.py +7 -7
  349. argo_workflows/model/persistent_volume_claim.py +1 -1
  350. argo_workflows/model/persistent_volume_claim_condition.py +7 -11
  351. argo_workflows/model/persistent_volume_claim_spec.py +21 -15
  352. argo_workflows/model/persistent_volume_claim_status.py +25 -20
  353. argo_workflows/model/persistent_volume_claim_template.py +1 -1
  354. argo_workflows/model/persistent_volume_claim_volume_source.py +5 -5
  355. argo_workflows/model/photon_persistent_disk_volume_source.py +5 -5
  356. argo_workflows/model/pod_affinity.py +1 -1
  357. argo_workflows/model/pod_affinity_term.py +11 -3
  358. argo_workflows/model/pod_anti_affinity.py +1 -1
  359. argo_workflows/model/pod_dns_config.py +1 -1
  360. argo_workflows/model/pod_dns_config_option.py +1 -1
  361. argo_workflows/model/pod_security_context.py +9 -3
  362. argo_workflows/model/portworx_volume_source.py +7 -7
  363. argo_workflows/model/preferred_scheduling_term.py +1 -1
  364. argo_workflows/model/probe.py +1 -1
  365. argo_workflows/model/projected_volume_source.py +5 -5
  366. argo_workflows/model/quobyte_volume_source.py +13 -13
  367. argo_workflows/model/rbd_volume_source.py +15 -15
  368. argo_workflows/model/{io_argoproj_workflow_v1alpha1_artifact_result.py → resource_claim.py} +6 -14
  369. argo_workflows/model/resource_field_selector.py +3 -3
  370. argo_workflows/model/resource_requirements.py +13 -3
  371. argo_workflows/model/scale_io_volume_source.py +19 -19
  372. argo_workflows/model/se_linux_options.py +1 -1
  373. argo_workflows/model/seccomp_profile.py +5 -10
  374. argo_workflows/model/secret_env_source.py +3 -3
  375. argo_workflows/model/secret_key_selector.py +3 -3
  376. argo_workflows/model/secret_projection.py +7 -7
  377. argo_workflows/model/secret_volume_source.py +9 -9
  378. argo_workflows/model/security_context.py +7 -1
  379. argo_workflows/model/sensor_create_sensor_request.py +1 -1
  380. argo_workflows/model/sensor_log_entry.py +1 -1
  381. argo_workflows/model/sensor_sensor_watch_event.py +1 -1
  382. argo_workflows/model/sensor_update_sensor_request.py +1 -1
  383. argo_workflows/model/service_account_token_projection.py +7 -7
  384. argo_workflows/model/service_port.py +5 -10
  385. argo_workflows/model/sleep_action.py +261 -0
  386. argo_workflows/model/storage_os_volume_source.py +9 -9
  387. argo_workflows/model/stream_result_of_event.py +1 -1
  388. argo_workflows/model/stream_result_of_eventsource_event_source_watch_event.py +1 -1
  389. argo_workflows/model/stream_result_of_eventsource_log_entry.py +1 -1
  390. argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_log_entry.py +1 -1
  391. argo_workflows/model/stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event.py +1 -1
  392. argo_workflows/model/stream_result_of_sensor_log_entry.py +1 -1
  393. argo_workflows/model/stream_result_of_sensor_sensor_watch_event.py +1 -1
  394. argo_workflows/model/sysctl.py +1 -1
  395. argo_workflows/model/tcp_socket_action.py +1 -1
  396. argo_workflows/model/toleration.py +5 -14
  397. argo_workflows/model/typed_local_object_reference.py +1 -1
  398. argo_workflows/model/typed_object_reference.py +275 -0
  399. argo_workflows/model/volume.py +3 -3
  400. argo_workflows/model/volume_device.py +1 -1
  401. argo_workflows/model/volume_mount.py +7 -3
  402. argo_workflows/model/volume_projection.py +7 -1
  403. argo_workflows/model/{io_argoproj_workflow_v1alpha1_node_result.py → volume_resource_requirements.py} +12 -26
  404. argo_workflows/model/vsphere_virtual_disk_volume_source.py +9 -9
  405. argo_workflows/model/weighted_pod_affinity_term.py +1 -1
  406. argo_workflows/model/windows_security_context_options.py +3 -3
  407. argo_workflows/model_utils.py +1 -1
  408. argo_workflows/models/__init__.py +18 -9
  409. argo_workflows/rest.py +1 -1
  410. {argo_workflows-6.5.12.dist-info → argo_workflows-6.6.0.dist-info}/METADATA +2 -2
  411. argo_workflows-6.6.0.dist-info/RECORD +417 -0
  412. {argo_workflows-6.5.12.dist-info → argo_workflows-6.6.0.dist-info}/WHEEL +1 -1
  413. argo_workflows/model/status_cause.py +0 -263
  414. argo_workflows-6.5.12.dist-info/RECORD +0 -408
  415. {argo_workflows-6.5.12.dist-info → argo_workflows-6.6.0.dist-info}/LICENSE +0 -0
  416. {argo_workflows-6.5.12.dist-info → argo_workflows-6.6.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Argo Workflows API
3
3
 
4
- Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/release-3.5/ # noqa: E501
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
5
 
6
6
  The version of the OpenAPI document: VERSION
7
7
  Generated by: https://openapi-generator.tech
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Argo Workflows API
3
3
 
4
- Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/release-3.5/ # noqa: E501
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
5
 
6
6
  The version of the OpenAPI document: VERSION
7
7
  Generated by: https://openapi-generator.tech
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Argo Workflows API
3
3
 
4
- Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/release-3.5/ # noqa: E501
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
5
 
6
6
  The version of the OpenAPI document: VERSION
7
7
  Generated by: https://openapi-generator.tech
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Argo Workflows API
3
3
 
4
- Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/release-3.5/ # noqa: E501
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
5
 
6
6
  The version of the OpenAPI document: VERSION
7
7
  Generated by: https://openapi-generator.tech
@@ -0,0 +1,295 @@
1
+ """
2
+ Argo Workflows API
3
+
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
+
6
+ The version of the OpenAPI document: VERSION
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from argo_workflows.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from argo_workflows.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from argo_workflows.model.io_argoproj_events_v1alpha1_event_source_filter import IoArgoprojEventsV1alpha1EventSourceFilter
34
+ from argo_workflows.model.secret_key_selector import SecretKeySelector
35
+ globals()['IoArgoprojEventsV1alpha1EventSourceFilter'] = IoArgoprojEventsV1alpha1EventSourceFilter
36
+ globals()['SecretKeySelector'] = SecretKeySelector
37
+
38
+
39
+ class IoArgoprojEventsV1alpha1AzureQueueStorageEventSource(ModelNormal):
40
+ """NOTE: This class is auto generated by OpenAPI Generator.
41
+ Ref: https://openapi-generator.tech
42
+
43
+ Do not edit the class manually.
44
+
45
+ Attributes:
46
+ allowed_values (dict): The key is the tuple path to the attribute
47
+ and the for var_name this is (var_name,). The value is a dict
48
+ with a capitalized key describing the allowed value and an allowed
49
+ value. These dicts store the allowed enum values.
50
+ attribute_map (dict): The key is attribute name
51
+ and the value is json key in definition.
52
+ discriminator_value_class_map (dict): A dict to go from the discriminator
53
+ variable value to the discriminator class name.
54
+ validations (dict): The key is the tuple path to the attribute
55
+ and the for var_name this is (var_name,). The value is a dict
56
+ that stores validations for max_length, min_length, max_items,
57
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
58
+ inclusive_minimum, and regex.
59
+ additional_properties_type (tuple): A tuple of classes accepted
60
+ as additional properties values.
61
+ """
62
+
63
+ allowed_values = {
64
+ }
65
+
66
+ validations = {
67
+ }
68
+
69
+ @cached_property
70
+ def additional_properties_type():
71
+ """
72
+ This must be a method because a model may have properties that are
73
+ of type self, this must run after the class is loaded
74
+ """
75
+ lazy_import()
76
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
+
78
+ _nullable = False
79
+
80
+ @cached_property
81
+ def openapi_types():
82
+ """
83
+ This must be a method because a model may have properties that are
84
+ of type self, this must run after the class is loaded
85
+
86
+ Returns
87
+ openapi_types (dict): The key is attribute name
88
+ and the value is attribute type.
89
+ """
90
+ lazy_import()
91
+ return {
92
+ 'connection_string': (SecretKeySelector,), # noqa: E501
93
+ 'decode_message': (bool,), # noqa: E501
94
+ 'dlq': (bool,), # noqa: E501
95
+ 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501
96
+ 'json_body': (bool,), # noqa: E501
97
+ 'metadata': ({str: (str,)},), # noqa: E501
98
+ 'queue_name': (str,), # noqa: E501
99
+ 'storage_account_name': (str,), # noqa: E501
100
+ 'wait_time_in_seconds': (int,), # noqa: E501
101
+ }
102
+
103
+ @cached_property
104
+ def discriminator():
105
+ return None
106
+
107
+
108
+ attribute_map = {
109
+ 'connection_string': 'connectionString', # noqa: E501
110
+ 'decode_message': 'decodeMessage', # noqa: E501
111
+ 'dlq': 'dlq', # noqa: E501
112
+ 'filter': 'filter', # noqa: E501
113
+ 'json_body': 'jsonBody', # noqa: E501
114
+ 'metadata': 'metadata', # noqa: E501
115
+ 'queue_name': 'queueName', # noqa: E501
116
+ 'storage_account_name': 'storageAccountName', # noqa: E501
117
+ 'wait_time_in_seconds': 'waitTimeInSeconds', # noqa: E501
118
+ }
119
+
120
+ read_only_vars = {
121
+ }
122
+
123
+ _composed_schemas = {}
124
+
125
+ @classmethod
126
+ @convert_js_args_to_python_args
127
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
128
+ """IoArgoprojEventsV1alpha1AzureQueueStorageEventSource - a model defined in OpenAPI
129
+
130
+ Keyword Args:
131
+ _check_type (bool): if True, values for parameters in openapi_types
132
+ will be type checked and a TypeError will be
133
+ raised if the wrong type is input.
134
+ Defaults to True
135
+ _path_to_item (tuple/list): This is a list of keys or values to
136
+ drill down to the model in received_data
137
+ when deserializing a response
138
+ _spec_property_naming (bool): True if the variable names in the input data
139
+ are serialized names, as specified in the OpenAPI document.
140
+ False if the variable names in the input data
141
+ are pythonic names, e.g. snake case (default)
142
+ _configuration (Configuration): the instance to use when
143
+ deserializing a file_type parameter.
144
+ If passed, type conversion is attempted
145
+ If omitted no type conversion is done.
146
+ _visited_composed_classes (tuple): This stores a tuple of
147
+ classes that we have traveled through so that
148
+ if we see that class again we will not use its
149
+ discriminator again.
150
+ When traveling through a discriminator, the
151
+ composed schema that is
152
+ is traveled through is added to this set.
153
+ For example if Animal has a discriminator
154
+ petType and we pass in "Dog", and the class Dog
155
+ allOf includes Animal, we move through Animal
156
+ once using the discriminator, and pick Dog.
157
+ Then in Dog, we will make an instance of the
158
+ Animal class but this time we won't travel
159
+ through its discriminator because we passed in
160
+ _visited_composed_classes = (Animal,)
161
+ connection_string (SecretKeySelector): [optional] # noqa: E501
162
+ decode_message (bool): [optional] # noqa: E501
163
+ dlq (bool): [optional] # noqa: E501
164
+ filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501
165
+ json_body (bool): [optional] # noqa: E501
166
+ metadata ({str: (str,)}): [optional] # noqa: E501
167
+ queue_name (str): [optional] # noqa: E501
168
+ storage_account_name (str): [optional] # noqa: E501
169
+ wait_time_in_seconds (int): [optional] # noqa: E501
170
+ """
171
+
172
+ _check_type = kwargs.pop('_check_type', True)
173
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
174
+ _path_to_item = kwargs.pop('_path_to_item', ())
175
+ _configuration = kwargs.pop('_configuration', None)
176
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
177
+
178
+ self = super(OpenApiModel, cls).__new__(cls)
179
+
180
+ if args:
181
+ raise ApiTypeError(
182
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
183
+ args,
184
+ self.__class__.__name__,
185
+ ),
186
+ path_to_item=_path_to_item,
187
+ valid_classes=(self.__class__,),
188
+ )
189
+
190
+ self._data_store = {}
191
+ self._check_type = _check_type
192
+ self._spec_property_naming = _spec_property_naming
193
+ self._path_to_item = _path_to_item
194
+ self._configuration = _configuration
195
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
196
+
197
+ for var_name, var_value in kwargs.items():
198
+ if var_name not in self.attribute_map and \
199
+ self._configuration is not None and \
200
+ self._configuration.discard_unknown_keys and \
201
+ self.additional_properties_type is None:
202
+ # discard variable.
203
+ continue
204
+ setattr(self, var_name, var_value)
205
+ return self
206
+
207
+ required_properties = set([
208
+ '_data_store',
209
+ '_check_type',
210
+ '_spec_property_naming',
211
+ '_path_to_item',
212
+ '_configuration',
213
+ '_visited_composed_classes',
214
+ ])
215
+
216
+ @convert_js_args_to_python_args
217
+ def __init__(self, *args, **kwargs): # noqa: E501
218
+ """IoArgoprojEventsV1alpha1AzureQueueStorageEventSource - a model defined in OpenAPI
219
+
220
+ Keyword Args:
221
+ _check_type (bool): if True, values for parameters in openapi_types
222
+ will be type checked and a TypeError will be
223
+ raised if the wrong type is input.
224
+ Defaults to True
225
+ _path_to_item (tuple/list): This is a list of keys or values to
226
+ drill down to the model in received_data
227
+ when deserializing a response
228
+ _spec_property_naming (bool): True if the variable names in the input data
229
+ are serialized names, as specified in the OpenAPI document.
230
+ False if the variable names in the input data
231
+ are pythonic names, e.g. snake case (default)
232
+ _configuration (Configuration): the instance to use when
233
+ deserializing a file_type parameter.
234
+ If passed, type conversion is attempted
235
+ If omitted no type conversion is done.
236
+ _visited_composed_classes (tuple): This stores a tuple of
237
+ classes that we have traveled through so that
238
+ if we see that class again we will not use its
239
+ discriminator again.
240
+ When traveling through a discriminator, the
241
+ composed schema that is
242
+ is traveled through is added to this set.
243
+ For example if Animal has a discriminator
244
+ petType and we pass in "Dog", and the class Dog
245
+ allOf includes Animal, we move through Animal
246
+ once using the discriminator, and pick Dog.
247
+ Then in Dog, we will make an instance of the
248
+ Animal class but this time we won't travel
249
+ through its discriminator because we passed in
250
+ _visited_composed_classes = (Animal,)
251
+ connection_string (SecretKeySelector): [optional] # noqa: E501
252
+ decode_message (bool): [optional] # noqa: E501
253
+ dlq (bool): [optional] # noqa: E501
254
+ filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501
255
+ json_body (bool): [optional] # noqa: E501
256
+ metadata ({str: (str,)}): [optional] # noqa: E501
257
+ queue_name (str): [optional] # noqa: E501
258
+ storage_account_name (str): [optional] # noqa: E501
259
+ wait_time_in_seconds (int): [optional] # noqa: E501
260
+ """
261
+
262
+ _check_type = kwargs.pop('_check_type', True)
263
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
264
+ _path_to_item = kwargs.pop('_path_to_item', ())
265
+ _configuration = kwargs.pop('_configuration', None)
266
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
267
+
268
+ if args:
269
+ raise ApiTypeError(
270
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
271
+ args,
272
+ self.__class__.__name__,
273
+ ),
274
+ path_to_item=_path_to_item,
275
+ valid_classes=(self.__class__,),
276
+ )
277
+
278
+ self._data_store = {}
279
+ self._check_type = _check_type
280
+ self._spec_property_naming = _spec_property_naming
281
+ self._path_to_item = _path_to_item
282
+ self._configuration = _configuration
283
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
284
+
285
+ for var_name, var_value in kwargs.items():
286
+ if var_name not in self.attribute_map and \
287
+ self._configuration is not None and \
288
+ self._configuration.discard_unknown_keys and \
289
+ self.additional_properties_type is None:
290
+ # discard variable.
291
+ continue
292
+ setattr(self, var_name, var_value)
293
+ if var_name in self.read_only_vars:
294
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
295
+ f"class with read only attributes.")
@@ -0,0 +1,297 @@
1
+ """
2
+ Argo Workflows API
3
+
4
+ Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501
5
+
6
+ The version of the OpenAPI document: VERSION
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from argo_workflows.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from argo_workflows.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from argo_workflows.model.io_argoproj_events_v1alpha1_event_source_filter import IoArgoprojEventsV1alpha1EventSourceFilter
34
+ from argo_workflows.model.io_argoproj_events_v1alpha1_tls_config import IoArgoprojEventsV1alpha1TLSConfig
35
+ from argo_workflows.model.secret_key_selector import SecretKeySelector
36
+ globals()['IoArgoprojEventsV1alpha1EventSourceFilter'] = IoArgoprojEventsV1alpha1EventSourceFilter
37
+ globals()['IoArgoprojEventsV1alpha1TLSConfig'] = IoArgoprojEventsV1alpha1TLSConfig
38
+ globals()['SecretKeySelector'] = SecretKeySelector
39
+
40
+
41
+ class IoArgoprojEventsV1alpha1AzureServiceBusEventSource(ModelNormal):
42
+ """NOTE: This class is auto generated by OpenAPI Generator.
43
+ Ref: https://openapi-generator.tech
44
+
45
+ Do not edit the class manually.
46
+
47
+ Attributes:
48
+ allowed_values (dict): The key is the tuple path to the attribute
49
+ and the for var_name this is (var_name,). The value is a dict
50
+ with a capitalized key describing the allowed value and an allowed
51
+ value. These dicts store the allowed enum values.
52
+ attribute_map (dict): The key is attribute name
53
+ and the value is json key in definition.
54
+ discriminator_value_class_map (dict): A dict to go from the discriminator
55
+ variable value to the discriminator class name.
56
+ validations (dict): The key is the tuple path to the attribute
57
+ and the for var_name this is (var_name,). The value is a dict
58
+ that stores validations for max_length, min_length, max_items,
59
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
60
+ inclusive_minimum, and regex.
61
+ additional_properties_type (tuple): A tuple of classes accepted
62
+ as additional properties values.
63
+ """
64
+
65
+ allowed_values = {
66
+ }
67
+
68
+ validations = {
69
+ }
70
+
71
+ @cached_property
72
+ def additional_properties_type():
73
+ """
74
+ This must be a method because a model may have properties that are
75
+ of type self, this must run after the class is loaded
76
+ """
77
+ lazy_import()
78
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
79
+
80
+ _nullable = False
81
+
82
+ @cached_property
83
+ def openapi_types():
84
+ """
85
+ This must be a method because a model may have properties that are
86
+ of type self, this must run after the class is loaded
87
+
88
+ Returns
89
+ openapi_types (dict): The key is attribute name
90
+ and the value is attribute type.
91
+ """
92
+ lazy_import()
93
+ return {
94
+ 'connection_string': (SecretKeySelector,), # noqa: E501
95
+ 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501
96
+ 'fully_qualified_namespace': (str,), # noqa: E501
97
+ 'json_body': (bool,), # noqa: E501
98
+ 'metadata': ({str: (str,)},), # noqa: E501
99
+ 'queue_name': (str,), # noqa: E501
100
+ 'subscription_name': (str,), # noqa: E501
101
+ 'tls': (IoArgoprojEventsV1alpha1TLSConfig,), # noqa: E501
102
+ 'topic_name': (str,), # noqa: E501
103
+ }
104
+
105
+ @cached_property
106
+ def discriminator():
107
+ return None
108
+
109
+
110
+ attribute_map = {
111
+ 'connection_string': 'connectionString', # noqa: E501
112
+ 'filter': 'filter', # noqa: E501
113
+ 'fully_qualified_namespace': 'fullyQualifiedNamespace', # noqa: E501
114
+ 'json_body': 'jsonBody', # noqa: E501
115
+ 'metadata': 'metadata', # noqa: E501
116
+ 'queue_name': 'queueName', # noqa: E501
117
+ 'subscription_name': 'subscriptionName', # noqa: E501
118
+ 'tls': 'tls', # noqa: E501
119
+ 'topic_name': 'topicName', # noqa: E501
120
+ }
121
+
122
+ read_only_vars = {
123
+ }
124
+
125
+ _composed_schemas = {}
126
+
127
+ @classmethod
128
+ @convert_js_args_to_python_args
129
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
130
+ """IoArgoprojEventsV1alpha1AzureServiceBusEventSource - a model defined in OpenAPI
131
+
132
+ Keyword Args:
133
+ _check_type (bool): if True, values for parameters in openapi_types
134
+ will be type checked and a TypeError will be
135
+ raised if the wrong type is input.
136
+ Defaults to True
137
+ _path_to_item (tuple/list): This is a list of keys or values to
138
+ drill down to the model in received_data
139
+ when deserializing a response
140
+ _spec_property_naming (bool): True if the variable names in the input data
141
+ are serialized names, as specified in the OpenAPI document.
142
+ False if the variable names in the input data
143
+ are pythonic names, e.g. snake case (default)
144
+ _configuration (Configuration): the instance to use when
145
+ deserializing a file_type parameter.
146
+ If passed, type conversion is attempted
147
+ If omitted no type conversion is done.
148
+ _visited_composed_classes (tuple): This stores a tuple of
149
+ classes that we have traveled through so that
150
+ if we see that class again we will not use its
151
+ discriminator again.
152
+ When traveling through a discriminator, the
153
+ composed schema that is
154
+ is traveled through is added to this set.
155
+ For example if Animal has a discriminator
156
+ petType and we pass in "Dog", and the class Dog
157
+ allOf includes Animal, we move through Animal
158
+ once using the discriminator, and pick Dog.
159
+ Then in Dog, we will make an instance of the
160
+ Animal class but this time we won't travel
161
+ through its discriminator because we passed in
162
+ _visited_composed_classes = (Animal,)
163
+ connection_string (SecretKeySelector): [optional] # noqa: E501
164
+ filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501
165
+ fully_qualified_namespace (str): [optional] # noqa: E501
166
+ json_body (bool): [optional] # noqa: E501
167
+ metadata ({str: (str,)}): [optional] # noqa: E501
168
+ queue_name (str): [optional] # noqa: E501
169
+ subscription_name (str): [optional] # noqa: E501
170
+ tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501
171
+ topic_name (str): [optional] # noqa: E501
172
+ """
173
+
174
+ _check_type = kwargs.pop('_check_type', True)
175
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
176
+ _path_to_item = kwargs.pop('_path_to_item', ())
177
+ _configuration = kwargs.pop('_configuration', None)
178
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
179
+
180
+ self = super(OpenApiModel, cls).__new__(cls)
181
+
182
+ if args:
183
+ raise ApiTypeError(
184
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
185
+ args,
186
+ self.__class__.__name__,
187
+ ),
188
+ path_to_item=_path_to_item,
189
+ valid_classes=(self.__class__,),
190
+ )
191
+
192
+ self._data_store = {}
193
+ self._check_type = _check_type
194
+ self._spec_property_naming = _spec_property_naming
195
+ self._path_to_item = _path_to_item
196
+ self._configuration = _configuration
197
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
198
+
199
+ for var_name, var_value in kwargs.items():
200
+ if var_name not in self.attribute_map and \
201
+ self._configuration is not None and \
202
+ self._configuration.discard_unknown_keys and \
203
+ self.additional_properties_type is None:
204
+ # discard variable.
205
+ continue
206
+ setattr(self, var_name, var_value)
207
+ return self
208
+
209
+ required_properties = set([
210
+ '_data_store',
211
+ '_check_type',
212
+ '_spec_property_naming',
213
+ '_path_to_item',
214
+ '_configuration',
215
+ '_visited_composed_classes',
216
+ ])
217
+
218
+ @convert_js_args_to_python_args
219
+ def __init__(self, *args, **kwargs): # noqa: E501
220
+ """IoArgoprojEventsV1alpha1AzureServiceBusEventSource - a model defined in OpenAPI
221
+
222
+ Keyword Args:
223
+ _check_type (bool): if True, values for parameters in openapi_types
224
+ will be type checked and a TypeError will be
225
+ raised if the wrong type is input.
226
+ Defaults to True
227
+ _path_to_item (tuple/list): This is a list of keys or values to
228
+ drill down to the model in received_data
229
+ when deserializing a response
230
+ _spec_property_naming (bool): True if the variable names in the input data
231
+ are serialized names, as specified in the OpenAPI document.
232
+ False if the variable names in the input data
233
+ are pythonic names, e.g. snake case (default)
234
+ _configuration (Configuration): the instance to use when
235
+ deserializing a file_type parameter.
236
+ If passed, type conversion is attempted
237
+ If omitted no type conversion is done.
238
+ _visited_composed_classes (tuple): This stores a tuple of
239
+ classes that we have traveled through so that
240
+ if we see that class again we will not use its
241
+ discriminator again.
242
+ When traveling through a discriminator, the
243
+ composed schema that is
244
+ is traveled through is added to this set.
245
+ For example if Animal has a discriminator
246
+ petType and we pass in "Dog", and the class Dog
247
+ allOf includes Animal, we move through Animal
248
+ once using the discriminator, and pick Dog.
249
+ Then in Dog, we will make an instance of the
250
+ Animal class but this time we won't travel
251
+ through its discriminator because we passed in
252
+ _visited_composed_classes = (Animal,)
253
+ connection_string (SecretKeySelector): [optional] # noqa: E501
254
+ filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501
255
+ fully_qualified_namespace (str): [optional] # noqa: E501
256
+ json_body (bool): [optional] # noqa: E501
257
+ metadata ({str: (str,)}): [optional] # noqa: E501
258
+ queue_name (str): [optional] # noqa: E501
259
+ subscription_name (str): [optional] # noqa: E501
260
+ tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501
261
+ topic_name (str): [optional] # noqa: E501
262
+ """
263
+
264
+ _check_type = kwargs.pop('_check_type', True)
265
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
266
+ _path_to_item = kwargs.pop('_path_to_item', ())
267
+ _configuration = kwargs.pop('_configuration', None)
268
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
269
+
270
+ if args:
271
+ raise ApiTypeError(
272
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
273
+ args,
274
+ self.__class__.__name__,
275
+ ),
276
+ path_to_item=_path_to_item,
277
+ valid_classes=(self.__class__,),
278
+ )
279
+
280
+ self._data_store = {}
281
+ self._check_type = _check_type
282
+ self._spec_property_naming = _spec_property_naming
283
+ self._path_to_item = _path_to_item
284
+ self._configuration = _configuration
285
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
286
+
287
+ for var_name, var_value in kwargs.items():
288
+ if var_name not in self.attribute_map and \
289
+ self._configuration is not None and \
290
+ self._configuration.discard_unknown_keys and \
291
+ self.additional_properties_type is None:
292
+ # discard variable.
293
+ continue
294
+ setattr(self, var_name, var_value)
295
+ if var_name in self.read_only_vars:
296
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
297
+ f"class with read only attributes.")