Possible argument types

main
bashrc 2026-05-05 14:54:52 +01:00
parent 2c1f80476f
commit db2be97f25
1 changed files with 1 additions and 1 deletions

View File

@ -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):