Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: Add documentation for enums (#221)
Browse files Browse the repository at this point in the history
* docs: Add documentation for enums

fix: Add context manager return types

chore: Update gapic-generator-python to v1.8.1
PiperOrigin-RevId: 503210727

Source-Link: googleapis/googleapis@a391fd1

Source-Link: googleapis/googleapis-gen@0080f83
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9

* 🦉 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] committed Jan 20, 2023
1 parent 15d2e49 commit a9d18ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Expand Up @@ -1617,7 +1617,7 @@ def sample_batch_delete_rows():
metadata=metadata,
)

def __enter__(self):
def __enter__(self) -> "TablesServiceClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
10 changes: 9 additions & 1 deletion google/area120/tables_v1alpha1/types/tables.py
Expand Up @@ -52,7 +52,15 @@


class View(proto.Enum):
r"""Column identifier used for the values in the row."""
r"""Column identifier used for the values in the row.
Values:
VIEW_UNSPECIFIED (0):
Defaults to user entered text.
COLUMN_ID_VIEW (1):
Uses internally generated column id to
identify values.
"""
VIEW_UNSPECIFIED = 0
COLUMN_ID_VIEW = 1

Expand Down
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-area120-tables",
"version": "0.11.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit a9d18ca

Please sign in to comment.