Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit e3587e9

Browse filesBrowse files
chore: Update gapic-generator-python to v1.8.5 (#476)
* chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1907294b1d8365ea24f8c5f2e059a64124c4ed3b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent ebf7202 commit e3587e9
Copy full SHA for e3587e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

51 files changed

+144
-50
lines changed

‎google/cloud/automl_v1/services/auto_ml/transports/rest.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/auto_ml/transports/rest.py
+19-19Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from requests import __version__ as requests_version
3232
import dataclasses
3333
import re
34-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
34+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
3535
import warnings
3636

3737
try:
@@ -776,7 +776,7 @@ class _CreateDataset(AutoMlRestStub):
776776
def __hash__(self):
777777
return hash("CreateDataset")
778778

779-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
779+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
780780

781781
@classmethod
782782
def _get_unset_required_fields(cls, message_dict):
@@ -874,7 +874,7 @@ class _CreateModel(AutoMlRestStub):
874874
def __hash__(self):
875875
return hash("CreateModel")
876876

877-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
877+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
878878

879879
@classmethod
880880
def _get_unset_required_fields(cls, message_dict):
@@ -972,7 +972,7 @@ class _DeleteDataset(AutoMlRestStub):
972972
def __hash__(self):
973973
return hash("DeleteDataset")
974974

975-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
975+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
976976

977977
@classmethod
978978
def _get_unset_required_fields(cls, message_dict):
@@ -1061,7 +1061,7 @@ class _DeleteModel(AutoMlRestStub):
10611061
def __hash__(self):
10621062
return hash("DeleteModel")
10631063

1064-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1064+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
10651065

10661066
@classmethod
10671067
def _get_unset_required_fields(cls, message_dict):
@@ -1150,7 +1150,7 @@ class _DeployModel(AutoMlRestStub):
11501150
def __hash__(self):
11511151
return hash("DeployModel")
11521152

1153-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1153+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
11541154

11551155
@classmethod
11561156
def _get_unset_required_fields(cls, message_dict):
@@ -1248,7 +1248,7 @@ class _ExportData(AutoMlRestStub):
12481248
def __hash__(self):
12491249
return hash("ExportData")
12501250

1251-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1251+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
12521252

12531253
@classmethod
12541254
def _get_unset_required_fields(cls, message_dict):
@@ -1346,7 +1346,7 @@ class _ExportModel(AutoMlRestStub):
13461346
def __hash__(self):
13471347
return hash("ExportModel")
13481348

1349-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1349+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
13501350

13511351
@classmethod
13521352
def _get_unset_required_fields(cls, message_dict):
@@ -1446,7 +1446,7 @@ class _GetAnnotationSpec(AutoMlRestStub):
14461446
def __hash__(self):
14471447
return hash("GetAnnotationSpec")
14481448

1449-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1449+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
14501450

14511451
@classmethod
14521452
def _get_unset_required_fields(cls, message_dict):
@@ -1536,7 +1536,7 @@ class _GetDataset(AutoMlRestStub):
15361536
def __hash__(self):
15371537
return hash("GetDataset")
15381538

1539-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1539+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
15401540

15411541
@classmethod
15421542
def _get_unset_required_fields(cls, message_dict):
@@ -1628,7 +1628,7 @@ class _GetModel(AutoMlRestStub):
16281628
def __hash__(self):
16291629
return hash("GetModel")
16301630

1631-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1631+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
16321632

16331633
@classmethod
16341634
def _get_unset_required_fields(cls, message_dict):
@@ -1718,7 +1718,7 @@ class _GetModelEvaluation(AutoMlRestStub):
17181718
def __hash__(self):
17191719
return hash("GetModelEvaluation")
17201720

1721-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1721+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
17221722

17231723
@classmethod
17241724
def _get_unset_required_fields(cls, message_dict):
@@ -1808,7 +1808,7 @@ class _ImportData(AutoMlRestStub):
18081808
def __hash__(self):
18091809
return hash("ImportData")
18101810

1811-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1811+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
18121812

18131813
@classmethod
18141814
def _get_unset_required_fields(cls, message_dict):
@@ -1906,7 +1906,7 @@ class _ListDatasets(AutoMlRestStub):
19061906
def __hash__(self):
19071907
return hash("ListDatasets")
19081908

1909-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
1909+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
19101910

19111911
@classmethod
19121912
def _get_unset_required_fields(cls, message_dict):
@@ -1996,7 +1996,7 @@ class _ListModelEvaluations(AutoMlRestStub):
19961996
def __hash__(self):
19971997
return hash("ListModelEvaluations")
19981998

1999-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1999+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
20002000
"filter": "",
20012001
}
20022002

@@ -2090,7 +2090,7 @@ class _ListModels(AutoMlRestStub):
20902090
def __hash__(self):
20912091
return hash("ListModels")
20922092

2093-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2093+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
20942094

20952095
@classmethod
20962096
def _get_unset_required_fields(cls, message_dict):
@@ -2180,7 +2180,7 @@ class _UndeployModel(AutoMlRestStub):
21802180
def __hash__(self):
21812181
return hash("UndeployModel")
21822182

2183-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2183+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
21842184

21852185
@classmethod
21862186
def _get_unset_required_fields(cls, message_dict):
@@ -2278,7 +2278,7 @@ class _UpdateDataset(AutoMlRestStub):
22782278
def __hash__(self):
22792279
return hash("UpdateDataset")
22802280

2281-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2281+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
22822282
"updateMask": {},
22832283
}
22842284

@@ -2381,7 +2381,7 @@ class _UpdateModel(AutoMlRestStub):
23812381
def __hash__(self):
23822382
return hash("UpdateModel")
23832383

2384-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2384+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
23852385
"updateMask": {},
23862386
}
23872387

‎google/cloud/automl_v1/services/prediction_service/transports/rest.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/prediction_service/transports/rest.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from requests import __version__ as requests_version
3232
import dataclasses
3333
import re
34-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
34+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
3535
import warnings
3636

3737
try:
@@ -304,7 +304,7 @@ class _BatchPredict(PredictionServiceRestStub):
304304
def __hash__(self):
305305
return hash("BatchPredict")
306306

307-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
307+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
308308

309309
@classmethod
310310
def _get_unset_required_fields(cls, message_dict):
@@ -402,7 +402,7 @@ class _Predict(PredictionServiceRestStub):
402402
def __hash__(self):
403403
return hash("Predict")
404404

405-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
405+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
406406

407407
@classmethod
408408
def _get_unset_required_fields(cls, message_dict):

‎google/cloud/automl_v1/types/annotation_payload.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/annotation_payload.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/annotation_spec.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/annotation_spec.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/classification.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/classification.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/data_items.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/data_items.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/dataset.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/dataset.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/detection.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/detection.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/geometry.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/geometry.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/image.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/image.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/io.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/io.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/model.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/model.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/model_evaluation.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/model_evaluation.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/operations.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/operations.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/prediction_service.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/prediction_service.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/service.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/service.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/text.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/text.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/text_extraction.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/text_extraction.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/text_segment.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/text_segment.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/text_sentiment.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/text_sentiment.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

‎google/cloud/automl_v1/types/translation.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/types/translation.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
import proto # type: ignore

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.