python-filewrap 0.2.8__tar.gz → 0.2.8.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/PKG-INFO +1 -1
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/filewrap/__init__.py +3 -3
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/pyproject.toml +1 -1
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/LICENSE +0 -0
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/filewrap/py.typed +0 -0
- {python_filewrap-0.2.8 → python_filewrap-0.2.8.1}/readme.md +0 -0
|
@@ -11,7 +11,7 @@ __all__ = [
|
|
|
11
11
|
"bytes_iter_to_reader", "bytes_iter_to_async_reader", "bytes_to_chunk_iter",
|
|
12
12
|
"bytes_to_chunk_async_iter", "bytes_ensure_part_iter", "bytes_ensure_part_async_iter",
|
|
13
13
|
"progress_bytes_iter", "progress_bytes_async_iter", "copyfileobj", "copyfileobj_async",
|
|
14
|
-
"
|
|
14
|
+
"bound_bytes_reader", "bound_async_bytes_reader",
|
|
15
15
|
]
|
|
16
16
|
|
|
17
17
|
from asyncio import Lock as AsyncLock
|
|
@@ -1765,7 +1765,7 @@ async def copyfileobj_async(
|
|
|
1765
1765
|
await fdst_write(chunk)
|
|
1766
1766
|
|
|
1767
1767
|
|
|
1768
|
-
def
|
|
1768
|
+
def bound_bytes_reader(
|
|
1769
1769
|
file: SupportsRead[Buffer],
|
|
1770
1770
|
size: int = -1,
|
|
1771
1771
|
) -> SupportsRead[Buffer]:
|
|
@@ -1799,7 +1799,7 @@ def bound_bufferd_reader(
|
|
|
1799
1799
|
return Reader()
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
|
-
def
|
|
1802
|
+
def bound_async_bytes_reader(
|
|
1803
1803
|
file: SupportsRead[Buffer] | SupportsRead[Awaitable[Buffer]],
|
|
1804
1804
|
size: int = -1,
|
|
1805
1805
|
) -> SupportsRead[Awaitable[Buffer]]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|