Skip to content

Commit 9c5b8d5

Browse files
nejchJohnVillalovos
authored andcommitted
docs: describe fetching existing export status
1 parent 0b02b95 commit 9c5b8d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/gl_objects/projects.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,14 @@ generated by GitLab you need to:
289289
with open('/tmp/export.tgz', 'wb') as f:
290290
export.download(streamed=True, action=f.write)
291291

292+
You can also get the status of an existing export, regardless of
293+
whether it was created via the API or the Web UI::
294+
295+
project = gl.projects.get(my_project)
296+
297+
# Gets the current export status
298+
export = project.exports.get()
299+
292300
Import the project into the current user's namespace::
293301

294302
with open('/tmp/export.tgz', 'rb') as f:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy