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:
parent
f46ed9b53c
commit
92f79530b9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue