Bump onedrive-personal-sdk to 0.0.10 (#138186)

This commit is contained in:
Josef Zweck 2025-02-10 12:41:28 +01:00 committed by GitHub
parent de86e4bd3c
commit b89f9a5961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 9 deletions

View File

@ -9,5 +9,5 @@
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["onedrive_personal_sdk"], "loggers": ["onedrive_personal_sdk"],
"quality_scale": "bronze", "quality_scale": "bronze",
"requirements": ["onedrive-personal-sdk==0.0.9"] "requirements": ["onedrive-personal-sdk==0.0.10"]
} }

2
requirements_all.txt generated
View File

@ -1559,7 +1559,7 @@ omnilogic==0.4.5
ondilo==0.5.0 ondilo==0.5.0
# homeassistant.components.onedrive # homeassistant.components.onedrive
onedrive-personal-sdk==0.0.9 onedrive-personal-sdk==0.0.10
# homeassistant.components.onvif # homeassistant.components.onvif
onvif-zeep-async==3.2.5 onvif-zeep-async==3.2.5

View File

@ -1307,7 +1307,7 @@ omnilogic==0.4.5
ondilo==0.5.0 ondilo==0.5.0
# homeassistant.components.onedrive # homeassistant.components.onedrive
onedrive-personal-sdk==0.0.9 onedrive-personal-sdk==0.0.10
# homeassistant.components.onvif # homeassistant.components.onvif
onvif-zeep-async==3.2.5 onvif-zeep-async==3.2.5

View File

@ -5,10 +5,10 @@ from json import dumps
from onedrive_personal_sdk.models.items import ( from onedrive_personal_sdk.models.items import (
AppRoot, AppRoot,
Contributor,
File, File,
Folder, Folder,
Hashes, Hashes,
IdentitySet,
ItemParentReference, ItemParentReference,
User, User,
) )
@ -31,7 +31,7 @@ BACKUP_METADATA = {
"size": 34519040, "size": 34519040,
} }
CONTRIBUTOR = Contributor( IDENTITY_SET = IdentitySet(
user=User( user=User(
display_name="John Doe", display_name="John Doe",
id="id", id="id",
@ -47,7 +47,7 @@ MOCK_APPROOT = AppRoot(
parent_reference=ItemParentReference( parent_reference=ItemParentReference(
drive_id="mock_drive_id", id="id", path="path" drive_id="mock_drive_id", id="id", path="path"
), ),
created_by=CONTRIBUTOR, created_by=IDENTITY_SET,
) )
MOCK_BACKUP_FOLDER = Folder( MOCK_BACKUP_FOLDER = Folder(
@ -58,7 +58,7 @@ MOCK_BACKUP_FOLDER = Folder(
parent_reference=ItemParentReference( parent_reference=ItemParentReference(
drive_id="mock_drive_id", id="id", path="path" drive_id="mock_drive_id", id="id", path="path"
), ),
created_by=CONTRIBUTOR, created_by=IDENTITY_SET,
) )
MOCK_BACKUP_FILE = File( MOCK_BACKUP_FILE = File(
@ -73,7 +73,7 @@ MOCK_BACKUP_FILE = File(
), ),
mime_type="application/x-tar", mime_type="application/x-tar",
description="", description="",
created_by=CONTRIBUTOR, created_by=IDENTITY_SET,
) )
MOCK_METADATA_FILE = File( MOCK_METADATA_FILE = File(
@ -96,5 +96,5 @@ MOCK_METADATA_FILE = File(
} }
) )
), ),
created_by=CONTRIBUTOR, created_by=IDENTITY_SET,
) )