From 00bf720a4eca116d2a2ec811ad4ca59c313d9e8d Mon Sep 17 00:00:00 2001 From: Shivani-gslab Date: Wed, 6 Nov 2024 12:03:13 +0530 Subject: [PATCH] Add docstring --- python-avd/pyavd/_errors/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python-avd/pyavd/_errors/__init__.py b/python-avd/pyavd/_errors/__init__.py index 0f66f880c5b..1100d3cec7f 100644 --- a/python-avd/pyavd/_errors/__init__.py +++ b/python-avd/pyavd/_errors/__init__.py @@ -90,6 +90,7 @@ def __init__( super().__init__(self.message) def to_validation_error(self) -> AvdValidationError: + """Converting AvdDeprecationWarning to AvdValidationError.""" return AvdValidationError(self.message, self.path.split("."))