| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0b02b95 commit 9c5b8d5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -289,6 +289,14 @@ generated by GitLab you need to: | |||
| 289 | 289 | with open('/tmp/export.tgz', 'wb') as f: | |
| 290 | 290 | export.download(streamed=True, action=f.write) | |
| 291 | 291 | ||
| 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 | + | ||
| 292 | 300 | Import the project into the current user's namespace:: | |
| 293 | 301 | ||
| 294 | 302 | with open('/tmp/export.tgz', 'rb') as f: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments