genvid.toolbox.ConsulTemplateInvalidUseOfFlag

class genvid.toolbox.ConsulTemplateInvalidUseOfFlag(option_name: str, option_value)

Bases: genvid.toolbox.consul_template.ConsulTemplateError

Indicate a flag parameter was used with a non-trivial value.

Flags should only be used with a value of None or a bool denoting whether it should be used. Any other value will trigger that exception.

New in version 1.22.0.