Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg.typing to support __future__.annotations. #353

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

pg.typing to support __future__.annotations.

With this CL, PyGlove is compatible with __future__.annotations.
For example:

from __future__ import annotations

class A(pg.Object):
  child: A | None

@copybara-service copybara-service bot force-pushed the test_722845968 branch 7 times, most recently from 5721794 to ab6a2f7 Compare February 4, 2025 17:14
@copybara-service copybara-service bot closed this Feb 4, 2025
@copybara-service copybara-service bot deleted the test_722845968 branch February 4, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants