from constance import config def get_flag_by_language(language: str) -> str: return f"https://api.{config.BASE_DOMAIN}/static/flags/{language}.png"