Commit 7601f913 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix imports for resources

parent f42be38b
Pipeline #33419 passed with stages
in 1 minute and 36 seconds
from flask_restful import Resource, request
from import_api_app.resources.DeleteService import DeleteService
from import_api_app.resources import DeleteService
class DeleteInstitution(Resource):
......
from flask_restful import Resource, request
from import_api_app.resources.DeleteService import DeleteService
from import_api_app.resources import DeleteService
class DeleteRecord(Resource):
......
from flask_restful import Resource, request
from import_api_app.resources.DeleteService import DeleteService
from import_api_app.resources import DeleteService
class DeleteRecordset(Resource):
......
......@@ -5,7 +5,7 @@ from flasgger import swag_from
from flask_restful import Resource, reqparse, current_app
from import_api_app.helm import Helm
from import_api_app.resources.FetchMappingFile import FetchMappingFile
from import_api_app.resources import FetchMappingFile
class ImportProcessStart(Resource):
......
......@@ -11,10 +11,16 @@ from kubernetes.config import ConfigException
from import_api_app.app import app
from import_api_app.helpers.error import ImportApiError
from import_api_app.resources import ImportProcessStart, ClearCache, DeleteInstitution, \
DeleteRecordset, DeleteRecord, UpdateRecordSet, UpdateInstitution, WriteTypeReportToDrupal, \
FetchMappingFile
from import_api_app.resources.WriteJobResultsToDrupal import WriteJobResultToDrupal
from import_api_app.resources.clear_cache import ClearCache
from import_api_app.resources.delete_institution import DeleteInstitution
from import_api_app.resources.delete_record import DeleteRecord
from import_api_app.resources.delete_recordset import DeleteRecordset
from import_api_app.resources.fetch_mapping_file import FetchMappingFile
from import_api_app.resources.import_process_start import ImportProcessStart
from import_api_app.resources.update_institution import UpdateInstitution
from import_api_app.resources.update_record_set import UpdateRecordSet
from import_api_app.resources.write_documents_reports import WriteJobResultToDrupal
from import_api_app.resources.write_groups_reports import WriteTypeReportToDrupal
try:
# to be used when inside a kubernetes cluster
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment