You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
(flags) Added a new absl.flags.set_default function that updates the flag
default for a provided FlagHolder. This parallels the absl.flags.FlagValues.set_default interface which takes a flag name.
(flags) The following functions now also accept FlagHolder instance(s) in
addition to flag name(s) as their first positional argument:
flags.register_validator
flags.validator
flags.register_multi_flags_validator
flags.multi_flags_validator
flags.mark_flag_as_required
flags.mark_flags_as_required
flags.mark_flags_as_mutual_exclusive
flags.mark_bool_flags_as_mutual_exclusive
flags.declare_key_flag
Changed
(testing) Assertions assertRaisesWithPredicateMatch and assertRaisesWithLiteralMatch now capture the raised Exception for
further analysis when used as a context manager.
(testing) TextAndXMLTestRunner now produces time duration values with
millisecond precision in XML test result output.
(flags) Keyword access to flag_name arguments in the following functions
is deprecated. This parameter will be renamed in a future 2.0.0 release.