From ba8a9dc25306eb7d9c1294bc131e4521605678c2 Mon Sep 17 00:00:00 2001 From: vincent d warmerdam Date: Sun, 26 Feb 2023 10:41:00 +0100 Subject: [PATCH 1/3] Missing jsonl import --- srsly/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsly/__init__.py b/srsly/__init__.py index 245286b..eaf2ce5 100644 --- a/srsly/__init__.py +++ b/srsly/__init__.py @@ -1,4 +1,4 @@ -from ._json_api import read_json, read_gzip_json, write_json, write_gzip_json +from ._json_api import read_json, read_gzip_json, write_json, write_gzip_json, write_gzip_jsonl from ._json_api import read_jsonl, write_jsonl from ._json_api import json_dumps, json_loads, is_json_serializable from ._msgpack_api import read_msgpack, write_msgpack, msgpack_dumps, msgpack_loads From de7d72bc460bee3f90949faf76c80bd225b7dd22 Mon Sep 17 00:00:00 2001 From: vincent d warmerdam Date: Mon, 27 Feb 2023 11:19:01 +0000 Subject: [PATCH 2/3] formatted-with-black --- srsly/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srsly/__init__.py b/srsly/__init__.py index eaf2ce5..fc4dc38 100644 --- a/srsly/__init__.py +++ b/srsly/__init__.py @@ -1,4 +1,10 @@ -from ._json_api import read_json, read_gzip_json, write_json, write_gzip_json, write_gzip_jsonl +from ._json_api import ( + read_json, + read_gzip_json, + write_json, + write_gzip_json, + write_gzip_jsonl, +) from ._json_api import read_jsonl, write_jsonl from ._json_api import json_dumps, json_loads, is_json_serializable from ._msgpack_api import read_msgpack, write_msgpack, msgpack_dumps, msgpack_loads From e78afd1ff253daf27495009de554b55c685d7d06 Mon Sep 17 00:00:00 2001 From: vincent d warmerdam Date: Tue, 28 Feb 2023 10:55:51 +0100 Subject: [PATCH 3/3] Update srsly/__init__.py Co-authored-by: Adriane Boyd --- srsly/__init__.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/srsly/__init__.py b/srsly/__init__.py index fc4dc38..0c94d82 100644 --- a/srsly/__init__.py +++ b/srsly/__init__.py @@ -1,10 +1,5 @@ -from ._json_api import ( - read_json, - read_gzip_json, - write_json, - write_gzip_json, - write_gzip_jsonl, -) +from ._json_api import read_json, read_gzip_json, write_json, write_gzip_json +from ._json_api import read_gzip_jsonl, write_gzip_jsonl from ._json_api import read_jsonl, write_jsonl from ._json_api import json_dumps, json_loads, is_json_serializable from ._msgpack_api import read_msgpack, write_msgpack, msgpack_dumps, msgpack_loads