Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 43fade3

Browse files
fix: Add context manager return types (#356)
* 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: https://github.com/googleapis/googleapis-gen/commit/0080f830dec37c3384157082bce279e37079ea58 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>
1 parent da0c8ff commit 43fade3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/cloud/devtools/containeranalysis_v1/services/container_analysis/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def sample_get_vulnerability_occurrences_summary():
10361036
# Done; return the response.
10371037
return response
10381038

1039-
def __enter__(self):
1039+
def __enter__(self) -> "ContainerAnalysisClient":
10401040
return self
10411041

10421042
def __exit__(self, type, value, traceback):

samples/generated_samples/snippet_metadata_google.devtools.containeranalysis.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-containeranalysis",
11-
"version": "2.11.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)