Add missing docstrings.

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Trllo 2024-03-28 16:34:10 +01:00 committed by GitHub
parent 93b9541268
commit b6269b1765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,10 +214,22 @@ class LauncherActionSelection:
@property
def is_folder_selected(self):
"""Return whether a folder is selected.
Returns:
bool: Whether a folder is selected.
"""
return self._folder_id is not None
@property
def is_task_selected(self):
"""Return whether a task is selected.
Returns:
bool: Whether a task is selected.
"""
return self._task_id is not None
project_name = property(get_project_name)