Defines a flag of type 'int'. Args: flag_name: The name of the flag as a string. default_value: The default value the flag should take as an int. docstring: A helpful message explaining the use of the flag.
(flag_name, default_value, docstring)
| 69 | |
| 70 | |
| 71 | def DEFINE_integer(flag_name, default_value, docstring): |
| 72 | """Defines a flag of type 'int'. |
| 73 | |
| 74 | Args: |
| 75 | flag_name: The name of the flag as a string. |
| 76 | default_value: The default value the flag should take as an int. |
| 77 | docstring: A helpful message explaining the use of the flag. |
| 78 | """ |
| 79 | _define_helper(flag_name, default_value, docstring, int) |
| 80 | |
| 81 | |
| 82 | def DEFINE_boolean(flag_name, default_value, docstring): |
nothing calls this directly
no test coverage detected
searching dependent graphs…