Skip to content

Commit

Permalink
imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Alzpeta committed Oct 7, 2024
1 parent ae93766 commit 7458083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oarepo_doi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
from invenio_search.engine import dsl
from marshmallow.exceptions import ValidationError
from oarepo_runtime.datastreams.utils import get_record_service_for_record

from invenio_pidstore.errors import PIDDoesNotExistError
from invenio_pidstore.models import PersistentIdentifier

def create_doi(service, record, data, event=None):
"""if event = None, doi will be created as a draft."""
Expand Down

0 comments on commit 7458083

Please sign in to comment.