Bump onedrive-personal-sdk to 0.0.15 (#155540)

This commit is contained in:
Josef Zweck
2025-10-31 16:58:31 +00:00
committed by GitHub
parent 7cec3aa27c
commit 0980c3a270
4 changed files with 5 additions and 7 deletions
@@ -14,7 +14,7 @@ from onedrive_personal_sdk.exceptions import (
NotFoundError,
OneDriveException,
)
from onedrive_personal_sdk.models.items import Item, ItemUpdate
from onedrive_personal_sdk.models.items import ItemUpdate
from homeassistant.const import CONF_ACCESS_TOKEN, Platform
from homeassistant.core import HomeAssistant
@@ -202,9 +202,7 @@ async def _get_onedrive_client(
)
async def _handle_item_operation(
func: Callable[[], Awaitable[Item]], folder: str
) -> Item:
async def _handle_item_operation[T](func: Callable[[], Awaitable[T]], folder: str) -> T:
try:
return await func()
except NotFoundError:
@@ -10,5 +10,5 @@
"iot_class": "cloud_polling",
"loggers": ["onedrive_personal_sdk"],
"quality_scale": "platinum",
"requirements": ["onedrive-personal-sdk==0.0.14"]
"requirements": ["onedrive-personal-sdk==0.0.15"]
}
+1 -1
View File
@@ -1612,7 +1612,7 @@ omnilogic==0.4.5
ondilo==0.5.0
# homeassistant.components.onedrive
onedrive-personal-sdk==0.0.14
onedrive-personal-sdk==0.0.15
# homeassistant.components.onvif
onvif-zeep-async==4.0.4
+1 -1
View File
@@ -1383,7 +1383,7 @@ omnilogic==0.4.5
ondilo==0.5.0
# homeassistant.components.onedrive
onedrive-personal-sdk==0.0.14
onedrive-personal-sdk==0.0.15
# homeassistant.components.onvif
onvif-zeep-async==4.0.4