IpAddress#

type gafaelfawr.types.IpAddress = Annotated[str, pydantic.functional_validators.BeforeValidator(func=gafaelfawr.types._normalize_ip_address, json_schema_input_type=PydanticUndefined)]#

Type for an IP address.

Used instead of pydantic.networks.IPvAnyAddress because most of Gafaelfawr deals with IP addresses as strings and the type conversion is tedious and serves no real purpose.