Open afuetterer opened 9 months ago
xsdata http://www.openarchives.org/OAI/2.0/oai_dc.xsd --package=src.oaipmh_scythe.models.oai_dc --include-header --max-line-length=120 --docstring-style=Google --union-type --postponed-annotations --structure-style=single-package
xsdata generate \
--config src/oaipmh_scythe/models/.xsdata.xml \
--package src.oaipmh_scythe.models.oai_dc \
http://www.openarchives.org/OAI/2.0/oai_dc.xsd
xsdata generate \
--config src/oaipmh_scythe/models/.xsdata.xml \
--package src.oaipmh_scythe.models.oai_pmh \
https://www.openarchives.org/OAI/2.0/OAI-PMH.xsd
This issue is stale because it has been open 60 days without activity. Remove 'abandoned' label or comment or this will be closed in 7 days.
Figure this out:
Record
is always part of oaipmh schemametadata
element depends on metadata format, that is used in request (oai_dc, datacite, etc.)OAIItemIterator.__iter__()
on the level of the individual record https://github.com/afuetterer/oaipmh-scythe/blob/3f471da37442ef31ac9b30f1d290b44ab2a7cda9/src/oaipmh_scythe/iterator.py#L194item.metadata
do somethingxsdata https://www.openarchives.org/OAI/2.0/OAI-PMH.xsd --package=models.oai_pmh --include-header --max-line-length=120 --docstring-style=Google --union-type --postponed-annotations --structure-style=single-package --slots --kw-only --subscriptable-types
Refs:
xsdata
schemas
htttp status code class