Renamed the "match" parameter to "value" in the setter of the "match" pseudo property of the JournalEntryLineItem data model, for consistency.
This commit is contained in:
parent
833285d924
commit
5956d2cd4c
@ -841,13 +841,13 @@ class JournalEntryLineItem(db.Model):
|
|||||||
return getattr(self, "__match")
|
return getattr(self, "__match")
|
||||||
|
|
||||||
@match.setter
|
@match.setter
|
||||||
def match(self, match: t.Self) -> None:
|
def match(self, value: t.Self) -> None:
|
||||||
"""Sets the match of the line item.
|
"""Sets the match of the line item.
|
||||||
|
|
||||||
:param match: The matcho of the line item.
|
:param value: The matcho of the line item.
|
||||||
:return: None.
|
:return: None.
|
||||||
"""
|
"""
|
||||||
setattr(self, "__match", match)
|
setattr(self, "__match", value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def query_values(self) -> list[str]:
|
def query_values(self) -> list[str]:
|
||||||
|
Loading…
Reference in New Issue
Block a user