mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Fix documentation for IPvAny* schema mappings (#433)
I think this was just a typo and these schemas support both IPv4 and IPv*6*.
This commit is contained in:
committed by
Samuel Colvin
parent
cd39ade9ec
commit
8e0bfa37ce
@@ -245,21 +245,21 @@ table = [
|
||||
'string',
|
||||
'{"format": "ipvanyaddress"}',
|
||||
'Pydantic standard "format" extension',
|
||||
'IPv4 or IPv4 address as used in ``ipaddress`` module',
|
||||
'IPv4 or IPv6 address as used in ``ipaddress`` module',
|
||||
],
|
||||
[
|
||||
'IPvAnyInterface',
|
||||
'string',
|
||||
'{"format": "ipvanyinterface"}',
|
||||
'Pydantic standard "format" extension',
|
||||
'IPv4 or IPv4 interface as used in ``ipaddress`` module',
|
||||
'IPv4 or IPv6 interface as used in ``ipaddress`` module',
|
||||
],
|
||||
[
|
||||
'IPvAnyNetwork',
|
||||
'string',
|
||||
'{"format": "ipvanynetwork"}',
|
||||
'Pydantic standard "format" extension',
|
||||
'IPv4 or IPv4 network as used in ``ipaddress`` module',
|
||||
'IPv4 or IPv6 network as used in ``ipaddress`` module',
|
||||
],
|
||||
[
|
||||
'StrictStr',
|
||||
|
||||
Reference in New Issue
Block a user