Renamed the "count" parameter to "value" in the setter of the "count" pseudo property of the Account data model, for consistency.
This commit is contained in:
parent
8a1cf463b1
commit
914ff92e0f
@ -228,13 +228,13 @@ class Account(db.Model):
|
|||||||
return getattr(self, "__count")
|
return getattr(self, "__count")
|
||||||
|
|
||||||
@count.setter
|
@count.setter
|
||||||
def count(self, count: int) -> None:
|
def count(self, value: int) -> None:
|
||||||
"""Sets the number of items in the account.
|
"""Sets the number of items in the account.
|
||||||
|
|
||||||
:param count: The number of items in the account.
|
:param value: The number of items in the account.
|
||||||
:return: None.
|
:return: None.
|
||||||
"""
|
"""
|
||||||
setattr(self, "__count", count)
|
setattr(self, "__count", value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def query_values(self) -> list[str]:
|
def query_values(self) -> list[str]:
|
||||||
|
Loading…
Reference in New Issue
Block a user