Skip to content

Commit

Permalink
add wrap_with_kind to pooled transport
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Nov 1, 2024
1 parent b4a83c1 commit 2e683c9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#
import asyncio
import inspect
import warnings
from functools import partialmethod
from functools import partial
Expand Down Expand Up @@ -387,6 +388,9 @@ def __init__(
)

# Wrap messages. This must be done after self._grpc_channel exists
self._wrap_with_kind = (
"kind" in inspect.signature(gapic_v1.method_async.wrap_method).parameters
)
self._prep_wrapped_messages(client_info)

@property
Expand Down

0 comments on commit 2e683c9

Please sign in to comment.