mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
refactor, new model e.t.c.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from argenta.command.flag.entity import Flag
|
||||
from argenta.command.flag.input_flag.entity import InputFlag
|
||||
from argenta.command.flag.registered_flag.entity import Flag
|
||||
|
||||
|
||||
class UnprocessedInputFlagException(Exception):
|
||||
@@ -7,7 +8,7 @@ class UnprocessedInputFlagException(Exception):
|
||||
|
||||
|
||||
class RepeatedInputFlagsException(Exception):
|
||||
def __init__(self, flag: Flag):
|
||||
def __init__(self, flag: Flag | InputFlag):
|
||||
self.flag = flag
|
||||
def __str__(self):
|
||||
return ("Repeated Input Flags\n"
|
||||
|
||||
Reference in New Issue
Block a user