Skip to content

Commit 6fb231e

Browse files
chore: Update gapic-generator-python to v1.8.5 (#183)
* chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: googleapis/googleapis-gen@1907294 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 e18d61a commit 6fb231e

File tree

2 files changed

+6
-4
lines changed
  • packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1

2 files changed

+6
-4
lines changed

packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/transports/rest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import dataclasses
1818
import json # type: ignore
1919
import re
20-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
20+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
2121
import warnings
2222

2323
from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming
@@ -284,7 +284,7 @@ class _SearchCatalogs(PrivateCatalogRestStub):
284284
def __hash__(self):
285285
return hash("SearchCatalogs")
286286

287-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
287+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
288288

289289
@classmethod
290290
def _get_unset_required_fields(cls, message_dict):
@@ -382,7 +382,7 @@ class _SearchProducts(PrivateCatalogRestStub):
382382
def __hash__(self):
383383
return hash("SearchProducts")
384384

385-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
385+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
386386

387387
@classmethod
388388
def _get_unset_required_fields(cls, message_dict):
@@ -480,7 +480,7 @@ class _SearchVersions(PrivateCatalogRestStub):
480480
def __hash__(self):
481481
return hash("SearchVersions")
482482

483-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
483+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
484484
"query": "",
485485
}
486486

packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/types/private_catalog.py

Lines 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
from google.longrunning import operations_pb2 # type: ignore

0 commit comments

Comments
 (0)