Added missing documentation to the OptionLink data model in the "accounting.report.utils.option_link" module.
This commit is contained in:
parent
1d443f7b76
commit
7fb9e2f0a1
@ -27,10 +27,15 @@ class OptionLink:
|
|||||||
"""Constructs an option link.
|
"""Constructs an option link.
|
||||||
|
|
||||||
:param title: The title.
|
:param title: The title.
|
||||||
:param url: The URI.
|
:param url: The URL.
|
||||||
:param is_active: True if active, or False otherwise
|
:param is_active: True if active, or False otherwise
|
||||||
|
:param fa_icon: The font-awesome icon, if any.
|
||||||
"""
|
"""
|
||||||
self.title: str = title
|
self.title: str = title
|
||||||
|
"""The title."""
|
||||||
self.url: str = url
|
self.url: str = url
|
||||||
|
"""The URL."""
|
||||||
self.is_active: bool = is_active
|
self.is_active: bool = is_active
|
||||||
|
"""True if active, or False otherwise."""
|
||||||
self.fa_icon: str | None = fa_icon
|
self.fa_icon: str | None = fa_icon
|
||||||
|
"""The font-awesome icon, if any."""
|
||||||
|
Loading…
Reference in New Issue
Block a user