Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-baillargeon committed Jan 20, 2025
1 parent b751f9c commit 78ee132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions anta/input_models/routing/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ class IPv4Routes(BaseModel):

model_config = ConfigDict(extra="forbid")
prefix: IPv4Network
"""The IPV4 network to validate the route type."""
"""IPv4 prefix in CIDR notation."""
vrf: str = "default"
"""VRF context. Defaults to `default` VRF."""
route_type: IPv4RouteType | None = None
"""List of IPV4 Route type to validate the valid rout type. Required field in the `VerifyIPv4RouteType` test."""
"""Expected route type. Required field in the `VerifyIPv4RouteType` test."""

def __str__(self) -> str:
"""Return a human-readable string representation of the IPv4RouteType for reporting."""
Expand Down
1 change: 0 additions & 1 deletion tests/units/input_models/routing/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# that can be found in the LICENSE file.
"""Tests for anta.input_models.routing.generic.py."""

# pylint: disable=C0302
from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down

0 comments on commit 78ee132

Please sign in to comment.