mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 21:28:42 +02:00
Fix TypeError: SimpleFlag.__init__() got an unexpected keyword argument '_apiurl'
This commit is contained in:
@@ -5,8 +5,8 @@ class SimpleFlag(XmlModel):
|
||||
XML_TAG = None
|
||||
XML_TAG_FIELD = "flag"
|
||||
|
||||
def __init__(self, flag):
|
||||
super().__init__(flag=flag)
|
||||
def __init__(self, flag, **kwargs):
|
||||
super().__init__(flag=flag, **kwargs)
|
||||
|
||||
class SimpleFlagChoices(Enum):
|
||||
ENABLE = "enable"
|
||||
|
Reference in New Issue
Block a user