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:
commit
8b6908103a
@ -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(
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user