I have two flags f1
and f2
, f1
is a boolean flag. I want to mark f2
as required whenever f1
is set to True. Is this possible with absl-py?
How to mark a flag as required only if another flag is set in absl-py?
584 views Asked by Priyatham At
1
You can use a validator for that: