Skip to content

Commit

Permalink
chore: Use gapic-generator-python 0.65.0 (#141)
Browse files Browse the repository at this point in the history
* chore: Use gapic-generator-python 0.65.0

PiperOrigin-RevId: 440970084

Source-Link: googleapis/googleapis@5e0a3d5

Source-Link: googleapis/googleapis-gen@b0c628a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBjNjI4YTNmYWRlNzY4ZjIyNWQ3Njk5Mjc5MWVhMWJhMmE4ODFiZSJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 11, 2022
1 parent 23b563e commit b59d485
Show file tree
Hide file tree
Showing 23 changed files with 152 additions and 602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -284,7 +284,6 @@ async def suggest_queries(
r"""Gets a list of suggestions based on a prefix string.
AutoSuggestion tolerance should be less than 1 second.
.. code-block:: python
from google.cloud import dataqna_v1alpha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -485,7 +485,6 @@ def suggest_queries(
r"""Gets a list of suggestions based on a prefix string.
AutoSuggestion tolerance should be less than 1 second.
.. code-block:: python
from google.cloud import dataqna_v1alpha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -148,5 +149,9 @@ def suggest_queries(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("AutoSuggestionServiceTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,9 @@ def suggest_queries(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("AutoSuggestionServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -655,7 +655,6 @@ async def update_user_feedback(
r"""Updates user feedback. This creates user feedback if
there was none before (upsert).
.. code-block:: python
from google.cloud import dataqna_v1alpha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -897,7 +897,6 @@ def update_user_feedback(
r"""Updates user feedback. This creates user feedback if
there was none before (upsert).
.. code-block:: python
from google.cloud import dataqna_v1alpha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -207,5 +208,9 @@ def update_user_feedback(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("QuestionServiceTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,9 @@ def update_user_feedback(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("QuestionServiceGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .annotated_string import AnnotatedString
from .annotated_string import (
AnnotatedString,
)
from .auto_suggestion_service import (
Suggestion,
SuggestionInfo,
Expand All @@ -40,7 +42,9 @@
GetUserFeedbackRequest,
UpdateUserFeedbackRequest,
)
from .user_feedback import UserFeedback
from .user_feedback import (
UserFeedback,
)

__all__ = (
"AnnotatedString",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b59d485

Please sign in to comment.