Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

fix: Add async context manager return types #362

Merged
merged 2 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async def sample_run_funnel_report():
# Done; return the response.
return response

async def __aenter__(self):
async def __aenter__(self) -> "AlphaAnalyticsDataAsyncClient":
return self

async def __aexit__(self, exc_type, exc, tb):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ async def sample_check_compatibility():
# Done; return the response.
return response

async def __aenter__(self):
async def __aenter__(self) -> "BetaAnalyticsDataAsyncClient":
return self

async def __aexit__(self, exc_type, exc, tb):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-analytics-data",
"version": "0.16.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-analytics-data",
"version": "0.16.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down