|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | - |
3 | 2 | # Copyright 2020 Google LLC |
4 | 3 | # |
5 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
|
15 | 14 | # limitations under the License. |
16 | 15 | # |
17 | 16 |
|
18 | | -from google.cloud.translate_v3.services.translation_service.async_client import ( |
19 | | - TranslationServiceAsyncClient, |
20 | | -) |
21 | 17 | from google.cloud.translate_v3.services.translation_service.client import ( |
22 | 18 | TranslationServiceClient, |
23 | 19 | ) |
| 20 | +from google.cloud.translate_v3.services.translation_service.async_client import ( |
| 21 | + TranslationServiceAsyncClient, |
| 22 | +) |
| 23 | + |
24 | 24 | from google.cloud.translate_v3.types.translation_service import BatchTranslateMetadata |
25 | 25 | from google.cloud.translate_v3.types.translation_service import BatchTranslateResponse |
26 | 26 | from google.cloud.translate_v3.types.translation_service import ( |
|
31 | 31 | from google.cloud.translate_v3.types.translation_service import DeleteGlossaryMetadata |
32 | 32 | from google.cloud.translate_v3.types.translation_service import DeleteGlossaryRequest |
33 | 33 | from google.cloud.translate_v3.types.translation_service import DeleteGlossaryResponse |
| 34 | +from google.cloud.translate_v3.types.translation_service import DetectedLanguage |
34 | 35 | from google.cloud.translate_v3.types.translation_service import DetectLanguageRequest |
35 | 36 | from google.cloud.translate_v3.types.translation_service import DetectLanguageResponse |
36 | | -from google.cloud.translate_v3.types.translation_service import DetectedLanguage |
37 | 37 | from google.cloud.translate_v3.types.translation_service import GcsDestination |
38 | 38 | from google.cloud.translate_v3.types.translation_service import GcsSource |
39 | 39 | from google.cloud.translate_v3.types.translation_service import GetGlossaryRequest |
|
56 | 56 | from google.cloud.translate_v3.types.translation_service import Translation |
57 | 57 |
|
58 | 58 | __all__ = ( |
| 59 | + "TranslationServiceClient", |
| 60 | + "TranslationServiceAsyncClient", |
59 | 61 | "BatchTranslateMetadata", |
60 | 62 | "BatchTranslateResponse", |
61 | 63 | "BatchTranslateTextRequest", |
|
64 | 66 | "DeleteGlossaryMetadata", |
65 | 67 | "DeleteGlossaryRequest", |
66 | 68 | "DeleteGlossaryResponse", |
| 69 | + "DetectedLanguage", |
67 | 70 | "DetectLanguageRequest", |
68 | 71 | "DetectLanguageResponse", |
69 | | - "DetectedLanguage", |
70 | 72 | "GcsDestination", |
71 | 73 | "GcsSource", |
72 | 74 | "GetGlossaryRequest", |
|
83 | 85 | "TranslateTextRequest", |
84 | 86 | "TranslateTextResponse", |
85 | 87 | "Translation", |
86 | | - "TranslationServiceAsyncClient", |
87 | | - "TranslationServiceClient", |
88 | 88 | ) |
0 commit comments