MCPcopy
hub / github.com/tensorflow/tensorboard / fix_flags

Method fix_flags

tensorboard/plugins/base_plugin.py:323–333  ·  view source on GitHub ↗

Allows flag values to be corrected or validated after parsing. Args: flags: The parsed argparse.Namespace object. Raises: base_plugin.FlagsError: If a flag is invalid or a required flag is not passed.

(self, flags)

Source from the content-addressed store, hash-verified

321 pass
322
323 def fix_flags(self, flags):
324 """Allows flag values to be corrected or validated after parsing.
325
326 Args:
327 flags: The parsed argparse.Namespace object.
328
329 Raises:
330 base_plugin.FlagsError: If a flag is invalid or a required
331 flag is not passed.
332 """
333 pass
334
335 def load(self, context):
336 """Loads a TBPlugin instance during the setup phase.

Callers 1

configureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected