Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Nov 6, 2024
1 parent cc4b7b0 commit 6cf77ed
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 6cf77ed

Please sign in to comment.