Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab authored and Vibhu-gslab committed Nov 6, 2024
1 parent e3ffe01 commit 00bf720
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python-avd/pyavd/_errors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("."))


Expand Down

0 comments on commit 00bf720

Please sign in to comment.