1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-22 02:02:11 +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:
Daniel Mach 2024-11-28 13:32:31 +01:00
parent 797793fe4e
commit 0765997028

View File

@ -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()