Skip to content

Commit 16d32b4

Browse files
committed
Formatting
Signed-off-by: Joffrey F <[email protected]>
1 parent 9412e21 commit 16d32b4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docker/models/networks.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ def connect(self, container, *args, **kwargs):
5252
"""
5353
if isinstance(container, Container):
5454
container = container.id
55-
return self.client.api.connect_container_to_network(container,
56-
self.id,
57-
*args,
58-
**kwargs)
55+
return self.client.api.connect_container_to_network(
56+
container, self.id, *args, **kwargs
57+
)
5958

6059
def disconnect(self, container, *args, **kwargs):
6160
"""
@@ -74,10 +73,9 @@ def disconnect(self, container, *args, **kwargs):
7473
"""
7574
if isinstance(container, Container):
7675
container = container.id
77-
return self.client.api.disconnect_container_from_network(container,
78-
self.id,
79-
*args,
80-
**kwargs)
76+
return self.client.api.disconnect_container_from_network(
77+
container, self.id, *args, **kwargs
78+
)
8179

8280
def remove(self):
8381
"""

0 commit comments

Comments
 (0)