Skip to content

Commit 311303d

Browse files
authored
add docs for branches and conditionals (#155)
* add docs for branches and conditionals * update api docs * high-res version of dag pics
1 parent 93d2c69 commit 311303d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1367
-1193
lines changed

docs/api/S3.ipynb

Lines changed: 186 additions & 186 deletions
Large diffs are not rendered by default.

docs/api/S3.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
1515
## The `S3` client
1616

1717

18-
<DocSection type="class" name="S3" module="metaflow" show_import="True" heading_level="3" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L452">
18+
<DocSection type="class" name="S3" module="metaflow" show_import="True" heading_level="3" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L458">
1919
<SigArgSection>
2020
<SigArg name="tmproot='.', bucket=None, prefix=None, run=None, s3root=None" />
2121
</SigArgSection>
@@ -31,7 +31,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
3131

3232

3333

34-
<DocSection type="method" name="S3.close" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L582">
34+
<DocSection type="method" name="S3.close" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L590">
3535
<SigArgSection>
3636
<SigArg name="self" />
3737
</SigArgSection>
@@ -43,7 +43,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
4343
## Downloading data
4444

4545

46-
<DocSection type="method" name="S3.get" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L859">
46+
<DocSection type="method" name="S3.get" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L871">
4747
<SigArgSection>
4848
<SigArg name="self" /><SigArg name="key" type="Union" default="None" /><SigArg name="return_missing" type="bool" default="False" /><SigArg name="return_info" type="bool" default="True" />
4949
</SigArgSection>
@@ -60,7 +60,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
6060

6161

6262

63-
<DocSection type="method" name="S3.get_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L964">
63+
<DocSection type="method" name="S3.get_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L978">
6464
<SigArgSection>
6565
<SigArg name="self" /><SigArg name="keys" type="Iterable" /><SigArg name="return_missing" type="bool" default="False" /><SigArg name="return_info" type="bool" default="True" />
6666
</SigArgSection>
@@ -77,7 +77,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
7777

7878

7979

80-
<DocSection type="method" name="S3.get_recursive" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1039">
80+
<DocSection type="method" name="S3.get_recursive" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1053">
8181
<SigArgSection>
8282
<SigArg name="self" /><SigArg name="keys" type="Iterable" /><SigArg name="return_info" type="bool" default="False" />
8383
</SigArgSection>
@@ -93,7 +93,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
9393

9494

9595

96-
<DocSection type="method" name="S3.get_all" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1095">
96+
<DocSection type="method" name="S3.get_all" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1109">
9797
<SigArgSection>
9898
<SigArg name="self" /><SigArg name="return_info" type="bool" default="False" />
9999
</SigArgSection>
@@ -110,7 +110,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
110110
## Listing objects
111111

112112

113-
<DocSection type="method" name="S3.list_paths" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L647">
113+
<DocSection type="method" name="S3.list_paths" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L657">
114114
<SigArgSection>
115115
<SigArg name="self" /><SigArg name="keys" type="Optional" default="None" />
116116
</SigArgSection>
@@ -125,7 +125,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
125125

126126

127127

128-
<DocSection type="method" name="S3.list_recursive" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L697">
128+
<DocSection type="method" name="S3.list_recursive" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L707">
129129
<SigArgSection>
130130
<SigArg name="self" /><SigArg name="keys" type="Optional" default="None" />
131131
</SigArgSection>
@@ -142,7 +142,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
142142
## Uploading data
143143

144144

145-
<DocSection type="method" name="S3.put" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1121">
145+
<DocSection type="method" name="S3.put" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1135">
146146
<SigArgSection>
147147
<SigArg name="self" /><SigArg name="key" type="Union" /><SigArg name="obj" type="Union" /><SigArg name="overwrite" type="bool" default="True" /><SigArg name="content_type" type="Optional" default="None" /><SigArg name="metadata" type="Optional" default="None" />
148148
</SigArgSection>
@@ -161,7 +161,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
161161

162162

163163

164-
<DocSection type="method" name="S3.put_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1216">
164+
<DocSection type="method" name="S3.put_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1232">
165165
<SigArgSection>
166166
<SigArg name="self" /><SigArg name="key_objs" type="List" /><SigArg name="overwrite" type="bool" default="True" />
167167
</SigArgSection>
@@ -177,7 +177,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
177177

178178

179179

180-
<DocSection type="method" name="S3.put_files" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1290">
180+
<DocSection type="method" name="S3.put_files" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L1306">
181181
<SigArgSection>
182182
<SigArg name="self" /><SigArg name="key_paths" type="List" /><SigArg name="overwrite" type="bool" default="True" />
183183
</SigArgSection>
@@ -195,7 +195,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
195195
## Querying metadata
196196

197197

198-
<DocSection type="method" name="S3.info" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L743">
198+
<DocSection type="method" name="S3.info" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L753">
199199
<SigArgSection>
200200
<SigArg name="self" /><SigArg name="key" type="Optional" default="None" /><SigArg name="return_missing" type="bool" default="False" />
201201
</SigArgSection>
@@ -211,7 +211,7 @@ For instructions how to use the class, see [Loading and Storing Data](/scaling/d
211211

212212

213213

214-
<DocSection type="method" name="S3.info_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L799">
214+
<DocSection type="method" name="S3.info_many" module="metaflow" show_import="False" heading_level="4" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L811">
215215
<SigArgSection>
216216
<SigArg name="self" /><SigArg name="keys" type="Iterable" /><SigArg name="return_missing" type="bool" default="False" />
217217
</SigArgSection>
@@ -233,7 +233,7 @@ Most operations above return `S3Object`s that encapsulate information about S3 p
233233
Note that the data itself is not kept in these objects but it is stored in a temporary directory which is accessible through the properties of this object.
234234

235235

236-
<DocSection type="class" name="S3Object" module="metaflow" show_import="False" heading_level="3" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L139">
236+
<DocSection type="class" name="S3Object" module="metaflow" show_import="False" heading_level="3" link="https://github.com/Netflix/metaflow/tree/master/metaflow/plugins/datatools/s3/s3.py#L145">
237237
<SigArgSection>
238238
<SigArg name="" />
239239
</SigArgSection>

docs/api/argoevent.ipynb

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"id": "623be2bc",
2222
"metadata": {
2323
"execution": {
24-
"iopub.execute_input": "2024-07-25T06:16:57.861281Z",
25-
"iopub.status.busy": "2024-07-25T06:16:57.861167Z",
26-
"iopub.status.idle": "2024-07-25T06:16:58.142243Z",
27-
"shell.execute_reply": "2024-07-25T06:16:58.141916Z"
24+
"iopub.execute_input": "2025-08-30T21:15:35.980208Z",
25+
"iopub.status.busy": "2025-08-30T21:15:35.980109Z",
26+
"iopub.status.idle": "2025-08-30T21:15:36.215677Z",
27+
"shell.execute_reply": "2025-08-30T21:15:36.215432Z"
2828
}
2929
},
3030
"outputs": [],
@@ -43,10 +43,10 @@
4343
"id": "1bf3f08e",
4444
"metadata": {
4545
"execution": {
46-
"iopub.execute_input": "2024-07-25T06:16:58.144720Z",
47-
"iopub.status.busy": "2024-07-25T06:16:58.144574Z",
48-
"iopub.status.idle": "2024-07-25T06:16:58.150537Z",
49-
"shell.execute_reply": "2024-07-25T06:16:58.150220Z"
46+
"iopub.execute_input": "2025-08-30T21:15:36.217828Z",
47+
"iopub.status.busy": "2025-08-30T21:15:36.217681Z",
48+
"iopub.status.idle": "2025-08-30T21:15:36.223338Z",
49+
"shell.execute_reply": "2025-08-30T21:15:36.223136Z"
5050
}
5151
},
5252
"outputs": [
@@ -69,7 +69,7 @@
6969
"</DocSection>"
7070
],
7171
"text/plain": [
72-
"<nbdoc.showdoc.ShowDoc at 0x11320a350>"
72+
"<nbdoc.showdoc.ShowDoc at 0x1079011d0>"
7373
]
7474
},
7575
"execution_count": 2,
@@ -87,10 +87,10 @@
8787
"id": "380eb9ac",
8888
"metadata": {
8989
"execution": {
90-
"iopub.execute_input": "2024-07-25T06:16:58.152753Z",
91-
"iopub.status.busy": "2024-07-25T06:16:58.152639Z",
92-
"iopub.status.idle": "2024-07-25T06:16:58.155420Z",
93-
"shell.execute_reply": "2024-07-25T06:16:58.155095Z"
90+
"iopub.execute_input": "2025-08-30T21:15:36.225225Z",
91+
"iopub.status.busy": "2025-08-30T21:15:36.225147Z",
92+
"iopub.status.idle": "2025-08-30T21:15:36.227365Z",
93+
"shell.execute_reply": "2025-08-30T21:15:36.227159Z"
9494
}
9595
},
9696
"outputs": [
@@ -112,7 +112,7 @@
112112
"</DocSection>"
113113
],
114114
"text/plain": [
115-
"<nbdoc.showdoc.ShowDoc at 0x113233dd0>"
115+
"<nbdoc.showdoc.ShowDoc at 0x107107b50>"
116116
]
117117
},
118118
"execution_count": 3,
@@ -130,10 +130,10 @@
130130
"id": "31916bae",
131131
"metadata": {
132132
"execution": {
133-
"iopub.execute_input": "2024-07-25T06:16:58.157788Z",
134-
"iopub.status.busy": "2024-07-25T06:16:58.157687Z",
135-
"iopub.status.idle": "2024-07-25T06:16:58.160981Z",
136-
"shell.execute_reply": "2024-07-25T06:16:58.160604Z"
133+
"iopub.execute_input": "2025-08-30T21:15:36.229396Z",
134+
"iopub.status.busy": "2025-08-30T21:15:36.229326Z",
135+
"iopub.status.idle": "2025-08-30T21:15:36.231974Z",
136+
"shell.execute_reply": "2025-08-30T21:15:36.231765Z"
137137
}
138138
},
139139
"outputs": [
@@ -155,7 +155,7 @@
155155
"</DocSection>"
156156
],
157157
"text/plain": [
158-
"<nbdoc.showdoc.ShowDoc at 0x110e321d0>"
158+
"<nbdoc.showdoc.ShowDoc at 0x107903550>"
159159
]
160160
},
161161
"execution_count": 4,
@@ -173,10 +173,10 @@
173173
"id": "305678d7",
174174
"metadata": {
175175
"execution": {
176-
"iopub.execute_input": "2024-07-25T06:16:58.163921Z",
177-
"iopub.status.busy": "2024-07-25T06:16:58.163779Z",
178-
"iopub.status.idle": "2024-07-25T06:16:58.166454Z",
179-
"shell.execute_reply": "2024-07-25T06:16:58.166148Z"
176+
"iopub.execute_input": "2025-08-30T21:15:36.234080Z",
177+
"iopub.status.busy": "2025-08-30T21:15:36.233990Z",
178+
"iopub.status.idle": "2025-08-30T21:15:36.236173Z",
179+
"shell.execute_reply": "2025-08-30T21:15:36.235982Z"
180180
}
181181
},
182182
"outputs": [
@@ -198,7 +198,7 @@
198198
"</DocSection>"
199199
],
200200
"text/plain": [
201-
"<nbdoc.showdoc.ShowDoc at 0x113231a10>"
201+
"<nbdoc.showdoc.ShowDoc at 0x107901a10>"
202202
]
203203
},
204204
"execution_count": 5,

0 commit comments

Comments
 (0)