From db2be97f25ebea9159707db0fe404a761847ffa9 Mon Sep 17 00:00:00 2001 From: bashrc Date: Tue, 5 May 2026 14:54:52 +0100 Subject: [PATCH] Possible argument types --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 6da2ea654..7d8b1e68f 100644 --- a/utils.py +++ b/utils.py @@ -75,7 +75,7 @@ def remove_zero_length_strings(text: str) -> str: return text.replace('​', '') -def get_url_from_post(url_field) -> str: +def get_url_from_post(url_field: str | list) -> str: """Returns a url from a post object """ if isinstance(url_field, str):