Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c5b8d5

Browse files
nejchJohnVillalovos
authored andcommitted
docs: describe fetching existing export status
1 parent0b02b95 commit9c5b8d5

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)

[8]ページ先頭

©2009-2025 Movatter.jp