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:
13
osc/obs_api/repository_path.py
Normal file
13
osc/obs_api/repository_path.py
Normal 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,
|
||||
)
|
Reference in New Issue
Block a user