From f0669c7f635d7e7500a165185a435fc6f5fe6f45 Mon Sep 17 00:00:00 2001 From: Nathan Spencer Date: Mon, 24 Nov 2025 01:41:41 +0000 Subject: [PATCH] Fix docstring in update_tracks --- update_tracks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_tracks.py b/update_tracks.py index 94d6877..4d08a68 100644 --- a/update_tracks.py +++ b/update_tracks.py @@ -18,8 +18,8 @@ def get_author_name(data: dict) -> str: Extracts the author's display name from a nested track data dictionary. Parameters: - data (dict): A mapping representing track/result data. Expected shapes include - {"author": {"user": {"name": ..., "nickname": ...}}} or {"author": {"name": ..., "nickname": ...}}. + data (dict): A mapping representing track/result data. Expected shape is + {"author": {"user": {"name": ..., "nickname": ...}}}. Returns: str: The author's `name` if present, otherwise the author's `nickname`, otherwise "Kinetic Oasis".