You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes proposed in this pull request:
* **AsyncNextcloud** and **AsyncNextcloudApp** are here!
* Reworked `set_handlers` to allow use of async handlers.
* set_handlers: **denied** defining _init_handler_ and _models_to_fetch_
at the same time, as `huggingface_hub` does not support async.
If you want you can provide your own sync or async `init_handler`
callback and do in it what you want.
If you need only automatic AI models to download(probably all will use
this behaviour), `nc_py_api` will handle on its own.
What is currently missing: `caldav` async for AsyncNC classes.
If you need to use `CalDAV` use standard synchronous classes.
_After this PR there will one more separate PR where `models_to_fetch`
and `models_download_params` will be united in a single more flexed
parameter._
---------
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
0 commit comments