Commit 5ef6469
authored
feat(translate): add region tag 'import_client_library' and refactor sample (GoogleCloudPlatform#13255)
* chore(translate): delete remaining markdown files from repo migration
* feat(translate): add region tag 'import_client_library' and style fixing
* fix(translate): refactor sample 'translate_v3_translate_text' and its test
* fix(translate): apply feedback from 'glasnt'
- Comment: GoogleCloudPlatform#13255 (review)
* fix(translate): restore comment related to supported MIME types
GoogleCloudPlatform#13255 (comment)
* fix(translate): restore import to 'translate_v3' after testing compatibility with '_v3beta1'
* fix(translate): update to latest dependencies, and allow testing on Python 3.9+
* fix(translate): revert updating to latest dependencies, as it's breaking compatibility with vertexai
* fix(translate): remove comment about library not compatible with Python 3.12 even when it was tested locally1 parent 5756bee commit 5ef6469
File tree
5 files changed
+34
-27
lines changed- translate/samples
- snippets
5 files changed
+34
-27
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
Lines changed: 31 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | | - | |
40 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
43 | | - | |
44 | 53 | | |
45 | | - | |
46 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | | - | |
53 | | - | |
54 | 64 | | |
55 | 65 | | |
56 | | - | |
57 | | - | |
58 | 66 | | |
59 | 67 | | |
| 68 | + | |
60 | 69 | | |
61 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
23 | 20 | | |
0 commit comments