new model - Response

This commit is contained in:
2025-04-28 02:21:34 +03:00
parent e076dbf84f
commit eb43806da6
14 changed files with 158 additions and 180 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from argenta.command.flag.models import InputFlag, Flag
from argenta.command.flag.models import ValidInputFlag, Flag
class BaseInputCommandException(Exception):
@@ -20,7 +20,7 @@ class RepeatedInputFlagsException(BaseInputCommandException):
"""
Private. Raised when repeated input flags are detected
"""
def __init__(self, flag: Flag | InputFlag):
def __init__(self, flag: Flag | ValidInputFlag):
self.flag = flag
def __str__(self):
return ("Repeated Input Flags\n"