Skip to content

Commit

Permalink
Kwargs Fix (#254)
Browse files Browse the repository at this point in the history
* fix: duplicated **kwarg values

* chore: update versioning

* docs: update changelog

* fix: decorator must handle both async & sync functions

* chore: cleanup decorator usage & remove manual cache setting assignments

* refactor: use dictionary union instead of decorator to update kwargs

* fix: set _defaults as property to allow it to use any updated values after init

* fix: remove _defaults from slots

* fix: move kwargs to correct spot
  • Loading branch information
MagicTheDev authored Jan 4, 2025
1 parent 5b6772c commit 12db1c8
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 201 deletions.
2 changes: 1 addition & 1 deletion coc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SOFTWARE.
"""

__version__ = "3.8.0"
__version__ = "3.8.1"

from .abc import BasePlayer, BaseClan
from .clans import RankedClan, Clan
Expand Down
Loading

0 comments on commit 12db1c8

Please sign in to comment.