(export)
| 56 | |
| 57 | |
| 58 | def is_export_completed(export): |
| 59 | log = regular_log.default() |
| 60 | # Context of exposing this in SDK, and |
| 61 | # it failing if the export is not ready |
| 62 | # note it's "complete" and not "success" |
| 63 | if export.status != "complete": |
| 64 | log['error']['export'] = "Export not ready yet." |
| 65 | log['export'] = export.serialize() |
| 66 | return log |
| 67 | return log |
| 68 | |
| 69 | |
| 70 | def check_export_permissions_and_status(export, project_string_id, session): |
no test coverage detected