mirror of https://github.com/docker/docker-py.git
Added api_version property
This commit is contained in:
parent
81056e7c5f
commit
21bcf7723f
|
|
@ -214,6 +214,10 @@ class Client(requests.Session):
|
|||
break
|
||||
yield data
|
||||
|
||||
@property
|
||||
def api_version(self):
|
||||
return self._version
|
||||
|
||||
def attach(self, container, stdout=True, stderr=True,
|
||||
stream=False, logs=False):
|
||||
if isinstance(container, dict):
|
||||
|
|
|
|||
Loading…
Reference in New Issue