42e3aea6
tangwang
tidy
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
"""
Translation client - delegates to providers.
Deprecated: use providers.create_translation_provider() instead.
Kept for backward compatibility.
"""
from __future__ import annotations
from typing import Any
from providers.translation import (
HttpTranslationProvider as HttpTranslationClient,
create_translation_provider,
)
def create_translation_client(query_config: Any) -> Any:
"""Backward compat: delegate to create_translation_provider."""
return create_translation_provider(query_config)
|