From eb2e61a2f5f61d92df0c46fc2689eb3a28fd7efd Mon Sep 17 00:00:00 2001 From: codey Date: Fri, 17 Jan 2025 08:07:17 -0500 Subject: [PATCH] constructors.todict was unnecessarily complicated; declutter --- lyric_search_new/constructors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lyric_search_new/constructors.py b/lyric_search_new/constructors.py index 86f4776..1e49ddf 100644 --- a/lyric_search_new/constructors.py +++ b/lyric_search_new/constructors.py @@ -20,4 +20,4 @@ class LyricsResult: def todict(self): """Return as dict""" - return {k: type(v)(v) for k, v in asdict(self).items()} \ No newline at end of file + return asdict(self) \ No newline at end of file