mirror of https://gitlab.com/bashrc2/epicyon
Remove default arguments
parent
348df2f106
commit
b371b4047f
|
@ -243,7 +243,7 @@ def add_links_to_content(content: str, links: {}) -> str:
|
||||||
|
|
||||||
|
|
||||||
def libretranslate(url: str, text: str,
|
def libretranslate(url: str, text: str,
|
||||||
source: str, target: str, api_key: str = None) -> str:
|
source: str, target: str, api_key: str) -> str:
|
||||||
"""Translate string using libretranslate
|
"""Translate string using libretranslate
|
||||||
"""
|
"""
|
||||||
if not url:
|
if not url:
|
||||||
|
|
Loading…
Reference in New Issue