1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-22 14:38:53 +02:00

Add XML models for Project and Package

This commit is contained in:
2024-02-12 15:13:02 +01:00
parent e5774a5730
commit 0dd1f526d8
20 changed files with 665 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from ..util.models import * # pylint: disable=wildcard-import,unused-wildcard-import
class RepositoryPath(XmlModel):
XML_TAG = "path"
project: str = Field(
xml_attribute=True,
)
repository: str = Field(
xml_attribute=True,
)