Skip to content

Commit

Permalink
adding TLD corrections to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed Jun 10, 2024
1 parent 8333bd5 commit 70a8c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydantic/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __hash__(self) -> int:
HttpUrl = Annotated[Url, UrlConstraints(max_length=2083, allowed_schemes=['http', 'https'])]
"""A type that will accept any http or https URL.
* TLD required
* TLD not required
* Host required
* Max length 2083
Expand Down Expand Up @@ -197,7 +197,7 @@ class MyModel(BaseModel):
WebsocketUrl = Annotated[Url, UrlConstraints(max_length=2083, allowed_schemes=['ws', 'wss'])]
"""A type that will accept any ws or wss URL.
* TLD required
* TLD not required
* Host required
* Max length 2083
"""
Expand Down

0 comments on commit 70a8c9a

Please sign in to comment.