mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-28 00:58:52 +02:00
Make obs_api.KeyinfoSslcert keyid and fingerprint fields optional
This commit is contained in:
@@ -4,7 +4,7 @@ from ..util.models import * # pylint: disable=wildcard-import,unused-wildcard-i
|
||||
class KeyinfoSslcert(XmlModel):
|
||||
XML_TAG = "sslcert"
|
||||
|
||||
keyid: str = Field(
|
||||
keyid: Optional[str] = Field(
|
||||
xml_attribute=True,
|
||||
)
|
||||
|
||||
@@ -36,7 +36,7 @@ class KeyinfoSslcert(XmlModel):
|
||||
xml_attribute=True,
|
||||
)
|
||||
|
||||
fingerprint: str = Field(
|
||||
fingerprint: Optional[str] = Field(
|
||||
xml_attribute=True,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user