Skip to content

Commit 8a13c1e

Browse files
committed
fix typing
1 parent 9e6981c commit 8a13c1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

animeworld/anime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def getName(self) -> str: # Nome dell'anime
192192
#############
193193

194194
@HealthCheck
195-
def getEpisodes(self, nums: List[int]|List[str] = None) -> List[Episodio]: # Ritorna una lista di Episodi
195+
def getEpisodes(self, nums: Union[List[int], List[str]] = None) -> List[Episodio]: # Ritorna una lista di Episodi
196196
"""
197197
Ottiene tutti gli episodi dell'anime.
198198

0 commit comments

Comments
 (0)