From 81301357e43a7895cf5e90a91ee302ae6ab0f9a5 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 22 Jul 2022 11:46:52 -0700 Subject: [PATCH] schema update: netloc can be string or null --- docs/parsers/url.md | 6 +++--- jc/parsers/url.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/parsers/url.md b/docs/parsers/url.md index 51ea4871..1ae8bf83 100644 --- a/docs/parsers/url.md +++ b/docs/parsers/url.md @@ -33,7 +33,7 @@ Schema: { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string @@ -52,7 +52,7 @@ Schema: "encoded": { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string @@ -67,7 +67,7 @@ Schema: "decoded": { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string diff --git a/jc/parsers/url.py b/jc/parsers/url.py index f7cb120b..56c39118 100644 --- a/jc/parsers/url.py +++ b/jc/parsers/url.py @@ -28,7 +28,7 @@ Schema: { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string @@ -47,7 +47,7 @@ Schema: "encoded": { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string @@ -62,7 +62,7 @@ Schema: "decoded": { "url": string, "scheme": string, - "netloc": string, + "netloc": string or null, "path": string or null, "path_list": [ array or null string