From 925006e4969d0b846e5922e7e1ae7787735f5520 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 24 Oct 2024 12:21:23 +0200 Subject: [PATCH] language.playlist --- rwx/sw/freetube/languages.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rwx/sw/freetube/languages.py b/rwx/sw/freetube/languages.py index 42f1e75..beeb173 100644 --- a/rwx/sw/freetube/languages.py +++ b/rwx/sw/freetube/languages.py @@ -1,7 +1,12 @@ """FreeTube languages.""" +from typing import TYPE_CHECKING + from rwx import Object +if TYPE_CHECKING: + from .playlists import Playlist + class Language(Object): """FreeTube language.""" @@ -16,3 +21,4 @@ class Language(Object): """ self.uid = uid self.name = name + self.playlist: Playlist