mirror of https://github.com/docker/docker-py.git
Document attr caching for Container objects
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
d4b1c259a2
commit
bc45e71c55
|
@ -15,7 +15,12 @@ from .resource import Collection, Model
|
|||
|
||||
|
||||
class Container(Model):
|
||||
|
||||
""" Local representation of a container object. Detailed configuration may
|
||||
be accessed through the :py:attr:`attrs` attribute. Note that local
|
||||
attributes are cached; users may call :py:meth:`reload` to
|
||||
query the Docker daemon for the current properties, causing
|
||||
:py:attr:`attrs` to be refreshed.
|
||||
"""
|
||||
@property
|
||||
def name(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue