From dbb3956a09c0bd28608a64b64cc1c4e5f7d05bf5 Mon Sep 17 00:00:00 2001 From: Shivani-gslab <145646625+Shivani-gslab@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:12:45 +0530 Subject: [PATCH] Apply suggestion Co-authored-by: Claus Holbech --- python-avd/pyavd/_errors/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-avd/pyavd/_errors/__init__.py b/python-avd/pyavd/_errors/__init__.py index 5edb7341190..ef02a2dd3e6 100644 --- a/python-avd/pyavd/_errors/__init__.py +++ b/python-avd/pyavd/_errors/__init__.py @@ -91,7 +91,7 @@ def __init__( def _as_validation_error(self) -> AvdValidationError: """Converting AvdDeprecationWarning to AvdValidationError.""" - return AvdValidationError(self.message, self.path.split(".")) + return AvdValidationError(message=self.message, path=self.path.split(".")) class AristaAvdDuplicateDataError(AristaAvdError):