@flyteorg/flyteidl 1.1.1 → 1.1.4

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.
@@ -789,7 +789,9 @@ Tag properties we can filter by
789
789
 
790
790
 
791
791
 
792
- <!-- end messages -->
792
+
793
+ ..
794
+ end messages
793
795
 
794
796
 
795
797
 
@@ -837,9 +839,13 @@ as use-cases come up we can add more operators, ex: gte, like, not eq etc.
837
839
 
838
840
  "EQUALS", "0", ""
839
841
 
840
- <!-- end enums -->
841
842
 
842
- <!-- end HasExtensions -->
843
+ ..
844
+ end enums
845
+
846
+
847
+ ..
848
+ end HasExtensions
843
849
 
844
850
 
845
851
 
@@ -865,7 +871,9 @@ Artifacts are associated with a Dataset, and can be tagged for retrieval.
865
871
  "ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets"
866
872
  "GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last."
867
873
  "ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot."
868
- <!-- end services -->
874
+
875
+ ..
876
+ end services
869
877
 
870
878
 
871
879
 
@@ -989,13 +997,21 @@ http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.htm
989
997
 
990
998
 
991
999
 
992
- <!-- end messages -->
993
1000
 
994
- <!-- end enums -->
1001
+ ..
1002
+ end messages
1003
+
1004
+
1005
+ ..
1006
+ end enums
1007
+
1008
+
1009
+ ..
1010
+ end HasExtensions
995
1011
 
996
- <!-- end HasExtensions -->
997
1012
 
998
- <!-- end services -->
1013
+ ..
1014
+ end services
999
1015
 
1000
1016
 
1001
1017
 
@@ -1086,13 +1102,21 @@ microsecond should be expressed in JSON format as "3.000001s".
1086
1102
 
1087
1103
 
1088
1104
 
1089
- <!-- end messages -->
1090
1105
 
1091
- <!-- end enums -->
1106
+ ..
1107
+ end messages
1092
1108
 
1093
- <!-- end HasExtensions -->
1094
1109
 
1095
- <!-- end services -->
1110
+ ..
1111
+ end enums
1112
+
1113
+
1114
+ ..
1115
+ end HasExtensions
1116
+
1117
+
1118
+ ..
1119
+ end services
1096
1120
 
1097
1121
 
1098
1122
 
@@ -1208,7 +1232,9 @@ The JSON representation for `Value` is JSON value.
1208
1232
 
1209
1233
 
1210
1234
 
1211
- <!-- end messages -->
1235
+
1236
+ ..
1237
+ end messages
1212
1238
 
1213
1239
 
1214
1240
 
@@ -1228,10 +1254,16 @@ NullValue
1228
1254
 
1229
1255
  "NULL_VALUE", "0", "Null value."
1230
1256
 
1231
- <!-- end enums -->
1232
1257
 
1233
- <!-- end HasExtensions -->
1258
+ ..
1259
+ end enums
1260
+
1261
+
1262
+ ..
1263
+ end HasExtensions
1264
+
1234
1265
 
1235
- <!-- end services -->
1266
+ ..
1267
+ end services
1236
1268
 
1237
1269
 
@@ -93,6 +93,7 @@ NodeExecutionEvent
93
93
  "event_version", ":ref:`ref_int32`", "", ""
94
94
  "is_parent", ":ref:`ref_bool`", "", "Whether this node launched a subworkflow."
95
95
  "is_dynamic", ":ref:`ref_bool`", "", "Whether this node yielded a dynamic workflow."
96
+ "deck_uri", ":ref:`ref_string`", "", "String location uniquely identifying where the deck HTML file is NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)"
96
97
 
97
98
 
98
99
 
@@ -300,7 +301,9 @@ For Workflow Nodes we need to send information about the workflow that's launche
300
301
 
301
302
 
302
303
 
303
- <!-- end messages -->
304
+
305
+ ..
306
+ end messages
304
307
 
305
308
 
306
309
 
@@ -318,11 +321,17 @@ Includes the broad category of machine used for this specific task execution.
318
321
  "DEFAULT", "0", "The default instance class configured for the flyte application platform."
319
322
  "INTERRUPTIBLE", "1", "The instance class configured for interruptible tasks."
320
323
 
321
- <!-- end enums -->
322
324
 
323
- <!-- end HasExtensions -->
325
+ ..
326
+ end enums
327
+
328
+
329
+ ..
330
+ end HasExtensions
331
+
324
332
 
325
- <!-- end services -->
333
+ ..
334
+ end services
326
335
 
327
336
 
328
337
 
@@ -446,13 +455,21 @@ http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.htm
446
455
 
447
456
 
448
457
 
449
- <!-- end messages -->
450
458
 
451
- <!-- end enums -->
459
+ ..
460
+ end messages
461
+
462
+
463
+ ..
464
+ end enums
465
+
466
+
467
+ ..
468
+ end HasExtensions
452
469
 
453
- <!-- end HasExtensions -->
454
470
 
455
- <!-- end services -->
471
+ ..
472
+ end services
456
473
 
457
474
 
458
475
 
@@ -543,13 +560,21 @@ microsecond should be expressed in JSON format as "3.000001s".
543
560
 
544
561
 
545
562
 
546
- <!-- end messages -->
547
563
 
548
- <!-- end enums -->
564
+ ..
565
+ end messages
549
566
 
550
- <!-- end HasExtensions -->
551
567
 
552
- <!-- end services -->
568
+ ..
569
+ end enums
570
+
571
+
572
+ ..
573
+ end HasExtensions
574
+
575
+
576
+ ..
577
+ end services
553
578
 
554
579
 
555
580
 
@@ -665,7 +690,9 @@ The JSON representation for `Value` is JSON value.
665
690
 
666
691
 
667
692
 
668
- <!-- end messages -->
693
+
694
+ ..
695
+ end messages
669
696
 
670
697
 
671
698
 
@@ -685,10 +712,16 @@ NullValue
685
712
 
686
713
  "NULL_VALUE", "0", "Null value."
687
714
 
688
- <!-- end enums -->
689
715
 
690
- <!-- end HasExtensions -->
716
+ ..
717
+ end enums
718
+
719
+
720
+ ..
721
+ end HasExtensions
722
+
691
723
 
692
- <!-- end services -->
724
+ ..
725
+ end services
693
726
 
694
727
 
@@ -37,13 +37,21 @@ will be executed concurrently.
37
37
 
38
38
 
39
39
 
40
- <!-- end messages -->
41
40
 
42
- <!-- end enums -->
41
+ ..
42
+ end messages
43
43
 
44
- <!-- end HasExtensions -->
45
44
 
46
- <!-- end services -->
45
+ ..
46
+ end enums
47
+
48
+
49
+ ..
50
+ end HasExtensions
51
+
52
+
53
+ ..
54
+ end services
47
55
 
48
56
 
49
57
 
@@ -79,13 +87,21 @@ Custom proto for plugin that enables distributed training using https://github.c
79
87
 
80
88
 
81
89
 
82
- <!-- end messages -->
83
90
 
84
- <!-- end enums -->
91
+ ..
92
+ end messages
93
+
94
+
95
+ ..
96
+ end enums
85
97
 
86
- <!-- end HasExtensions -->
87
98
 
88
- <!-- end services -->
99
+ ..
100
+ end HasExtensions
101
+
102
+
103
+ ..
104
+ end services
89
105
 
90
106
 
91
107
 
@@ -122,13 +138,21 @@ of a Presto task's TaskTemplate
122
138
 
123
139
 
124
140
 
125
- <!-- end messages -->
126
141
 
127
- <!-- end enums -->
142
+ ..
143
+ end messages
144
+
145
+
146
+ ..
147
+ end enums
148
+
149
+
150
+ ..
151
+ end HasExtensions
128
152
 
129
- <!-- end HasExtensions -->
130
153
 
131
- <!-- end services -->
154
+ ..
155
+ end services
132
156
 
133
157
 
134
158
 
@@ -161,13 +185,21 @@ Custom proto for plugin that enables distributed training using https://github.c
161
185
 
162
186
 
163
187
 
164
- <!-- end messages -->
165
188
 
166
- <!-- end enums -->
189
+ ..
190
+ end messages
167
191
 
168
- <!-- end HasExtensions -->
169
192
 
170
- <!-- end services -->
193
+ ..
194
+ end enums
195
+
196
+
197
+ ..
198
+ end HasExtensions
199
+
200
+
201
+ ..
202
+ end services
171
203
 
172
204
 
173
205
 
@@ -248,101 +280,21 @@ of a hive task's TaskTemplate
248
280
 
249
281
 
250
282
 
251
- <!-- end messages -->
252
-
253
- <!-- end enums -->
254
-
255
- <!-- end HasExtensions -->
256
-
257
- <!-- end services -->
258
-
259
-
260
-
261
-
262
- .. _ref_flyteidl/plugins/sidecar.proto:
263
-
264
- flyteidl/plugins/sidecar.proto
265
- ==================================================================
266
-
267
-
268
-
269
-
270
-
271
- .. _ref_flyteidl.plugins.SidecarJob:
272
-
273
- SidecarJob
274
- ------------------------------------------------------------------
275
-
276
- A sidecar job brings up the desired pod_spec.
277
- The plugin executor is responsible for keeping the pod alive until the primary container terminates
278
- or the task itself times out.
279
-
280
-
281
-
282
- .. csv-table:: SidecarJob type fields
283
- :header: "Field", "Type", "Label", "Description"
284
- :widths: auto
285
-
286
- "pod_spec", ":ref:`ref_k8s.io.api.core.v1.PodSpec`", "", ""
287
- "primary_container_name", ":ref:`ref_string`", "", ""
288
- "annotations", ":ref:`ref_flyteidl.plugins.SidecarJob.AnnotationsEntry`", "repeated", "Pod annotations"
289
- "labels", ":ref:`ref_flyteidl.plugins.SidecarJob.LabelsEntry`", "repeated", "Pod labels"
290
-
291
-
292
-
293
-
294
-
295
-
296
283
 
297
- .. _ref_flyteidl.plugins.SidecarJob.AnnotationsEntry:
298
-
299
- SidecarJob.AnnotationsEntry
300
- ------------------------------------------------------------------
301
-
302
-
303
-
304
-
305
-
306
- .. csv-table:: SidecarJob.AnnotationsEntry type fields
307
- :header: "Field", "Type", "Label", "Description"
308
- :widths: auto
309
-
310
- "key", ":ref:`ref_string`", "", ""
311
- "value", ":ref:`ref_string`", "", ""
284
+ ..
285
+ end messages
312
286
 
313
287
 
288
+ ..
289
+ end enums
314
290
 
315
291
 
292
+ ..
293
+ end HasExtensions
316
294
 
317
295
 
318
-
319
- .. _ref_flyteidl.plugins.SidecarJob.LabelsEntry:
320
-
321
- SidecarJob.LabelsEntry
322
- ------------------------------------------------------------------
323
-
324
-
325
-
326
-
327
-
328
- .. csv-table:: SidecarJob.LabelsEntry type fields
329
- :header: "Field", "Type", "Label", "Description"
330
- :widths: auto
331
-
332
- "key", ":ref:`ref_string`", "", ""
333
- "value", ":ref:`ref_string`", "", ""
334
-
335
-
336
-
337
-
338
-
339
- <!-- end messages -->
340
-
341
- <!-- end enums -->
342
-
343
- <!-- end HasExtensions -->
344
-
345
- <!-- end services -->
296
+ ..
297
+ end services
346
298
 
347
299
 
348
300
 
@@ -438,7 +390,9 @@ SparkJob.SparkConfEntry
438
390
 
439
391
 
440
392
 
441
- <!-- end messages -->
393
+
394
+ ..
395
+ end messages
442
396
 
443
397
 
444
398
 
@@ -458,11 +412,17 @@ SparkApplication.Type
458
412
  "SCALA", "2", ""
459
413
  "R", "3", ""
460
414
 
461
- <!-- end enums -->
462
415
 
463
- <!-- end HasExtensions -->
416
+ ..
417
+ end enums
464
418
 
465
- <!-- end services -->
419
+
420
+ ..
421
+ end HasExtensions
422
+
423
+
424
+ ..
425
+ end services
466
426
 
467
427
 
468
428
 
@@ -497,13 +457,21 @@ Custom proto for plugin that enables distributed training using https://github.c
497
457
 
498
458
 
499
459
 
500
- <!-- end messages -->
501
460
 
502
- <!-- end enums -->
461
+ ..
462
+ end messages
463
+
464
+
465
+ ..
466
+ end enums
467
+
503
468
 
504
- <!-- end HasExtensions -->
469
+ ..
470
+ end HasExtensions
505
471
 
506
- <!-- end services -->
472
+
473
+ ..
474
+ end services
507
475
 
508
476
 
509
477
 
@@ -538,12 +506,20 @@ Represents an Execution that was launched and could be waited on.
538
506
 
539
507
 
540
508
 
541
- <!-- end messages -->
542
509
 
543
- <!-- end enums -->
510
+ ..
511
+ end messages
512
+
513
+
514
+ ..
515
+ end enums
516
+
517
+
518
+ ..
519
+ end HasExtensions
544
520
 
545
- <!-- end HasExtensions -->
546
521
 
547
- <!-- end services -->
522
+ ..
523
+ end services
548
524
 
549
525
 
@@ -0,0 +1,129 @@
1
+ ######################
2
+ Protocol Documentation
3
+ ######################
4
+
5
+ {{range .Files}}
6
+ {{$file_name := .Name}}
7
+
8
+ .. _ref_{{.Name}}:
9
+
10
+ {{.Name}}
11
+ ==================================================================
12
+
13
+ {{.Description}}
14
+
15
+ {{range .Messages}}
16
+
17
+ .. _ref_{{.FullName}}:
18
+
19
+ {{.LongName}}
20
+ ------------------------------------------------------------------
21
+
22
+ {{.Description}}
23
+
24
+ {{if .HasFields}}
25
+
26
+ .. csv-table:: {{.LongName}} type fields
27
+ :header: "Field", "Type", "Label", "Description"
28
+ :widths: auto
29
+ {{range .Fields }}
30
+ "{{.Name}}", ":ref:`ref_{{.FullType}}`", "{{.Label}}", "{{if (index .Options "deprecated"|default false)}}**Deprecated.** {{end}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}"
31
+ {{- end}}
32
+ {{end}}
33
+
34
+
35
+ {{if .HasExtensions}}
36
+
37
+ .. csv-table:: {{.LongName}} type extensions
38
+ :header: "Extension", "Type", "Base", "Number", "Description"
39
+ :widths: auto
40
+ {{range .Extensions }}
41
+ "{{.Name}}", "{{.LongType}}", "{{.ContainingLongType}}", "{{.Number}}", "{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}"
42
+ {{- end}}
43
+ {{end}}
44
+
45
+ {{end}}
46
+ ..
47
+ end messages
48
+
49
+ {{range .Enums}}
50
+
51
+ .. _ref_{{.FullName}}:
52
+
53
+ {{.LongName}}
54
+ ------------------------------------------------------------------
55
+
56
+ {{.Description}}
57
+
58
+ .. csv-table:: Enum {{.LongName}} values
59
+ :header: "Name", "Number", "Description"
60
+ :widths: auto
61
+ {{range .Values }}
62
+ "{{.Name}}", "{{.Number}}", "{{nobr .Description}}"
63
+ {{- end}}
64
+
65
+ {{end}}
66
+ ..
67
+ end enums
68
+
69
+ {{if .HasExtensions}}
70
+
71
+ .. _ref_{{$file_name}}_extensions:
72
+
73
+ File-level Extensions
74
+ --------------------------------------------------------------------------------
75
+
76
+ .. csv-table:: {{.Name}} file-level Extensions
77
+ :header: "Extension", "Type", "Base", "Number", "Description"
78
+ :widths: auto
79
+ {{range .Extensions}}
80
+ "{{.Name}}", "{{.LongType}}", "{{.ContainingLongType}}", "{{.Number}}", "{{nobr .Description}}{{if .DefaultValue}} Default: `{{.DefaultValue}}`{{end}}"
81
+ {{- end}}
82
+ {{end}}
83
+ ..
84
+ end HasExtensions
85
+
86
+ {{range .Services}}
87
+
88
+ .. _ref_{{.FullName}}:
89
+
90
+ {{.Name}}
91
+ ------------------------------------------------------------------
92
+
93
+ {{.Description}}
94
+
95
+ .. csv-table:: {{.Name}} service methods
96
+ :header: "Method Name", "Request Type", "Response Type", "Description"
97
+ :widths: auto
98
+ {{range .Methods}}
99
+ "{{.Name}}", ":ref:`ref_{{.RequestFullType}}`{{if .RequestStreaming}} stream{{end}}", ":ref:`ref_{{.ResponseFullType}}`{{if .ResponseStreaming}} stream{{end}}", "{{nobr .Description}}"
100
+ {{- end}}
101
+ {{end}}
102
+ ..
103
+ end services
104
+
105
+ {{end}}
106
+
107
+ .. _ref_scala_types:
108
+
109
+ Scalar Value Types
110
+ ==================
111
+
112
+ {{range .Scalars}}
113
+
114
+ .. _ref_{{.ProtoType}}:
115
+
116
+ {{.ProtoType}}
117
+ -----------------------------
118
+
119
+ {{.Notes}}
120
+
121
+ .. csv-table:: {{.ProtoType}} language representation
122
+ :header: ".proto Type", "C++", "Java", "Python", "Go", "C#", "PHP", "Ruby"
123
+ :widths: auto
124
+
125
+ "{{.ProtoType}}", "{{.CppType}}", "{{.JavaType}}", "{{.PythonType}}", "{{.GoType}}", "{{.CSharp}}", "{{.PhpType}}", "{{.RubyType}}"
126
+
127
+ {{end}}
128
+ ..
129
+ end scalars