Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Commit fa7d615

Browse filesBrowse files
fix: Add async context manager return types (#362)
* fix: Add async context manager return types chore: Mock return_value should not populate oneof message fields chore: Support snippet generation for services that only support REST transport chore: Update gapic-generator-python to v1.11.0 PiperOrigin-RevId: 545430278 Source-Link: googleapis/googleapis@601b532 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b3f18d0f6560a855022fd058865e7620479d7af9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjNmMThkMGY2NTYwYTg1NTAyMmZkMDU4ODY1ZTc2MjA0NzlkN2FmOSJ9 * 🦉 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 fb59448 commit fa7d615
Copy full SHA for fa7d615

File tree

Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed

‎google/analytics/data_v1alpha/services/alpha_analytics_data/async_client.py

Copy file name to clipboardExpand all lines: google/analytics/data_v1alpha/services/alpha_analytics_data/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ async def sample_run_funnel_report():
305305
# Done; return the response.
306306
return response
307307

308-
async def __aenter__(self):
308+
async def __aenter__(self) -> "AlphaAnalyticsDataAsyncClient":
309309
return self
310310

311311
async def __aexit__(self, exc_type, exc, tb):

‎google/analytics/data_v1beta/services/beta_analytics_data/async_client.py

Copy file name to clipboardExpand all lines: google/analytics/data_v1beta/services/beta_analytics_data/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ async def sample_check_compatibility():
857857
# Done; return the response.
858858
return response
859859

860-
async def __aenter__(self):
860+
async def __aenter__(self) -> "BetaAnalyticsDataAsyncClient":
861861
return self
862862

863863
async def __aexit__(self, exc_type, exc, tb):

‎samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json

Copy file name to clipboardExpand all lines: samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-analytics-data",
11-
"version": "0.16.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json

Copy file name to clipboardExpand all lines: samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-analytics-data",
11-
"version": "0.16.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.