Skip to content

Commit 6c3d31c

Browse files
committed
Change parameter name
1 parent 0c8a821 commit 6c3d31c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

weaviate/backup/async_.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class _BackupAsync(_BackupExecutor[ConnectionAsync]):
2020
backend: BackupStorage,
2121
include_collections: Union[List[str], str, None] = None,
2222
exclude_collections: Union[List[str], str, None] = None,
23-
incremental_backup_base_id: Optional[str] = None,
23+
incremental_base_backup_id: Optional[str] = None,
2424
wait_for_completion: bool = False,
2525
config: Optional[BackupConfigCreate] = None,
2626
backup_location: Optional[BackupLocationType] = None,

weaviate/backup/executor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def create(
4747
backend: BackupStorage,
4848
include_collections: Union[List[str], str, None] = None,
4949
exclude_collections: Union[List[str], str, None] = None,
50-
incremental_backup_base_id: Optional[str] = None,
50+
incremental_base_backup_id: Optional[str] = None,
5151
wait_for_completion: bool = False,
5252
config: Optional[BackupConfigCreate] = None,
5353
backup_location: Optional[BackupLocationType] = None,
@@ -61,7 +61,7 @@ def create(
6161
collections will be included. Either `include_collections` or `exclude_collections` can be set. By default None.
6262
exclude_collections: The collection/list of collections to be excluded in the backup.
6363
Either `include_collections` or `exclude_collections` can be set. By default None.
64-
incremental_backup_base_id: The identifier name of the base backup for an incremental backup. Files that are identical
64+
incremental_base_backup_id: The identifier name of the base backup for an incremental backup. Files that are identical
6565
to the base backup will not be included in the incremental backup and restored from the base. By default None.
6666
wait_for_completion: Whether to wait until the backup is done. By default False.
6767
config: The configuration of the backup creation. By default None.
@@ -92,7 +92,7 @@ def create(
9292
"id": backup_id,
9393
"include": include_collections,
9494
"exclude": exclude_collections,
95-
"incremental_backup_base_id": incremental_backup_base_id,
95+
"incremental_base_backup_id": incremental_base_backup_id,
9696
}
9797

9898
if config is not None:

weaviate/backup/sync.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class _Backup(_BackupExecutor[ConnectionSync]):
2020
backend: BackupStorage,
2121
include_collections: Union[List[str], str, None] = None,
2222
exclude_collections: Union[List[str], str, None] = None,
23-
incremental_backup_base_id: Optional[str] = None,
23+
incremental_base_backup_id: Optional[str] = None,
2424
wait_for_completion: bool = False,
2525
config: Optional[BackupConfigCreate] = None,
2626
backup_location: Optional[BackupLocationType] = None,

0 commit comments

Comments
 (0)