Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_StateContextManager
now preserves the type of the value it stores.
This change is a follow-on to #16866, which added an ABSL-like API for flags defined with `DEFINE_...`. Here we add a similar typed API for flags defined with `define_..._state`. See https://github.com/abseil/abseil-py/blob/37dad4d356ca9e13f1c533ad6309631b397a2b6b/absl/flags/_flagvalues.py#L1333. PiperOrigin-RevId: 570721827
- Loading branch information
1 parent
2fe00f8
commit 923498f
Showing
1 changed file
with
65 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters