Update method docstring

Update the method docstring for the the method
ResourceBase.refresh() in sushy/resources/base.py

This is a follow-up to patch
2b39751e19

Change-Id: Ic2569184a61d4bba95ebb59c71ccb70360bee3ca
This commit is contained in:
Debayan Ray 2018-01-03 04:47:25 -05:00
parent f46ed9b53c
commit 92f79530b9
1 changed files with 3 additions and 3 deletions

View File

@ -249,9 +249,9 @@ class ResourceBase(object):
Freshly retrieves/fetches the resource attributes and invokes
``_parse_attributes()`` method on successful retrieval.
Advised not to override this method in concrete ResourceBase classes.
Resource classes can place their refresh specific operations in
``_do_refresh()`` method, if needed. This method represents the
It is recommended not to override this method in concrete ResourceBase
classes. Resource classes can place their refresh specific operations
in ``_do_refresh()`` method, if needed. This method represents the
template method in the paradigm of Template design pattern.
:param force: will force refresh the resource and its sub-resources,