Skip to content

Commit

Permalink
openaire: fixed relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo committed Sep 18, 2023
1 parent 6639000 commit ca20756
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions site/zenodo_rdm/openaire/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2023 CERN.
#
# Zenodo-RDM is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""OpenAIRE module."""
2 changes: 1 addition & 1 deletion site/zenodo_rdm/openaire/serializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from flask_resources import BaseListSchema, JSONSerializer
from flask_resources.serializers import MarshmallowSerializer

from .schema import OpenAIRESchema
from zenodo_rdm.openaire.serializers.schema import OpenAIRESchema


class OpenAIREV1Serializer(MarshmallowSerializer):
Expand Down
2 changes: 1 addition & 1 deletion site/zenodo_rdm/openaire/serializers/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from marshmallow import Schema, fields, missing, pre_dump
from marshmallow_utils.fields import ISODateString

from ..utils import (
from zenodo_rdm.openaire.utils import (
get_resource_type_vocabulary,
openaire_datasource_id,
openaire_original_id,
Expand Down

0 comments on commit ca20756

Please sign in to comment.