googleapis / python-bigtable

Apache License 2.0
68 stars 58 forks source link

chore(docs): add basic samples for async data client #940

Closed daniel-sanche closed 6 months ago

daniel-sanche commented 7 months ago

This PR adds

Currently missing are the samples on the Use filters and Deletes pages. Let me know if you want me to add those as well

snippet-bot[bot] commented 7 months ago

Here is the summary of changes.

You are about to add 20 region tags. - [samples/hello/async_main.py:30](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L30), tag `bigtable_async_hw_imports` - [samples/hello/async_main.py:41](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L41), tag `bigtable_async_hw_connect` - [samples/hello/async_main.py:46](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L46), tag `bigtable_async_hw_create_table` - [samples/hello/async_main.py:68](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L68), tag `bigtable_async_hw_write_rows` - [samples/hello/async_main.py:92](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L92), tag `bigtable_async_hw_create_filter` - [samples/hello/async_main.py:98](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L98), tag `bigtable_async_hw_get_with_filter` - [samples/hello/async_main.py:99](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L99), tag `bigtable_async_hw_get_by_key` - [samples/hello/async_main.py:109](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L109), tag `bigtable_async_hw_scan_with_filter` - [samples/hello/async_main.py:110](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L110), tag `bigtable_async_hw_scan_all` - [samples/hello/async_main.py:119](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/hello/async_main.py#L119), tag `bigtable_async_hw_delete_table` - [samples/snippets/data_client/data_client_snippets_async.py:18](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L18), tag `bigtable_async_write_simple` - [samples/snippets/data_client/data_client_snippets_async.py:41](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L41), tag `bigtable_async_writes_batch` - [samples/snippets/data_client/data_client_snippets_async.py:68](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L68), tag `bigtable_async_write_increment` - [samples/snippets/data_client/data_client_snippets_async.py:92](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L92), tag `bigtable_async_writes_conditional` - [samples/snippets/data_client/data_client_snippets_async.py:125](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L125), tag `bigtable_async_reads_row` - [samples/snippets/data_client/data_client_snippets_async.py:139](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L139), tag `bigtable_async_reads_row_partial` - [samples/snippets/data_client/data_client_snippets_async.py:156](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L156), tag `bigtable_async_reads_rows` - [samples/snippets/data_client/data_client_snippets_async.py:176](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L176), tag `bigtable_async_reads_row_range` - [samples/snippets/data_client/data_client_snippets_async.py:198](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L198), tag `bigtable_async_reads_prefix` - [samples/snippets/data_client/data_client_snippets_async.py:219](https://github.com/daniel-sanche/python-bigtable/blob/6b5704f41a4120c931675a200f36589f955d5feb/samples/snippets/data_client/data_client_snippets_async.py#L219), tag `bigtable_async_reads_filter`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: