Skip to content

Commit 21bcf77

Browse files
committed
Added api_version property
1 parent 81056e7 commit 21bcf77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ def _multiplexed_response_stream_helper(self, response):
214214
break
215215
yield data
216216

217+
@property
218+
def api_version(self):
219+
return self._version
220+
217221
def attach(self, container, stdout=True, stderr=True,
218222
stream=False, logs=False):
219223
if isinstance(container, dict):

0 commit comments

Comments
 (0)