mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 18:22:12 +01:00
Make 'title' and 'description' fields optional in the Package model
The fields were made optional because scmsync packages don't provide them
This commit is contained in:
parent
797793fe4e
commit
0765997028
@ -20,9 +20,9 @@ class Package(XmlModel):
|
||||
xml_attribute=True,
|
||||
)
|
||||
|
||||
title: str = Field()
|
||||
title: Optional[str] = Field()
|
||||
|
||||
description: str = Field()
|
||||
description: Optional[str] = Field()
|
||||
|
||||
devel: Optional[PackageDevel] = Field()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user