We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fdeb81 commit 24ef652Copy full SHA for 24ef652
Tests/iaas/volume-backup/volume-backup-tester.py
@@ -30,7 +30,7 @@
30
31
32
def check_resources(
33
- get_func: typing.Callable[[], [openstack.resource.Resource]],
+ get_func: typing.Callable[[], list[openstack.resource.Resource]],
34
prefix: str,
35
) -> None:
36
remaining = [b for b in get_func() if b.name.startswith(prefix)]
@@ -85,7 +85,7 @@ def wait_for_resource(
85
86
87
def wait_for_resources(
88
89
90
):
91
retry(partial(check_resources, get_func, prefix))
0 commit comments