We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd7ee6f8 commitaf3eb0bCopy full SHA for af3eb0b
docs/gl_objects/pipelines_and_jobs.rst
@@ -274,12 +274,13 @@ You can also directly stream the output into a file, and unzip it afterwards::
274
subprocess.run(["unzip", "-bo", zipfn])
275
os.unlink(zipfn)
276
277
-It isalsopossible touse the underlying iterator directly::
+Or, you canalso use the underlying response iterator directly::
278
279
artifact_bytes_iterator = build_or_job.artifacts(streamed=True, action='iterator')
280
281
-This can be used with FastAPI/Starlette StreamingResponse to forward a download from gitlab without having to download
282
-the entire file server side first::
+This can be used with frameworks that expect an iterator (such as FastAPI/Starlette's
+``StreamingResponse``) to forward a download from GitLab without having to download
283
+the entire content server-side first::
284
285
@app.get("/download_artifact")
286
def download_artifact():