Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pywa/types/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3445,7 +3445,9 @@ def clear_media_cache(self):
for card in self.cards:
card.clear_media_cache()

def params(self=None, *, cards: list[CarouselCard._Params]) -> Carousel._Params:
def params(
self: Carousel | None = None, *, cards: list[CarouselCard._Params]
) -> Carousel._Params:
"""
Fill the parameters for the carousel component.

Expand Down
Loading