Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 5bc0e11

Browse files
chore: Update gapic-generator-python to v1.8.5 (#365)
* 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 <[email protected]>
1 parent 637a64e commit 5bc0e11

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/rest.py

+5-5
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
@@ -310,7 +310,7 @@ class _GetIamPolicy(ContainerAnalysisRestStub):
310310
def __hash__(self):
311311
return hash("GetIamPolicy")
312312

313-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
313+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
314314

315315
@classmethod
316316
def _get_unset_required_fields(cls, message_dict):
@@ -484,7 +484,7 @@ class _GetVulnerabilityOccurrencesSummary(ContainerAnalysisRestStub):
484484
def __hash__(self):
485485
return hash("GetVulnerabilityOccurrencesSummary")
486486

487-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
487+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
488488

489489
@classmethod
490490
def _get_unset_required_fields(cls, message_dict):
@@ -583,7 +583,7 @@ class _SetIamPolicy(ContainerAnalysisRestStub):
583583
def __hash__(self):
584584
return hash("SetIamPolicy")
585585

586-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
586+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
587587

588588
@classmethod
589589
def _get_unset_required_fields(cls, message_dict):
@@ -757,7 +757,7 @@ class _TestIamPermissions(ContainerAnalysisRestStub):
757757
def __hash__(self):
758758
return hash("TestIamPermissions")
759759

760-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
760+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
761761

762762
@classmethod
763763
def _get_unset_required_fields(cls, message_dict):

google/cloud/devtools/containeranalysis_v1/types/containeranalysis.py

+2
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 grafeas.grafeas_v1 # type: ignore

0 commit comments

Comments
 (0)