chunkr-ai 0.0.30__py3-none-any.whl → 0.0.31__py3-none-any.whl
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.
- chunkr_ai/api/misc.py +1 -1
- {chunkr_ai-0.0.30.dist-info → chunkr_ai-0.0.31.dist-info}/METADATA +1 -1
- {chunkr_ai-0.0.30.dist-info → chunkr_ai-0.0.31.dist-info}/RECORD +6 -6
- {chunkr_ai-0.0.30.dist-info → chunkr_ai-0.0.31.dist-info}/LICENSE +0 -0
- {chunkr_ai-0.0.30.dist-info → chunkr_ai-0.0.31.dist-info}/WHEEL +0 -0
- {chunkr_ai-0.0.30.dist-info → chunkr_ai-0.0.31.dist-info}/top_level.txt +0 -0
chunkr_ai/api/misc.py
CHANGED
@@ -32,7 +32,7 @@ async def prepare_file(file: Union[str, Path, BinaryIO, Image.Image], client: ht
|
|
32
32
|
):
|
33
33
|
if not client:
|
34
34
|
raise ValueError("Client must be provided to download files from URLs")
|
35
|
-
response = client.get(file)
|
35
|
+
response = await client.get(file)
|
36
36
|
response.raise_for_status()
|
37
37
|
|
38
38
|
# Try to get filename from Content-Disposition header first
|
@@ -6,11 +6,11 @@ chunkr_ai/api/chunkr.py,sha256=VnbuAPlWLqyf8xCCU_kpdybgjVPTwZLarDQoD3uozY0,3065
|
|
6
6
|
chunkr_ai/api/chunkr_base.py,sha256=giW56fL7xxJphdOTpIH52dXxpNt7OdP8pNiPSqbNjGM,5835
|
7
7
|
chunkr_ai/api/configuration.py,sha256=m8QL6s2j1_xSo9bERzJ3UG5j8cE6o-cZIiQGxsSf7Ow,3805
|
8
8
|
chunkr_ai/api/decorators.py,sha256=hu3wdd0s7P6askR3Td8g6OM-RoUCggDGv06HQUsMI6E,4284
|
9
|
-
chunkr_ai/api/misc.py,sha256=
|
9
|
+
chunkr_ai/api/misc.py,sha256=gTL8UG_R6bunQdKSXwm_SpyIyTmLprzdX3re_X-mMto,5730
|
10
10
|
chunkr_ai/api/protocol.py,sha256=LjPrYSq52m1afIlAo0yVGXlGZxPRh8J6g7S4PAit3Zo,388
|
11
11
|
chunkr_ai/api/task_response.py,sha256=uvM5uNIImDnivsgujjOh2kxRYuUoqKDhLE1nOH2dJjo,6091
|
12
|
-
chunkr_ai-0.0.
|
13
|
-
chunkr_ai-0.0.
|
14
|
-
chunkr_ai-0.0.
|
15
|
-
chunkr_ai-0.0.
|
16
|
-
chunkr_ai-0.0.
|
12
|
+
chunkr_ai-0.0.31.dist-info/LICENSE,sha256=w3R12yNDyZpMiy2lxy_hvNbsldC75ww79sF0u11rkho,1069
|
13
|
+
chunkr_ai-0.0.31.dist-info/METADATA,sha256=nVqhTSTn_YeGrWUgZ-e-CvLE5MMfgxNt3YGuY6hVt9w,6996
|
14
|
+
chunkr_ai-0.0.31.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
15
|
+
chunkr_ai-0.0.31.dist-info/top_level.txt,sha256=0IZY7PZIiS8bw5r4NUQRUQ-ATi-L_3vLQVq3ZLouOW8,10
|
16
|
+
chunkr_ai-0.0.31.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|