in src/wagtail_localize_smartling/api/client.py [0:0]
def _base_url(self) -> str:
if smartling_settings.ENVIRONMENT == "production":
return "https://api.smartling.com"
elif smartling_settings.ENVIRONMENT == "staging":
return "https://api.stg.smartling.net"
raise SmartlingAPIError(
f"Unknown environment: {smartling_settings.ENVIRONMENT}"
)