1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Merge pull request #1546 from dmach/keyinfo-fix-empty-project

Fix obs_api.Keyinfo by making 'project' field optional
This commit is contained in:
Daniel Mach 2024-04-23 15:50:13 +02:00 committed by GitHub
commit 8b6908103a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ from .keyinfo_sslcert import KeyinfoSslcert
class Keyinfo(XmlModel): class Keyinfo(XmlModel):
XML_TAG = "keyinfo" XML_TAG = "keyinfo"
project: str = Field( project: Optional[str] = Field(
xml_attribute=True, xml_attribute=True,
description=textwrap.dedent( description=textwrap.dedent(
""" """