Пример #1
0
def _format_flag_for_label(val):
    if isinstance(val, six.string_types):
        return val
    return flag_util.FormattedValue(val, truncate_floats=True)
Пример #2
0
def _format_flag_for_label(val):
    return flag_util.FormattedValue(val, truncate_floats=True)