Skip to content

Commit

Permalink
feat!: add xsdata models
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Jan 25, 2024
1 parent d1606ab commit a8a6e6e
Show file tree
Hide file tree
Showing 5 changed files with 311 additions and 340 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dynamic = [
"version",
]
dependencies = [
"httpx>=0.25",
"lxml>=5.1",
"httpx>=0.26",
"xsdata[cli,lxml]", # TODO remove cli, when done here
]
[project.optional-dependencies]
dev = [
Expand Down
280 changes: 0 additions & 280 deletions src/oaipmh_scythe/models.py

This file was deleted.

48 changes: 48 additions & 0 deletions src/oaipmh_scythe/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
"""This file was generated by xsdata, v24.1, on 2024-01-25 13:49:22
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from src.oaipmh_scythe.models.oai_dc import (
Contributor,
Coverage,
Creator,
Date,
Dc,
Description,
ElementType,
Format,
Identifier,
Language,
LangValue,
OaiDcType,
Publisher,
Relation,
Rights,
Source,
Subject,
Title,
TypeType,
)

__all__ = [
"Contributor",
"Coverage",
"Creator",
"Date",
"Dc",
"Description",
"ElementType",
"Format",
"Identifier",
"LangValue",
"Language",
"OaiDcType",
"Publisher",
"Relation",
"Rights",
"Source",
"Subject",
"Title",
"TypeType",
]
Loading

0 comments on commit a8a6e6e

Please sign in to comment.