Kaydet (Commit) 21bcf772 authored tarafından Joffrey F's avatar Joffrey F

Added api_version property

üst 81056e7c
...@@ -214,6 +214,10 @@ class Client(requests.Session): ...@@ -214,6 +214,10 @@ class Client(requests.Session):
break break
yield data yield data
@property
def api_version(self):
return self._version
def attach(self, container, stdout=True, stderr=True, def attach(self, container, stdout=True, stderr=True,
stream=False, logs=False): stream=False, logs=False):
if isinstance(container, dict): if isinstance(container, dict):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment