nc-py-api 0.23.0__py3-none-any.whl → 0.23.1__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.
- nc_py_api/_version.py +1 -1
- nc_py_api/ex_app/integration_fastapi.py +8 -1
- {nc_py_api-0.23.0.dist-info → nc_py_api-0.23.1.dist-info}/METADATA +1 -1
- {nc_py_api-0.23.0.dist-info → nc_py_api-0.23.1.dist-info}/RECORD +7 -7
- {nc_py_api-0.23.0.dist-info → nc_py_api-0.23.1.dist-info}/WHEEL +1 -1
- {nc_py_api-0.23.0.dist-info → nc_py_api-0.23.1.dist-info}/licenses/AUTHORS +0 -0
- {nc_py_api-0.23.0.dist-info → nc_py_api-0.23.1.dist-info}/licenses/LICENSE.txt +0 -0
nc_py_api/_version.py
CHANGED
|
@@ -252,8 +252,15 @@ def __fetch_model_as_snapshot(
|
|
|
252
252
|
from tqdm import tqdm # noqa isort:skip pylint: disable=C0415 disable=E0401
|
|
253
253
|
|
|
254
254
|
class TqdmProgress(tqdm):
|
|
255
|
+
def __init__(self, *args, **kwargs):
|
|
256
|
+
# huggingface may provide a name, but tqdm rejects a "name"
|
|
257
|
+
# argument, so it needs to be removed
|
|
258
|
+
kwargs.pop("name", None)
|
|
259
|
+
super().__init__(*args, **kwargs)
|
|
260
|
+
|
|
255
261
|
def display(self, msg=None, pos=None):
|
|
256
|
-
|
|
262
|
+
if self.total:
|
|
263
|
+
nc.set_init_status(min(current_progress + int(progress_for_task * self.n / self.total), 99))
|
|
257
264
|
return super().display(msg, pos)
|
|
258
265
|
|
|
259
266
|
workers = download_options.pop("max_workers", 2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nc-py-api
|
|
3
|
-
Version: 0.23.
|
|
3
|
+
Version: 0.23.1
|
|
4
4
|
Summary: Nextcloud Python Framework
|
|
5
5
|
Project-URL: Changelog, https://github.com/cloud-py-api/nc_py_api/blob/main/CHANGELOG.md
|
|
6
6
|
Project-URL: Documentation, https://cloud-py-api.github.io/nc_py_api/
|
|
@@ -7,7 +7,7 @@ nc_py_api/_preferences_ex.py,sha256=Y6sDBrFJc7lk8BoDUfjC_iwOfjSbPPNPpcSxsL1fyIM,
|
|
|
7
7
|
nc_py_api/_session.py,sha256=u45U4USdgbegBj3oAnm-OErFng2fAyleH1dWgshJSso,22018
|
|
8
8
|
nc_py_api/_talk_api.py,sha256=0Uo7OduYniuuX3UQPb468RyGJJ-PWBCgJ5HoPuz5Qa0,51068
|
|
9
9
|
nc_py_api/_theming.py,sha256=hTr3nuOemSuRFZaPy9iXNmBM7rDgQHECH43tHMWGqEY,1870
|
|
10
|
-
nc_py_api/_version.py,sha256=
|
|
10
|
+
nc_py_api/_version.py,sha256=_-iIVIyso3H7ABGrnjaIreUXhsEQsLUFUKWW0X2YNsY,52
|
|
11
11
|
nc_py_api/activity.py,sha256=t9VDSnnaXRNOvALqOSGCeXSQZ-426pCOMSfQ96JHys4,9574
|
|
12
12
|
nc_py_api/apps.py,sha256=Us2y2lszdxXlD8t6kxwd5_Nrrmazc0EvZXIH9O-ol80,9315
|
|
13
13
|
nc_py_api/calendar_api.py,sha256=a2Q5EGf5_swWPYkUbHnoEg6h1S9KTEUQD7f7DljGHYY,1442
|
|
@@ -25,7 +25,7 @@ nc_py_api/weather_status.py,sha256=wAkjuJPjxc0Rxe4za0BzfwB0XeUmkCXoisJtTH3-qdQ,7
|
|
|
25
25
|
nc_py_api/webhooks.py,sha256=BGHRtankgbUkcqBRJTFShjRLpaVoFNcjLsrVitoNziM,8083
|
|
26
26
|
nc_py_api/ex_app/__init__.py,sha256=6Lwid4bBXOSrZf_ocf5m8qkkO1OgYxG0GTs4q6Nw72o,691
|
|
27
27
|
nc_py_api/ex_app/defs.py,sha256=FaQInH3jLugKxDUqpwrXdkMT-lBxmoqWmXJXc11fa6A,727
|
|
28
|
-
nc_py_api/ex_app/integration_fastapi.py,sha256=
|
|
28
|
+
nc_py_api/ex_app/integration_fastapi.py,sha256=GxCYt1baibok4V3XD1-OOPTEsAuqgZ2VN0XyZDWFZUk,13674
|
|
29
29
|
nc_py_api/ex_app/logger.py,sha256=nAHLObuPvl3UBLrlqZulgoxxVaAJ661iP4F6bTW-V-Y,1475
|
|
30
30
|
nc_py_api/ex_app/misc.py,sha256=c7B0uE8isaIi4SQbxURGUuWjZaaXiLg3Ov6cqvRYplE,2298
|
|
31
31
|
nc_py_api/ex_app/occ_commands.py,sha256=hb2BJuvFKIigvLycSCyAe9v6hedq4Gfu2junQZTaK_M,5219
|
|
@@ -45,8 +45,8 @@ nc_py_api/files/_files.py,sha256=t7KBZE3fHmfVk0WZuQF9usCMY_b4rzX1ct1aIZx3RYw,143
|
|
|
45
45
|
nc_py_api/files/files.py,sha256=A05iT_s5cYMK1MtarqdjTZP9QA1l_SiINq805VLrzuY,24999
|
|
46
46
|
nc_py_api/files/files_async.py,sha256=GoTPswMgozcx3Vkbj4YSitNeP7vpPJ4lIbrCnj77rP4,25858
|
|
47
47
|
nc_py_api/files/sharing.py,sha256=VRZCl-TYK6dbu9rUHPs3_jcVozu1EO8bLGZwoRpiLsU,14439
|
|
48
|
-
nc_py_api-0.23.
|
|
49
|
-
nc_py_api-0.23.
|
|
50
|
-
nc_py_api-0.23.
|
|
51
|
-
nc_py_api-0.23.
|
|
52
|
-
nc_py_api-0.23.
|
|
48
|
+
nc_py_api-0.23.1.dist-info/METADATA,sha256=_tU-LoDJuH76odYVhulDOzOYVsaIUN5ecGAdLcbyK4c,8024
|
|
49
|
+
nc_py_api-0.23.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
50
|
+
nc_py_api-0.23.1.dist-info/licenses/AUTHORS,sha256=B2Q9q9XH3PAxJp0V3GiKQc1l0z7vtGDpDHqda-ISWKM,616
|
|
51
|
+
nc_py_api-0.23.1.dist-info/licenses/LICENSE.txt,sha256=OLEMh401fAumGHfRSna365MLIfnjdTcdOHZ6QOzMjkg,1551
|
|
52
|
+
nc_py_api-0.23.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|