lingvo.core.py_utils_flags module
Common utilities.
- lingvo.core.py_utils_flags._FromGlobal(field_name, allow_override_from_cluster=False)[source]
Get ‘field_name’ from a global configuration object.
Currently the global configuration object used is FLAGS, but this may change to Cluster() or an equivalent stack-scoped config object.
- Parameters
field_name – The string field name to look up.
allow_override_from_cluster – Allow the Cluster() to override FLAGS.
- Returns
The value associated with the global configuration string ‘field_name’.