Skip to content

Commit

Permalink
fix typing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
ASDFGamer committed Jul 7, 2024
1 parent 07b4ffd commit 6582909
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class ContainerConfig(AbstractConfig):
def __init__(
self,
container_vars: Dict[str, Union[str, list[Volume]]],
container_vars: Dict[str, Union[str, List[Volume]]],
is_running: bool,
config_file: Path,
service_name: str,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/docker_api_test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from rsnapshot_docker_compose_backup import docker
from tests.unit.docker_api_util import mock_responses
from typing import Any
from typing import Any, Dict

ubuntu_container: dict[str, Any] = {
ubuntu_container: Dict[str, Any] = {
"default_ps": {
"Id": "8dfafdbc3a40",
"Names": ["/boring_feynman"],
Expand Down Expand Up @@ -53,7 +53,7 @@
},
}

postgres_container: dict[str, Any] = {
postgres_container: Dict[str, Any] = {
"compose_ps": {
"Id": "5bd36e44a3b8a955821594e440aeac530b84e3f19e262b240c5b6ccc123a9efb",
"Names": ["/postgres-postgres-1"],
Expand Down Expand Up @@ -334,7 +334,7 @@
},
}

mariadb_container: dict[str, Any] = {
mariadb_container: Dict[str, Any] = {
"compose_ps": {
"Id": "38bc5ec7316e3722e4cfe632add2c92906f2ca86a8ed2bf6e1d65d7356a0a3f2",
"Names": ["/mariadb-maraidb-1"],
Expand Down

0 comments on commit 6582909

Please sign in to comment.