From c220369c2d864a5e504bd33596ef2cc356968544 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Wed, 27 Sep 2023 19:33:59 -0700 Subject: [PATCH] Export the wrap function --- src/aiofiles/__init__.py | 2 ++ src/aiofiles/threadpool/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/src/aiofiles/__init__.py b/src/aiofiles/__init__.py index 9e75111..2cbece6 100644 --- a/src/aiofiles/__init__.py +++ b/src/aiofiles/__init__.py @@ -7,6 +7,7 @@ stdin_bytes, stdout_bytes, stderr_bytes, + wrap, ) from . import tempfile @@ -19,4 +20,5 @@ "stdin_bytes", "stdout_bytes", "stderr_bytes", + "wrap", ] diff --git a/src/aiofiles/threadpool/__init__.py b/src/aiofiles/threadpool/__init__.py index a1cc673..e7313a4 100644 --- a/src/aiofiles/threadpool/__init__.py +++ b/src/aiofiles/threadpool/__init__.py @@ -31,6 +31,7 @@ "stdin_bytes", "stdout_bytes", "stderr_bytes", + "wrap", )