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")
|
||||
|
||||
@count.setter
|
||||
def count(self, count: int) -> None:
|
||||
def count(self, value: int) -> None:
|
||||
"""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.
|
||||
"""
|
||||
setattr(self, "__count", count)
|
||||
setattr(self, "__count", value)
|
||||
|
||||
@property
|
||||
def query_values(self) -> list[str]:
|
||||
|
Loading…
Reference in New Issue
Block a user