Skip to content

Commit 8e4473d

Browse files
author
João Leão
committed
change list typing to comply w/ python 3.8
1 parent b6a5899 commit 8e4473d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/persistent_bucket.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import os
1212
from dataclasses import dataclass
1313
from functools import cached_property
14+
from typing import List
1415

1516
import backoff
1617
from b2sdk.v2 import Bucket
@@ -63,5 +64,5 @@ def get_or_create_persistent_bucket(b2_api: Api) -> Bucket:
6364
b2_api.bucket_name_log.append(bucket_name)
6465
return bucket
6566

66-
def prune_used_files(b2_api: Api, bucket: Bucket, folders: list[str]):
67+
def prune_used_files(b2_api: Api, bucket: Bucket, folders: List[str]):
6768
b2_api.clean_bucket(bucket_object=bucket, only_files=True, only_folders=folders,ignore_retentions=True)

0 commit comments

Comments
 (0)