Skip to content

Conversation

@vchudnov-g
Copy link
Contributor

The key was from __future__ import annotations, implementing PEP
563
, which, though approved in 2017, is now planned for inclusion in Python 3.11 (see this Reddit discussion and Python.org discussion).

Fixes #1607.

The key was `from __future__ import annotations`, which implements PEP
563 (which is planned for inclusion in Python 3.11)
@vchudnov-g vchudnov-g requested review from atulep and parthea February 23, 2023 17:56
@vchudnov-g vchudnov-g requested review from a team as code owners February 23, 2023 17:56
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Feb 23, 2023
@@ -0,0 +1,50 @@
// Copyright 2021 Google LLC

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Copyright 2021 Google LLC
// Copyright 2023 Google LLC

@vchudnov-g vchudnov-g self-assigned this Feb 23, 2023
@vchudnov-g vchudnov-g added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2023
@vchudnov-g vchudnov-g merged commit 73652e3 into googleapis:main Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

annotations subscripting containers cause TypeErrors

3 participants