lisa.target.PasswordKeyDesc#

class lisa.target.PasswordKeyDesc(name, help, classinfo, newtype=None, deepcopy_val=True)[source]#

Bases: KeyDesc

KeyDesc used to describe the target password.

Attributes

help inherited

Help description associated with the key.

name inherited

Name of that key.

parent inherited

Parent LevelKeyDesc.

Properties

newtype inherited

Unique type associated with that key.

path inherited

Path in the config file from the root to that key.

qualname inherited

Qualified name of the configuration key used for error reporting.

Methods

pretty_format()

Hide the password with a generic placeholder.

get_help() inherited

Get a help message describing the key.

validate_val() inherited

Check that the value is an instance of one of the type specified in the self.classinfo.

Attributes#

PasswordKeyDesc.help#

Inherited attribute, see lisa.conf.KeyDescBase.help

Help description associated with the key.

PasswordKeyDesc.name#

Inherited attribute, see lisa.conf.KeyDescBase.name

Name of that key.

PasswordKeyDesc.parent#

Inherited attribute, see lisa.conf.KeyDescBase.parent

Parent LevelKeyDesc.

Properties#

property PasswordKeyDesc.newtype#

Inherited property, see lisa.conf.KeyDesc.newtype

Unique type associated with that key.

property PasswordKeyDesc.path#

Inherited property, see lisa.conf.KeyDescBase.path

Path in the config file from the root to that key.

property PasswordKeyDesc.qualname#

Inherited property, see lisa.conf.KeyDescBase.qualname

Qualified name of the configuration key used for error reporting.

Methods#

PasswordKeyDesc.pretty_format(v)[source]#

Hide the password with a generic placeholder.

PasswordKeyDesc.get_help(style=None, last=False, children=True)#

Inherited method, see lisa.conf.KeyDesc.get_help()

Get a help message describing the key.

PasswordKeyDesc.validate_val(val)#

Inherited method, see lisa.conf.KeyDesc.validate_val()

Check that the value is an instance of one of the type specified in the self.classinfo.