Skip to content

Commit

Permalink
modification: pretty export records
Browse files Browse the repository at this point in the history
  • Loading branch information
philippgualdi committed Mar 1, 2024
1 parent bbb473a commit 78fed07
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions invenio_records_marc21/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,24 +104,20 @@
"serializer": (
"invenio_records_marc21.resources.serializers:" "Marc21JSONSerializer"
),
"params": {"options": {"indent": 4, "sort_keys": True}},
"filename": "{id}.json",
},
"marcxml": {
"name": "MARCXML",
"serializer": (
"invenio_records_marc21.resources.serializers:" "Marc21XMLSerializer"
),
"params": {},
"filename": "{id}.xml",
},
}
"""Marc21 Record export serializers."""

MARC21_RECORD_EXPORTER_OPTIONS = {
"indent": 4,
"sort_keys": True,
}
"""Marc21 Record export options."""

MARC21_UI_ENDPOINTS = {
"record-detail": "/<pid_value>",
"record-export": "/<pid_value>/export/<export_format>",
Expand Down

0 comments on commit 78fed07

Please sign in to comment.