diff --git a/rero_ils/modules/api.py b/rero_ils/modules/api.py index 04a82fa755..6beab3fc0a 100644 --- a/rero_ils/modules/api.py +++ b/rero_ils/modules/api.py @@ -34,7 +34,6 @@ from invenio_indexer.signals import before_record_index from invenio_indexer.utils import _es7_expand_action from invenio_pidstore.errors import PIDDoesNotExistError -from invenio_pidstore.ext import pid_exists from invenio_pidstore.models import PersistentIdentifier, PIDStatus from invenio_records.api import Record from invenio_records_rest.utils import obj_or_import_string diff --git a/rero_ils/modules/items/api/circulation.py b/rero_ils/modules/items/api/circulation.py index b492374f07..c116101636 100644 --- a/rero_ils/modules/items/api/circulation.py +++ b/rero_ils/modules/items/api/circulation.py @@ -22,12 +22,11 @@ from flask import current_app from invenio_circulation.api import get_loan_for_item -from invenio_circulation.search.api import search_by_patron_item_or_document - from invenio_circulation.errors import MissingRequiredParameterError, \ NoValidTransitionAvailableError from invenio_circulation.proxies import current_circulation -from invenio_circulation.search.api import search_by_pid +from invenio_circulation.search.api import search_by_patron_item_or_document, \ + search_by_pid from invenio_i18n.ext import current_i18n from invenio_records_rest.utils import obj_or_import_string from invenio_search import current_search