Content-Length: 346311 | pFad | http://github.com/googleapis/python-analytics-data/commit/fa7d6150f04a8f65954d91bd439994dc99acd313

6B fix: Add async context manager return types (#362) · googleapis/python-analytics-data@fa7d615 · GitHub
Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Commit fa7d615

Browse 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

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines 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

Lines 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

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-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

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-analytics-data",
11-
"version": "0.16.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-analytics-data/commit/fa7d6150f04a8f65954d91bd439994dc99acd313

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy