mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add docstring to 'refresh' method
This commit is contained in:
parent
d572f929c2
commit
1c282b1bbb
1 changed files with 7 additions and 0 deletions
|
|
@ -163,6 +163,13 @@ class ProjectsModel(object):
|
|||
self._projects_by_name.reset()
|
||||
|
||||
def refresh(self):
|
||||
"""Refresh project items.
|
||||
|
||||
This method will requery list of ProjectItem returned by
|
||||
'get_project_items'.
|
||||
|
||||
To reset all cached items use 'reset' method.
|
||||
"""
|
||||
self._refresh_projects_cache()
|
||||
|
||||
def get_project_items(self, sender):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue