Skip to content

Commit 087cada

Browse files
committed
Add type annotations for nginx.
1 parent 46bf316 commit 087cada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/testcontainers/nginx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
class NginxContainer(DockerContainer):
17-
def __init__(self, image="nginx:latest", port_to_expose=80, **kwargs):
17+
def __init__(self, image: str = "nginx:latest", port_to_expose: int = 80, **kwargs) -> None:
1818
super(NginxContainer, self).__init__(image, **kwargs)
1919
self.port_to_expose = port_to_expose
2020
self.with_exposed_ports(self.port_to_expose)

0 commit comments

Comments
 (0)