From d64372737a80c70cdcf265a24655a2fd9c43ea85 Mon Sep 17 00:00:00 2001 From: Philipp Gualdi Date: Tue, 9 Jul 2024 09:05:42 +0200 Subject: [PATCH] style: improve codequality --- invenio_records_marc21/records/api.py | 1 - invenio_records_marc21/services/config.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/invenio_records_marc21/records/api.py b/invenio_records_marc21/records/api.py index a9d4b830..1b4d491e 100644 --- a/invenio_records_marc21/records/api.py +++ b/invenio_records_marc21/records/api.py @@ -16,7 +16,6 @@ from invenio_drafts_resources.records.api import ParentRecord as BaseParentRecord from invenio_drafts_resources.records.systemfields import ParentField from invenio_pidstore.models import PIDStatus -from invenio_rdm_records.records.dumpers import StatisticsDumperExt from invenio_rdm_records.records.systemfields import ( HasDraftCheckField, ParentRecordAccessField, diff --git a/invenio_records_marc21/services/config.py b/invenio_records_marc21/services/config.py index d89a4740..1debaf95 100644 --- a/invenio_records_marc21/services/config.py +++ b/invenio_records_marc21/services/config.py @@ -92,9 +92,6 @@ class Marc21RecordServiceConfig(RecordServiceConfig, ConfiguratorMixin): schema_secret_link = None review = None - # Permission policy - default_files_enabled = FromConfig("RDM_DEFAULT_FILES_ENABLED", default=True) - permission_policy_cls = FromConfig( "MARC21_PERMISSION_POLICY", default=Marc21RecordPermissionPolicy,