Skip to content

Commit

Permalink
made async agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Nov 22, 2024
1 parent 77de052 commit 7831dc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions google/cloud/bigtable/data/_async/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ class _ApiSurfaceAsync:
"""
Abstract class containing API surface for BigtableDataClient. Should not be created directly
Can be instantiated as a TableAsync, or an AuthorizedViewAsync
Can be instantiated as a Table or an AuthorizedView
"""

@CrossSync.convert(
Expand Down Expand Up @@ -793,7 +793,6 @@ def __init__(
# set on AuthorizedView subclass
self._authorized_view_name: str | None = None

# raises RuntimeError if called outside of an async context (no running event loop)
try:
self._register_instance_future = CrossSync.create_task(
self.client._register_instance,
Expand Down

0 comments on commit 7831dc8

Please sign in to comment.