Skip to content

Commit 27093c7

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: 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 <[email protected]>
1 parent bdacbf5 commit 27093c7

File tree

2 files changed

+7
-5
lines changed
  • packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1

2 files changed

+7
-5
lines changed

packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/rest.py

Lines changed: 5 additions & 5 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
@@ -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):

packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/types/containeranalysis.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
import grafeas.grafeas_v1 # type: ignore

0 commit comments

Comments
 (0)