flyte 2.0.0b23__py3-none-any.whl → 2.0.0b25__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 flyte might be problematic. Click here for more details.

Files changed (162) hide show
  1. flyte/__init__.py +11 -2
  2. flyte/_cache/local_cache.py +4 -3
  3. flyte/_code_bundle/_utils.py +3 -3
  4. flyte/_code_bundle/bundle.py +12 -5
  5. flyte/_context.py +4 -1
  6. flyte/_custom_context.py +73 -0
  7. flyte/_deploy.py +31 -7
  8. flyte/_image.py +48 -16
  9. flyte/_initialize.py +69 -26
  10. flyte/_internal/controllers/_local_controller.py +1 -0
  11. flyte/_internal/controllers/_trace.py +1 -1
  12. flyte/_internal/controllers/remote/_action.py +9 -10
  13. flyte/_internal/controllers/remote/_client.py +1 -1
  14. flyte/_internal/controllers/remote/_controller.py +4 -2
  15. flyte/_internal/controllers/remote/_core.py +10 -13
  16. flyte/_internal/controllers/remote/_informer.py +3 -3
  17. flyte/_internal/controllers/remote/_service_protocol.py +7 -7
  18. flyte/_internal/imagebuild/docker_builder.py +45 -59
  19. flyte/_internal/imagebuild/remote_builder.py +51 -11
  20. flyte/_internal/imagebuild/utils.py +51 -3
  21. flyte/_internal/runtime/convert.py +39 -18
  22. flyte/_internal/runtime/io.py +8 -7
  23. flyte/_internal/runtime/resources_serde.py +20 -6
  24. flyte/_internal/runtime/reuse.py +1 -1
  25. flyte/_internal/runtime/task_serde.py +7 -10
  26. flyte/_internal/runtime/taskrunner.py +10 -1
  27. flyte/_internal/runtime/trigger_serde.py +13 -13
  28. flyte/_internal/runtime/types_serde.py +1 -1
  29. flyte/_keyring/file.py +2 -2
  30. flyte/_map.py +65 -13
  31. flyte/_pod.py +2 -2
  32. flyte/_resources.py +175 -31
  33. flyte/_run.py +37 -21
  34. flyte/_task.py +27 -6
  35. flyte/_task_environment.py +37 -10
  36. flyte/_utils/module_loader.py +2 -2
  37. flyte/_version.py +3 -3
  38. flyte/cli/_common.py +47 -5
  39. flyte/cli/_create.py +4 -0
  40. flyte/cli/_deploy.py +8 -0
  41. flyte/cli/_get.py +4 -0
  42. flyte/cli/_params.py +4 -4
  43. flyte/cli/_run.py +50 -7
  44. flyte/cli/_update.py +4 -3
  45. flyte/config/_config.py +2 -0
  46. flyte/config/_internal.py +1 -0
  47. flyte/config/_reader.py +3 -3
  48. flyte/errors.py +1 -1
  49. flyte/extend.py +4 -0
  50. flyte/extras/_container.py +6 -1
  51. flyte/git/_config.py +11 -9
  52. flyte/io/_dataframe/basic_dfs.py +1 -1
  53. flyte/io/_dataframe/dataframe.py +12 -8
  54. flyte/io/_dir.py +48 -15
  55. flyte/io/_file.py +48 -11
  56. flyte/models.py +12 -8
  57. flyte/remote/_action.py +18 -16
  58. flyte/remote/_client/_protocols.py +4 -3
  59. flyte/remote/_client/auth/_channel.py +1 -1
  60. flyte/remote/_client/controlplane.py +4 -8
  61. flyte/remote/_data.py +4 -3
  62. flyte/remote/_logs.py +3 -3
  63. flyte/remote/_run.py +5 -5
  64. flyte/remote/_secret.py +20 -13
  65. flyte/remote/_task.py +7 -8
  66. flyte/remote/_trigger.py +25 -27
  67. flyte/storage/_parallel_reader.py +274 -0
  68. flyte/storage/_storage.py +66 -2
  69. flyte/types/_interface.py +2 -2
  70. flyte/types/_pickle.py +1 -1
  71. flyte/types/_string_literals.py +8 -9
  72. flyte/types/_type_engine.py +25 -17
  73. flyte/types/_utils.py +1 -1
  74. {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/METADATA +2 -1
  75. flyte-2.0.0b25.dist-info/RECORD +184 -0
  76. flyte/_protos/__init__.py +0 -0
  77. flyte/_protos/common/authorization_pb2.py +0 -66
  78. flyte/_protos/common/authorization_pb2.pyi +0 -108
  79. flyte/_protos/common/authorization_pb2_grpc.py +0 -4
  80. flyte/_protos/common/identifier_pb2.py +0 -117
  81. flyte/_protos/common/identifier_pb2.pyi +0 -142
  82. flyte/_protos/common/identifier_pb2_grpc.py +0 -4
  83. flyte/_protos/common/identity_pb2.py +0 -48
  84. flyte/_protos/common/identity_pb2.pyi +0 -72
  85. flyte/_protos/common/identity_pb2_grpc.py +0 -4
  86. flyte/_protos/common/list_pb2.py +0 -36
  87. flyte/_protos/common/list_pb2.pyi +0 -71
  88. flyte/_protos/common/list_pb2_grpc.py +0 -4
  89. flyte/_protos/common/policy_pb2.py +0 -37
  90. flyte/_protos/common/policy_pb2.pyi +0 -27
  91. flyte/_protos/common/policy_pb2_grpc.py +0 -4
  92. flyte/_protos/common/role_pb2.py +0 -37
  93. flyte/_protos/common/role_pb2.pyi +0 -53
  94. flyte/_protos/common/role_pb2_grpc.py +0 -4
  95. flyte/_protos/common/runtime_version_pb2.py +0 -28
  96. flyte/_protos/common/runtime_version_pb2.pyi +0 -24
  97. flyte/_protos/common/runtime_version_pb2_grpc.py +0 -4
  98. flyte/_protos/imagebuilder/definition_pb2.py +0 -60
  99. flyte/_protos/imagebuilder/definition_pb2.pyi +0 -153
  100. flyte/_protos/imagebuilder/definition_pb2_grpc.py +0 -4
  101. flyte/_protos/imagebuilder/payload_pb2.py +0 -32
  102. flyte/_protos/imagebuilder/payload_pb2.pyi +0 -21
  103. flyte/_protos/imagebuilder/payload_pb2_grpc.py +0 -4
  104. flyte/_protos/imagebuilder/service_pb2.py +0 -29
  105. flyte/_protos/imagebuilder/service_pb2.pyi +0 -5
  106. flyte/_protos/imagebuilder/service_pb2_grpc.py +0 -66
  107. flyte/_protos/logs/dataplane/payload_pb2.py +0 -100
  108. flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -177
  109. flyte/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
  110. flyte/_protos/secret/definition_pb2.py +0 -49
  111. flyte/_protos/secret/definition_pb2.pyi +0 -93
  112. flyte/_protos/secret/definition_pb2_grpc.py +0 -4
  113. flyte/_protos/secret/payload_pb2.py +0 -62
  114. flyte/_protos/secret/payload_pb2.pyi +0 -94
  115. flyte/_protos/secret/payload_pb2_grpc.py +0 -4
  116. flyte/_protos/secret/secret_pb2.py +0 -38
  117. flyte/_protos/secret/secret_pb2.pyi +0 -6
  118. flyte/_protos/secret/secret_pb2_grpc.py +0 -198
  119. flyte/_protos/validate/validate/validate_pb2.py +0 -76
  120. flyte/_protos/workflow/common_pb2.py +0 -38
  121. flyte/_protos/workflow/common_pb2.pyi +0 -63
  122. flyte/_protos/workflow/common_pb2_grpc.py +0 -4
  123. flyte/_protos/workflow/environment_pb2.py +0 -29
  124. flyte/_protos/workflow/environment_pb2.pyi +0 -12
  125. flyte/_protos/workflow/environment_pb2_grpc.py +0 -4
  126. flyte/_protos/workflow/node_execution_service_pb2.py +0 -26
  127. flyte/_protos/workflow/node_execution_service_pb2.pyi +0 -4
  128. flyte/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
  129. flyte/_protos/workflow/queue_service_pb2.py +0 -117
  130. flyte/_protos/workflow/queue_service_pb2.pyi +0 -182
  131. flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -206
  132. flyte/_protos/workflow/run_definition_pb2.py +0 -123
  133. flyte/_protos/workflow/run_definition_pb2.pyi +0 -354
  134. flyte/_protos/workflow/run_definition_pb2_grpc.py +0 -4
  135. flyte/_protos/workflow/run_logs_service_pb2.py +0 -41
  136. flyte/_protos/workflow/run_logs_service_pb2.pyi +0 -28
  137. flyte/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
  138. flyte/_protos/workflow/run_service_pb2.py +0 -147
  139. flyte/_protos/workflow/run_service_pb2.pyi +0 -203
  140. flyte/_protos/workflow/run_service_pb2_grpc.py +0 -480
  141. flyte/_protos/workflow/state_service_pb2.py +0 -67
  142. flyte/_protos/workflow/state_service_pb2.pyi +0 -76
  143. flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
  144. flyte/_protos/workflow/task_definition_pb2.py +0 -86
  145. flyte/_protos/workflow/task_definition_pb2.pyi +0 -105
  146. flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
  147. flyte/_protos/workflow/task_service_pb2.py +0 -61
  148. flyte/_protos/workflow/task_service_pb2.pyi +0 -62
  149. flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
  150. flyte/_protos/workflow/trigger_definition_pb2.py +0 -66
  151. flyte/_protos/workflow/trigger_definition_pb2.pyi +0 -117
  152. flyte/_protos/workflow/trigger_definition_pb2_grpc.py +0 -4
  153. flyte/_protos/workflow/trigger_service_pb2.py +0 -96
  154. flyte/_protos/workflow/trigger_service_pb2.pyi +0 -110
  155. flyte/_protos/workflow/trigger_service_pb2_grpc.py +0 -281
  156. flyte-2.0.0b23.dist-info/RECORD +0 -262
  157. {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/debug.py +0 -0
  158. {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/runtime.py +0 -0
  159. {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/WHEEL +0 -0
  160. {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/entry_points.txt +0 -0
  161. {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/licenses/LICENSE +0 -0
  162. {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/top_level.txt +0 -0
@@ -1,66 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: workflow/trigger_definition.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import descriptor_pool as _descriptor_pool
7
- from google.protobuf import symbol_database as _symbol_database
8
- from google.protobuf.internal import builder as _builder
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
15
- from flyte._protos.common import identity_pb2 as common_dot_identity__pb2
16
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
17
- from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
18
- from flyte._protos.workflow import common_pb2 as workflow_dot_common__pb2
19
- from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__definition__pb2
20
-
21
-
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!workflow/trigger_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17validate/validate.proto\x1a\x15workflow/common.proto\x1a\x1dworkflow/run_definition.proto\"\xab\x01\n\x0fTriggerMetadata\x12L\n\x0b\x64\x65ployed_by\x18\x01 \x01(\x0b\x32!.cloudidl.common.EnrichedIdentityB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\ndeployedBy\x12J\n\nupdated_by\x18\x02 \x01(\x0b\x32!.cloudidl.common.EnrichedIdentityB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\tupdatedBy\"\xc3\x01\n\x0bTriggerSpec\x12\x31\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x35\n\x08run_spec\x18\x03 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpec\x12\x16\n\x06\x61\x63tive\x18\x04 \x01(\x08R\x06\x61\x63tive\x12,\n\x0ctask_version\x18\x05 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x0btaskVersionJ\x04\x08\x01\x10\x02\"\x95\x02\n\rTriggerStatus\x12\x45\n\x0b\x64\x65ployed_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x08\x01R\ndeployedAt\x12\x43\n\nupdated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x08\x01R\tupdatedAt\x12=\n\x0ctriggered_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0btriggeredAt\x12\x39\n\ndeleted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tdeletedAt\"\xa8\x02\n\x07Trigger\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32\".cloudidl.common.TriggerIdentifierR\x02id\x12>\n\x08metadata\x18\x02 \x01(\x0b\x32\".cloudidl.workflow.TriggerMetadataR\x08metadata\x12\x38\n\x06status\x18\x03 \x01(\x0b\x32 .cloudidl.workflow.TriggerStatusR\x06status\x12\x16\n\x06\x61\x63tive\x18\x05 \x01(\x08R\x06\x61\x63tive\x12Q\n\x0f\x61utomation_spec\x18\x06 \x01(\x0b\x32(.cloudidl.workflow.TriggerAutomationSpecR\x0e\x61utomationSpecJ\x04\x08\x04\x10\x05\"\x81\x02\n\x0fTriggerRevision\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32\".cloudidl.common.TriggerIdentifierR\x02id\x12>\n\x08metadata\x18\x02 \x01(\x0b\x32\".cloudidl.workflow.TriggerMetadataR\x08metadata\x12\x38\n\x06status\x18\x03 \x01(\x0b\x32 .cloudidl.workflow.TriggerStatusR\x06status\x12@\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32(.cloudidl.workflow.TriggerRevisionActionR\x06\x61\x63tion\"\xd9\x02\n\x0eTriggerDetails\x12<\n\x02id\x18\x01 \x01(\x0b\x32\".cloudidl.common.TriggerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12>\n\x08metadata\x18\x02 \x01(\x0b\x32\".cloudidl.workflow.TriggerMetadataR\x08metadata\x12<\n\x04spec\x18\x03 \x01(\x0b\x32\x1e.cloudidl.workflow.TriggerSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\x12\x38\n\x06status\x18\x04 \x01(\x0b\x32 .cloudidl.workflow.TriggerStatusR\x06status\x12Q\n\x0f\x61utomation_spec\x18\x05 \x01(\x0b\x32(.cloudidl.workflow.TriggerAutomationSpecR\x0e\x61utomationSpec\"\xc2\x01\n\x0bTaskTrigger\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xff\x01R\x04name\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\".cloudidl.workflow.TaskTriggerSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\x12Q\n\x0f\x61utomation_spec\x18\x03 \x01(\x0b\x32(.cloudidl.workflow.TriggerAutomationSpecR\x0e\x61utomationSpec\"\x93\x01\n\x0fTaskTriggerSpec\x12\x16\n\x06\x61\x63tive\x18\x01 \x01(\x08R\x06\x61\x63tive\x12\x31\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x35\n\x08run_spec\x18\x03 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpec*\xd6\x01\n\x15TriggerRevisionAction\x12\'\n#TRIGGER_REVISION_ACTION_UNSPECIFIED\x10\x00\x12\"\n\x1eTRIGGER_REVISION_ACTION_DEPLOY\x10\x01\x12$\n TRIGGER_REVISION_ACTION_ACTIVATE\x10\x02\x12&\n\"TRIGGER_REVISION_ACTION_DEACTIVATE\x10\x03\x12\"\n\x1eTRIGGER_REVISION_ACTION_DELETE\x10\x04\x42\xc3\x01\n\x15\x63om.cloudidl.workflowB\x16TriggerDefinitionProtoH\x02P\x01Z+github.com/unionai/cloud/gen/pb-go/workflow\xa2\x02\x03\x43WX\xaa\x02\x11\x43loudidl.Workflow\xca\x02\x11\x43loudidl\\Workflow\xe2\x02\x1d\x43loudidl\\Workflow\\GPBMetadata\xea\x02\x12\x43loudidl::Workflowb\x06proto3')
23
-
24
- _globals = globals()
25
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
26
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.trigger_definition_pb2', _globals)
27
- if _descriptor._USE_C_DESCRIPTORS == False:
28
- DESCRIPTOR._options = None
29
- DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\026TriggerDefinitionProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
30
- _TRIGGERMETADATA.fields_by_name['deployed_by']._options = None
31
- _TRIGGERMETADATA.fields_by_name['deployed_by']._serialized_options = b'\372B\005\212\001\002\020\001'
32
- _TRIGGERMETADATA.fields_by_name['updated_by']._options = None
33
- _TRIGGERMETADATA.fields_by_name['updated_by']._serialized_options = b'\372B\005\212\001\002\020\001'
34
- _TRIGGERSPEC.fields_by_name['task_version']._options = None
35
- _TRIGGERSPEC.fields_by_name['task_version']._serialized_options = b'\372B\006r\004\020\001\030?'
36
- _TRIGGERSTATUS.fields_by_name['deployed_at']._options = None
37
- _TRIGGERSTATUS.fields_by_name['deployed_at']._serialized_options = b'\372B\005\262\001\002\010\001'
38
- _TRIGGERSTATUS.fields_by_name['updated_at']._options = None
39
- _TRIGGERSTATUS.fields_by_name['updated_at']._serialized_options = b'\372B\005\262\001\002\010\001'
40
- _TRIGGERDETAILS.fields_by_name['id']._options = None
41
- _TRIGGERDETAILS.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
42
- _TRIGGERDETAILS.fields_by_name['spec']._options = None
43
- _TRIGGERDETAILS.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
44
- _TASKTRIGGER.fields_by_name['name']._options = None
45
- _TASKTRIGGER.fields_by_name['name']._serialized_options = b'\372B\007r\005\020\001\030\377\001'
46
- _TASKTRIGGER.fields_by_name['spec']._options = None
47
- _TASKTRIGGER.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
48
- _globals['_TRIGGERREVISIONACTION']._serialized_start=2123
49
- _globals['_TRIGGERREVISIONACTION']._serialized_end=2337
50
- _globals['_TRIGGERMETADATA']._serialized_start=217
51
- _globals['_TRIGGERMETADATA']._serialized_end=388
52
- _globals['_TRIGGERSPEC']._serialized_start=391
53
- _globals['_TRIGGERSPEC']._serialized_end=586
54
- _globals['_TRIGGERSTATUS']._serialized_start=589
55
- _globals['_TRIGGERSTATUS']._serialized_end=866
56
- _globals['_TRIGGER']._serialized_start=869
57
- _globals['_TRIGGER']._serialized_end=1165
58
- _globals['_TRIGGERREVISION']._serialized_start=1168
59
- _globals['_TRIGGERREVISION']._serialized_end=1425
60
- _globals['_TRIGGERDETAILS']._serialized_start=1428
61
- _globals['_TRIGGERDETAILS']._serialized_end=1773
62
- _globals['_TASKTRIGGER']._serialized_start=1776
63
- _globals['_TASKTRIGGER']._serialized_end=1970
64
- _globals['_TASKTRIGGERSPEC']._serialized_start=1973
65
- _globals['_TASKTRIGGERSPEC']._serialized_end=2120
66
- # @@protoc_insertion_point(module_scope)
@@ -1,117 +0,0 @@
1
- from flyte._protos.common import identifier_pb2 as _identifier_pb2
2
- from flyte._protos.common import identity_pb2 as _identity_pb2
3
- from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
- from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
5
- from flyte._protos.workflow import common_pb2 as _common_pb2
6
- from flyte._protos.workflow import run_definition_pb2 as _run_definition_pb2
7
- from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
8
- from google.protobuf import descriptor as _descriptor
9
- from google.protobuf import message as _message
10
- from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
11
-
12
- DESCRIPTOR: _descriptor.FileDescriptor
13
-
14
- class TriggerRevisionAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
15
- __slots__ = []
16
- TRIGGER_REVISION_ACTION_UNSPECIFIED: _ClassVar[TriggerRevisionAction]
17
- TRIGGER_REVISION_ACTION_DEPLOY: _ClassVar[TriggerRevisionAction]
18
- TRIGGER_REVISION_ACTION_ACTIVATE: _ClassVar[TriggerRevisionAction]
19
- TRIGGER_REVISION_ACTION_DEACTIVATE: _ClassVar[TriggerRevisionAction]
20
- TRIGGER_REVISION_ACTION_DELETE: _ClassVar[TriggerRevisionAction]
21
- TRIGGER_REVISION_ACTION_UNSPECIFIED: TriggerRevisionAction
22
- TRIGGER_REVISION_ACTION_DEPLOY: TriggerRevisionAction
23
- TRIGGER_REVISION_ACTION_ACTIVATE: TriggerRevisionAction
24
- TRIGGER_REVISION_ACTION_DEACTIVATE: TriggerRevisionAction
25
- TRIGGER_REVISION_ACTION_DELETE: TriggerRevisionAction
26
-
27
- class TriggerMetadata(_message.Message):
28
- __slots__ = ["deployed_by", "updated_by"]
29
- DEPLOYED_BY_FIELD_NUMBER: _ClassVar[int]
30
- UPDATED_BY_FIELD_NUMBER: _ClassVar[int]
31
- deployed_by: _identity_pb2.EnrichedIdentity
32
- updated_by: _identity_pb2.EnrichedIdentity
33
- def __init__(self, deployed_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ..., updated_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ...) -> None: ...
34
-
35
- class TriggerSpec(_message.Message):
36
- __slots__ = ["inputs", "run_spec", "active", "task_version"]
37
- INPUTS_FIELD_NUMBER: _ClassVar[int]
38
- RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
39
- ACTIVE_FIELD_NUMBER: _ClassVar[int]
40
- TASK_VERSION_FIELD_NUMBER: _ClassVar[int]
41
- inputs: _run_definition_pb2.Inputs
42
- run_spec: _run_definition_pb2.RunSpec
43
- active: bool
44
- task_version: str
45
- def __init__(self, inputs: _Optional[_Union[_run_definition_pb2.Inputs, _Mapping]] = ..., run_spec: _Optional[_Union[_run_definition_pb2.RunSpec, _Mapping]] = ..., active: bool = ..., task_version: _Optional[str] = ...) -> None: ...
46
-
47
- class TriggerStatus(_message.Message):
48
- __slots__ = ["deployed_at", "updated_at", "triggered_at", "deleted_at"]
49
- DEPLOYED_AT_FIELD_NUMBER: _ClassVar[int]
50
- UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
51
- TRIGGERED_AT_FIELD_NUMBER: _ClassVar[int]
52
- DELETED_AT_FIELD_NUMBER: _ClassVar[int]
53
- deployed_at: _timestamp_pb2.Timestamp
54
- updated_at: _timestamp_pb2.Timestamp
55
- triggered_at: _timestamp_pb2.Timestamp
56
- deleted_at: _timestamp_pb2.Timestamp
57
- def __init__(self, deployed_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., triggered_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., deleted_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
58
-
59
- class Trigger(_message.Message):
60
- __slots__ = ["id", "metadata", "status", "active", "automation_spec"]
61
- ID_FIELD_NUMBER: _ClassVar[int]
62
- METADATA_FIELD_NUMBER: _ClassVar[int]
63
- STATUS_FIELD_NUMBER: _ClassVar[int]
64
- ACTIVE_FIELD_NUMBER: _ClassVar[int]
65
- AUTOMATION_SPEC_FIELD_NUMBER: _ClassVar[int]
66
- id: _identifier_pb2.TriggerIdentifier
67
- metadata: TriggerMetadata
68
- status: TriggerStatus
69
- active: bool
70
- automation_spec: _common_pb2.TriggerAutomationSpec
71
- def __init__(self, id: _Optional[_Union[_identifier_pb2.TriggerIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[TriggerMetadata, _Mapping]] = ..., status: _Optional[_Union[TriggerStatus, _Mapping]] = ..., active: bool = ..., automation_spec: _Optional[_Union[_common_pb2.TriggerAutomationSpec, _Mapping]] = ...) -> None: ...
72
-
73
- class TriggerRevision(_message.Message):
74
- __slots__ = ["id", "metadata", "status", "action"]
75
- ID_FIELD_NUMBER: _ClassVar[int]
76
- METADATA_FIELD_NUMBER: _ClassVar[int]
77
- STATUS_FIELD_NUMBER: _ClassVar[int]
78
- ACTION_FIELD_NUMBER: _ClassVar[int]
79
- id: _identifier_pb2.TriggerIdentifier
80
- metadata: TriggerMetadata
81
- status: TriggerStatus
82
- action: TriggerRevisionAction
83
- def __init__(self, id: _Optional[_Union[_identifier_pb2.TriggerIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[TriggerMetadata, _Mapping]] = ..., status: _Optional[_Union[TriggerStatus, _Mapping]] = ..., action: _Optional[_Union[TriggerRevisionAction, str]] = ...) -> None: ...
84
-
85
- class TriggerDetails(_message.Message):
86
- __slots__ = ["id", "metadata", "spec", "status", "automation_spec"]
87
- ID_FIELD_NUMBER: _ClassVar[int]
88
- METADATA_FIELD_NUMBER: _ClassVar[int]
89
- SPEC_FIELD_NUMBER: _ClassVar[int]
90
- STATUS_FIELD_NUMBER: _ClassVar[int]
91
- AUTOMATION_SPEC_FIELD_NUMBER: _ClassVar[int]
92
- id: _identifier_pb2.TriggerIdentifier
93
- metadata: TriggerMetadata
94
- spec: TriggerSpec
95
- status: TriggerStatus
96
- automation_spec: _common_pb2.TriggerAutomationSpec
97
- def __init__(self, id: _Optional[_Union[_identifier_pb2.TriggerIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[TriggerMetadata, _Mapping]] = ..., spec: _Optional[_Union[TriggerSpec, _Mapping]] = ..., status: _Optional[_Union[TriggerStatus, _Mapping]] = ..., automation_spec: _Optional[_Union[_common_pb2.TriggerAutomationSpec, _Mapping]] = ...) -> None: ...
98
-
99
- class TaskTrigger(_message.Message):
100
- __slots__ = ["name", "spec", "automation_spec"]
101
- NAME_FIELD_NUMBER: _ClassVar[int]
102
- SPEC_FIELD_NUMBER: _ClassVar[int]
103
- AUTOMATION_SPEC_FIELD_NUMBER: _ClassVar[int]
104
- name: str
105
- spec: TaskTriggerSpec
106
- automation_spec: _common_pb2.TriggerAutomationSpec
107
- def __init__(self, name: _Optional[str] = ..., spec: _Optional[_Union[TaskTriggerSpec, _Mapping]] = ..., automation_spec: _Optional[_Union[_common_pb2.TriggerAutomationSpec, _Mapping]] = ...) -> None: ...
108
-
109
- class TaskTriggerSpec(_message.Message):
110
- __slots__ = ["active", "inputs", "run_spec"]
111
- ACTIVE_FIELD_NUMBER: _ClassVar[int]
112
- INPUTS_FIELD_NUMBER: _ClassVar[int]
113
- RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
114
- active: bool
115
- inputs: _run_definition_pb2.Inputs
116
- run_spec: _run_definition_pb2.RunSpec
117
- def __init__(self, active: bool = ..., inputs: _Optional[_Union[_run_definition_pb2.Inputs, _Mapping]] = ..., run_spec: _Optional[_Union[_run_definition_pb2.RunSpec, _Mapping]] = ...) -> None: ...
@@ -1,4 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
@@ -1,96 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: workflow/trigger_service.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import descriptor_pool as _descriptor_pool
7
- from google.protobuf import symbol_database as _symbol_database
8
- from google.protobuf.internal import builder as _builder
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
15
- from flyte._protos.common import list_pb2 as common_dot_list__pb2
16
- from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
17
- from flyte._protos.workflow import common_pb2 as workflow_dot_common__pb2
18
- from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
19
- from flyte._protos.workflow import trigger_definition_pb2 as workflow_dot_trigger__definition__pb2
20
-
21
-
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eworkflow/trigger_service.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x11\x63ommon/list.proto\x1a\x17validate/validate.proto\x1a\x15workflow/common.proto\x1a\x1eworkflow/task_definition.proto\x1a!workflow/trigger_definition.proto\"\xe5\x01\n\x14\x44\x65ployTriggerRequest\x12<\n\x02id\x18\x01 \x01(\x0b\x32\".cloudidl.common.TriggerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12<\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.cloudidl.workflow.TriggerSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\x12Q\n\x0f\x61utomation_spec\x18\x03 \x01(\x0b\x32(.cloudidl.workflow.TriggerAutomationSpecR\x0e\x61utomationSpec\"^\n\x15\x44\x65ployTriggerResponse\x12\x45\n\x07trigger\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TriggerDetailsB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x07trigger\"V\n\x18GetTriggerDetailsRequest\x12:\n\x04name\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.TriggerNameB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04name\"b\n\x19GetTriggerDetailsResponse\x12\x45\n\x07trigger\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TriggerDetailsB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x07trigger\"`\n GetTriggerRevisionDetailsRequest\x12<\n\x02id\x18\x01 \x01(\x0b\x32\".cloudidl.common.TriggerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\"j\n!GetTriggerRevisionDetailsResponse\x12\x45\n\x07trigger\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TriggerDetailsB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x07trigger\"\x92\x02\n\x13ListTriggersRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12\x1b\n\x03org\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x03org\x12M\n\nproject_id\x18\x03 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x04 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x06taskIdB\x0f\n\x08scope_by\x12\x03\xf8\x42\x01\"d\n\x14ListTriggersResponse\x12\x36\n\x08triggers\x18\x01 \x03(\x0b\x32\x1a.cloudidl.workflow.TriggerR\x08triggers\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\x96\x01\n GetTriggerRevisionHistoryRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12:\n\x04name\x18\x02 \x01(\x0b\x32\x1c.cloudidl.common.TriggerNameB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04name\"y\n!GetTriggerRevisionHistoryResponse\x12>\n\x08triggers\x18\x01 \x03(\x0b\x32\".cloudidl.workflow.TriggerRevisionR\x08triggers\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"o\n\x15UpdateTriggersRequest\x12>\n\x05names\x18\x01 \x03(\x0b\x32\x1c.cloudidl.common.TriggerNameB\n\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x64R\x05names\x12\x16\n\x06\x61\x63tive\x18\x02 \x01(\x08R\x06\x61\x63tive\"\x18\n\x16UpdateTriggersResponse\"W\n\x15\x44\x65leteTriggersRequest\x12>\n\x05names\x18\x01 \x03(\x0b\x32\x1c.cloudidl.common.TriggerNameB\n\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x64R\x05names\"\x18\n\x16\x44\x65leteTriggersResponse2\xbf\x06\n\x0eTriggerService\x12\x64\n\rDeployTrigger\x12\'.cloudidl.workflow.DeployTriggerRequest\x1a(.cloudidl.workflow.DeployTriggerResponse\"\x00\x12s\n\x11GetTriggerDetails\x12+.cloudidl.workflow.GetTriggerDetailsRequest\x1a,.cloudidl.workflow.GetTriggerDetailsResponse\"\x03\x90\x02\x01\x12\x8b\x01\n\x19GetTriggerRevisionDetails\x12\x33.cloudidl.workflow.GetTriggerRevisionDetailsRequest\x1a\x34.cloudidl.workflow.GetTriggerRevisionDetailsResponse\"\x03\x90\x02\x01\x12\x64\n\x0cListTriggers\x12&.cloudidl.workflow.ListTriggersRequest\x1a\'.cloudidl.workflow.ListTriggersResponse\"\x03\x90\x02\x01\x12\x8b\x01\n\x19GetTriggerRevisionHistory\x12\x33.cloudidl.workflow.GetTriggerRevisionHistoryRequest\x1a\x34.cloudidl.workflow.GetTriggerRevisionHistoryResponse\"\x03\x90\x02\x01\x12g\n\x0eUpdateTriggers\x12(.cloudidl.workflow.UpdateTriggersRequest\x1a).cloudidl.workflow.UpdateTriggersResponse\"\x00\x12g\n\x0e\x44\x65leteTriggers\x12(.cloudidl.workflow.DeleteTriggersRequest\x1a).cloudidl.workflow.DeleteTriggersResponse\"\x00\x42\xc0\x01\n\x15\x63om.cloudidl.workflowB\x13TriggerServiceProtoH\x02P\x01Z+github.com/unionai/cloud/gen/pb-go/workflow\xa2\x02\x03\x43WX\xaa\x02\x11\x43loudidl.Workflow\xca\x02\x11\x43loudidl\\Workflow\xe2\x02\x1d\x43loudidl\\Workflow\\GPBMetadata\xea\x02\x12\x43loudidl::Workflowb\x06proto3')
23
-
24
- _globals = globals()
25
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
26
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.trigger_service_pb2', _globals)
27
- if _descriptor._USE_C_DESCRIPTORS == False:
28
- DESCRIPTOR._options = None
29
- DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\023TriggerServiceProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
30
- _DEPLOYTRIGGERREQUEST.fields_by_name['id']._options = None
31
- _DEPLOYTRIGGERREQUEST.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
32
- _DEPLOYTRIGGERREQUEST.fields_by_name['spec']._options = None
33
- _DEPLOYTRIGGERREQUEST.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
34
- _DEPLOYTRIGGERRESPONSE.fields_by_name['trigger']._options = None
35
- _DEPLOYTRIGGERRESPONSE.fields_by_name['trigger']._serialized_options = b'\372B\005\212\001\002\020\001'
36
- _GETTRIGGERDETAILSREQUEST.fields_by_name['name']._options = None
37
- _GETTRIGGERDETAILSREQUEST.fields_by_name['name']._serialized_options = b'\372B\005\212\001\002\020\001'
38
- _GETTRIGGERDETAILSRESPONSE.fields_by_name['trigger']._options = None
39
- _GETTRIGGERDETAILSRESPONSE.fields_by_name['trigger']._serialized_options = b'\372B\005\212\001\002\020\001'
40
- _GETTRIGGERREVISIONDETAILSREQUEST.fields_by_name['id']._options = None
41
- _GETTRIGGERREVISIONDETAILSREQUEST.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
42
- _GETTRIGGERREVISIONDETAILSRESPONSE.fields_by_name['trigger']._options = None
43
- _GETTRIGGERREVISIONDETAILSRESPONSE.fields_by_name['trigger']._serialized_options = b'\372B\005\212\001\002\020\001'
44
- _LISTTRIGGERSREQUEST.oneofs_by_name['scope_by']._options = None
45
- _LISTTRIGGERSREQUEST.oneofs_by_name['scope_by']._serialized_options = b'\370B\001'
46
- _LISTTRIGGERSREQUEST.fields_by_name['org']._options = None
47
- _LISTTRIGGERSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
48
- _LISTTRIGGERSREQUEST.fields_by_name['project_id']._options = None
49
- _LISTTRIGGERSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
50
- _LISTTRIGGERSREQUEST.fields_by_name['task_id']._options = None
51
- _LISTTRIGGERSREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
52
- _GETTRIGGERREVISIONHISTORYREQUEST.fields_by_name['name']._options = None
53
- _GETTRIGGERREVISIONHISTORYREQUEST.fields_by_name['name']._serialized_options = b'\372B\005\212\001\002\020\001'
54
- _UPDATETRIGGERSREQUEST.fields_by_name['names']._options = None
55
- _UPDATETRIGGERSREQUEST.fields_by_name['names']._serialized_options = b'\372B\007\222\001\004\010\001\020d'
56
- _DELETETRIGGERSREQUEST.fields_by_name['names']._options = None
57
- _DELETETRIGGERSREQUEST.fields_by_name['names']._serialized_options = b'\372B\007\222\001\004\010\001\020d'
58
- _TRIGGERSERVICE.methods_by_name['GetTriggerDetails']._options = None
59
- _TRIGGERSERVICE.methods_by_name['GetTriggerDetails']._serialized_options = b'\220\002\001'
60
- _TRIGGERSERVICE.methods_by_name['GetTriggerRevisionDetails']._options = None
61
- _TRIGGERSERVICE.methods_by_name['GetTriggerRevisionDetails']._serialized_options = b'\220\002\001'
62
- _TRIGGERSERVICE.methods_by_name['ListTriggers']._options = None
63
- _TRIGGERSERVICE.methods_by_name['ListTriggers']._serialized_options = b'\220\002\001'
64
- _TRIGGERSERVICE.methods_by_name['GetTriggerRevisionHistory']._options = None
65
- _TRIGGERSERVICE.methods_by_name['GetTriggerRevisionHistory']._serialized_options = b'\220\002\001'
66
- _globals['_DEPLOYTRIGGERREQUEST']._serialized_start=213
67
- _globals['_DEPLOYTRIGGERREQUEST']._serialized_end=442
68
- _globals['_DEPLOYTRIGGERRESPONSE']._serialized_start=444
69
- _globals['_DEPLOYTRIGGERRESPONSE']._serialized_end=538
70
- _globals['_GETTRIGGERDETAILSREQUEST']._serialized_start=540
71
- _globals['_GETTRIGGERDETAILSREQUEST']._serialized_end=626
72
- _globals['_GETTRIGGERDETAILSRESPONSE']._serialized_start=628
73
- _globals['_GETTRIGGERDETAILSRESPONSE']._serialized_end=726
74
- _globals['_GETTRIGGERREVISIONDETAILSREQUEST']._serialized_start=728
75
- _globals['_GETTRIGGERREVISIONDETAILSREQUEST']._serialized_end=824
76
- _globals['_GETTRIGGERREVISIONDETAILSRESPONSE']._serialized_start=826
77
- _globals['_GETTRIGGERREVISIONDETAILSRESPONSE']._serialized_end=932
78
- _globals['_LISTTRIGGERSREQUEST']._serialized_start=935
79
- _globals['_LISTTRIGGERSREQUEST']._serialized_end=1209
80
- _globals['_LISTTRIGGERSRESPONSE']._serialized_start=1211
81
- _globals['_LISTTRIGGERSRESPONSE']._serialized_end=1311
82
- _globals['_GETTRIGGERREVISIONHISTORYREQUEST']._serialized_start=1314
83
- _globals['_GETTRIGGERREVISIONHISTORYREQUEST']._serialized_end=1464
84
- _globals['_GETTRIGGERREVISIONHISTORYRESPONSE']._serialized_start=1466
85
- _globals['_GETTRIGGERREVISIONHISTORYRESPONSE']._serialized_end=1587
86
- _globals['_UPDATETRIGGERSREQUEST']._serialized_start=1589
87
- _globals['_UPDATETRIGGERSREQUEST']._serialized_end=1700
88
- _globals['_UPDATETRIGGERSRESPONSE']._serialized_start=1702
89
- _globals['_UPDATETRIGGERSRESPONSE']._serialized_end=1726
90
- _globals['_DELETETRIGGERSREQUEST']._serialized_start=1728
91
- _globals['_DELETETRIGGERSREQUEST']._serialized_end=1815
92
- _globals['_DELETETRIGGERSRESPONSE']._serialized_start=1817
93
- _globals['_DELETETRIGGERSRESPONSE']._serialized_end=1841
94
- _globals['_TRIGGERSERVICE']._serialized_start=1844
95
- _globals['_TRIGGERSERVICE']._serialized_end=2675
96
- # @@protoc_insertion_point(module_scope)
@@ -1,110 +0,0 @@
1
- from flyte._protos.common import identifier_pb2 as _identifier_pb2
2
- from flyte._protos.common import list_pb2 as _list_pb2
3
- from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
4
- from flyte._protos.workflow import common_pb2 as _common_pb2
5
- from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
6
- from flyte._protos.workflow import trigger_definition_pb2 as _trigger_definition_pb2
7
- from google.protobuf.internal import containers as _containers
8
- from google.protobuf import descriptor as _descriptor
9
- from google.protobuf import message as _message
10
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
11
-
12
- DESCRIPTOR: _descriptor.FileDescriptor
13
-
14
- class DeployTriggerRequest(_message.Message):
15
- __slots__ = ["id", "spec", "automation_spec"]
16
- ID_FIELD_NUMBER: _ClassVar[int]
17
- SPEC_FIELD_NUMBER: _ClassVar[int]
18
- AUTOMATION_SPEC_FIELD_NUMBER: _ClassVar[int]
19
- id: _identifier_pb2.TriggerIdentifier
20
- spec: _trigger_definition_pb2.TriggerSpec
21
- automation_spec: _common_pb2.TriggerAutomationSpec
22
- def __init__(self, id: _Optional[_Union[_identifier_pb2.TriggerIdentifier, _Mapping]] = ..., spec: _Optional[_Union[_trigger_definition_pb2.TriggerSpec, _Mapping]] = ..., automation_spec: _Optional[_Union[_common_pb2.TriggerAutomationSpec, _Mapping]] = ...) -> None: ...
23
-
24
- class DeployTriggerResponse(_message.Message):
25
- __slots__ = ["trigger"]
26
- TRIGGER_FIELD_NUMBER: _ClassVar[int]
27
- trigger: _trigger_definition_pb2.TriggerDetails
28
- def __init__(self, trigger: _Optional[_Union[_trigger_definition_pb2.TriggerDetails, _Mapping]] = ...) -> None: ...
29
-
30
- class GetTriggerDetailsRequest(_message.Message):
31
- __slots__ = ["name"]
32
- NAME_FIELD_NUMBER: _ClassVar[int]
33
- name: _identifier_pb2.TriggerName
34
- def __init__(self, name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ...) -> None: ...
35
-
36
- class GetTriggerDetailsResponse(_message.Message):
37
- __slots__ = ["trigger"]
38
- TRIGGER_FIELD_NUMBER: _ClassVar[int]
39
- trigger: _trigger_definition_pb2.TriggerDetails
40
- def __init__(self, trigger: _Optional[_Union[_trigger_definition_pb2.TriggerDetails, _Mapping]] = ...) -> None: ...
41
-
42
- class GetTriggerRevisionDetailsRequest(_message.Message):
43
- __slots__ = ["id"]
44
- ID_FIELD_NUMBER: _ClassVar[int]
45
- id: _identifier_pb2.TriggerIdentifier
46
- def __init__(self, id: _Optional[_Union[_identifier_pb2.TriggerIdentifier, _Mapping]] = ...) -> None: ...
47
-
48
- class GetTriggerRevisionDetailsResponse(_message.Message):
49
- __slots__ = ["trigger"]
50
- TRIGGER_FIELD_NUMBER: _ClassVar[int]
51
- trigger: _trigger_definition_pb2.TriggerDetails
52
- def __init__(self, trigger: _Optional[_Union[_trigger_definition_pb2.TriggerDetails, _Mapping]] = ...) -> None: ...
53
-
54
- class ListTriggersRequest(_message.Message):
55
- __slots__ = ["request", "org", "project_id", "task_id"]
56
- REQUEST_FIELD_NUMBER: _ClassVar[int]
57
- ORG_FIELD_NUMBER: _ClassVar[int]
58
- PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
59
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
60
- request: _list_pb2.ListRequest
61
- org: str
62
- project_id: _identifier_pb2.ProjectIdentifier
63
- task_id: _task_definition_pb2.TaskIdentifier
64
- def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., org: _Optional[str] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., task_id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ...) -> None: ...
65
-
66
- class ListTriggersResponse(_message.Message):
67
- __slots__ = ["triggers", "token"]
68
- TRIGGERS_FIELD_NUMBER: _ClassVar[int]
69
- TOKEN_FIELD_NUMBER: _ClassVar[int]
70
- triggers: _containers.RepeatedCompositeFieldContainer[_trigger_definition_pb2.Trigger]
71
- token: str
72
- def __init__(self, triggers: _Optional[_Iterable[_Union[_trigger_definition_pb2.Trigger, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ...
73
-
74
- class GetTriggerRevisionHistoryRequest(_message.Message):
75
- __slots__ = ["request", "name"]
76
- REQUEST_FIELD_NUMBER: _ClassVar[int]
77
- NAME_FIELD_NUMBER: _ClassVar[int]
78
- request: _list_pb2.ListRequest
79
- name: _identifier_pb2.TriggerName
80
- def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ...) -> None: ...
81
-
82
- class GetTriggerRevisionHistoryResponse(_message.Message):
83
- __slots__ = ["triggers", "token"]
84
- TRIGGERS_FIELD_NUMBER: _ClassVar[int]
85
- TOKEN_FIELD_NUMBER: _ClassVar[int]
86
- triggers: _containers.RepeatedCompositeFieldContainer[_trigger_definition_pb2.TriggerRevision]
87
- token: str
88
- def __init__(self, triggers: _Optional[_Iterable[_Union[_trigger_definition_pb2.TriggerRevision, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ...
89
-
90
- class UpdateTriggersRequest(_message.Message):
91
- __slots__ = ["names", "active"]
92
- NAMES_FIELD_NUMBER: _ClassVar[int]
93
- ACTIVE_FIELD_NUMBER: _ClassVar[int]
94
- names: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.TriggerName]
95
- active: bool
96
- def __init__(self, names: _Optional[_Iterable[_Union[_identifier_pb2.TriggerName, _Mapping]]] = ..., active: bool = ...) -> None: ...
97
-
98
- class UpdateTriggersResponse(_message.Message):
99
- __slots__ = []
100
- def __init__(self) -> None: ...
101
-
102
- class DeleteTriggersRequest(_message.Message):
103
- __slots__ = ["names"]
104
- NAMES_FIELD_NUMBER: _ClassVar[int]
105
- names: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.TriggerName]
106
- def __init__(self, names: _Optional[_Iterable[_Union[_identifier_pb2.TriggerName, _Mapping]]] = ...) -> None: ...
107
-
108
- class DeleteTriggersResponse(_message.Message):
109
- __slots__ = []
110
- def __init__(self) -> None: ...