def export_view(): """Get export view""" if getattr(settings, "GAPI_CLIENT_ID", None): authorize = verify_credentials() if authorize: return authorize return render_template("import_export/export.haml")