Skip to content

Commit

Permalink
chore: do not add implementation details
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyWood committed Sep 3, 2021
1 parent e7eb388 commit 067e5ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions changes/2447-MihanixA.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
- added `KafkaDsn` to the `pydantic/networks.py`
- added `get_default_parts` and `apply_default_parts` methods to `AnyUrl`
- `HttpUrl` now inherits `AnyHttpUrl` instead of `AnyUrl`
- add `KafkaDsn` type
- `HttpUrl` now has default port 80 for http and 443 for https
2 changes: 1 addition & 1 deletion pydantic/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def build(
if user or password:
url += '@'
url += host
if port and ('port' not in cls.hidden_parts):
if port and 'port' not in cls.hidden_parts:
url += ':' + port
if path:
url += path
Expand Down

0 comments on commit 067e5ef

Please sign in to comment.