BigtableDataClientAsync(
*,
project: str | None = None,
pool_size: int = 3,
credentials: google.auth.credentials.Credentials | None = None,
client_options: (
dict[str, Any] | "google.api_core.client_options.ClientOptions" | None
) = None
)
Create a client instance for the Bigtable Data API
Client should be created within an async context (running event loop)
Methods
close
close(timeout: float = 2.0)
Cancel all background tasks
get_table
get_table(
instance_id: str, table_id: str, *args, **kwargs
) -> google.cloud.bigtable.data._async.client.TableAsync
Returns a table instance for making data API requests. All arguments are passed directly to the TableAsync constructor.
Exceptions | |
---|---|
Type | Description |
RuntimeError |
if called outside of an async context (no running event loop) |
Returns | |
---|---|
Type | Description |
TableAsync |
a table instance for making data API requests |