Skip to content

Commit bc45e71

Browse files
committed
Document attr caching for Container objects
Signed-off-by: Joffrey F <[email protected]>
1 parent d4b1c25 commit bc45e71

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/models/containers.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515

1616

1717
class Container(Model):
18-
18+
""" Local representation of a container object. Detailed configuration may
19+
be accessed through the :py:attr:`attrs` attribute. Note that local
20+
attributes are cached; users may call :py:meth:`reload` to
21+
query the Docker daemon for the current properties, causing
22+
:py:attr:`attrs` to be refreshed.
23+
"""
1924
@property
2025
def name(self):
2126
"""

0 commit comments

Comments
 (0)