Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.8.5 (#258)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Feb 27, 2023
1 parent ddc5dc1 commit ec87853
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import dataclasses
import json # type: ignore
import re
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
import warnings

from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming
Expand Down Expand Up @@ -291,7 +291,7 @@ class _ComputeThreatListDiff(WebRiskServiceRestStub):
def __hash__(self):
return hash("ComputeThreatListDiff")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"threatType": {},
"constraints": {},
}
Expand Down Expand Up @@ -382,7 +382,7 @@ class _CreateSubmission(WebRiskServiceRestStub):
def __hash__(self):
return hash("CreateSubmission")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}

@classmethod
def _get_unset_required_fields(cls, message_dict):
Expand Down Expand Up @@ -483,7 +483,7 @@ class _SearchHashes(WebRiskServiceRestStub):
def __hash__(self):
return hash("SearchHashes")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"threatTypes": {},
}

Expand Down Expand Up @@ -573,7 +573,7 @@ class _SearchUris(WebRiskServiceRestStub):
def __hash__(self):
return hash("SearchUris")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"uri": "",
"threatTypes": {},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from __future__ import annotations

from typing import MutableMapping, MutableSequence

from google.protobuf import timestamp_pb2 # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import dataclasses
import json # type: ignore
import re
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
import warnings

from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming
Expand Down Expand Up @@ -260,7 +260,7 @@ class _ComputeThreatListDiff(WebRiskServiceV1Beta1RestStub):
def __hash__(self):
return hash("ComputeThreatListDiff")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"threatType": {},
"constraints": {},
}
Expand Down Expand Up @@ -351,7 +351,7 @@ class _SearchHashes(WebRiskServiceV1Beta1RestStub):
def __hash__(self):
return hash("SearchHashes")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"threatTypes": {},
}

Expand Down Expand Up @@ -441,7 +441,7 @@ class _SearchUris(WebRiskServiceV1Beta1RestStub):
def __hash__(self):
return hash("SearchUris")

__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
"uri": "",
"threatTypes": {},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from __future__ import annotations

from typing import MutableMapping, MutableSequence

from google.protobuf import timestamp_pb2 # type: ignore
Expand Down

0 comments on commit ec87853

Please sign in to comment.