Skip to content

Commit ebd3125

Browse files
Improve type safety of container_exists
1 parent 5cefc0b commit ebd3125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def runner():
2727
return CliRunner()
2828

2929

30-
def container_exists(client, container_name):
30+
def container_exists(client: ContainerClient, container_name: str) -> bool:
3131
try:
3232
container_id = client.get_container_id(container_name)
3333
return True if container_id else False

0 commit comments

Comments
 (0)