Skip to content

Commit 6b28ef1

Browse files
committed
Fix inheritance in interface
1 parent ba2dc13 commit 6b28ef1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

weaviate/backup/async_.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ from weaviate.backup.executor import (
77
BackupStatusReturn,
88
BackupConfigCreate,
99
BackupConfigRestore,
10+
_BackupExecutor,
1011
)
1112
from weaviate.backup.backup_location import BackupLocationType
1213
from weaviate.connect.v4 import ConnectionAsync
1314

14-
class _BackupAsync(_BackupBase[ConnectionAsync]):
15+
class _BackupAsync(_BackupExecutor[ConnectionAsync]):
1516
"""Backup class used to schedule and/or check the status of a backup process of Weaviate objects."""
1617

1718
async def cancel(

weaviate/backup/sync.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ from weaviate.backup.executor import (
77
BackupStatusReturn,
88
BackupConfigCreate,
99
BackupConfigRestore,
10+
_BackupExecutor,
1011
)
1112
from weaviate.backup.backup_location import BackupLocationType
1213
from weaviate.connect.v4 import ConnectionSync
1314

14-
class _Backup(_BackupBase[ConnectionSync]):
15+
class _Backup(_BackupExecutor[ConnectionSync]):
1516
"""Backup class used to schedule and/or check the status of a backup process of Weaviate objects."""
1617

1718
def cancel(

0 commit comments

Comments
 (0)