explosion / srsly

🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
MIT License
435 stars 31 forks source link

Missing jsonl import #85

Closed koaning closed 1 year ago

koaning commented 1 year ago

I noticed the docs mentioned write_gzip_jsonl but I wasn't able to import it.

Then I noticed that it was implemented but missing from __init__.py. Hence a PR.

adrianeboyd commented 1 year ago

Ah, good catch! Can you also add the parallel read method import?

koaning commented 1 year ago

I just ran black against it, but couldn't find a parallel read method. Also tried CMD + SHIFT + F against the entire project and could only find "parallel" being used in the azure pipelines file.

adrianeboyd commented 1 year ago

Thanks!