(self, name, spec, prefix=None, secret=False, **kw)
| 56 | |
| 57 | class StringReader(object): |
| 58 | def __init__(self, name, spec, prefix=None, secret=False, **kw): |
| 59 | self.name = name |
| 60 | self.spec = spec |
| 61 | self.prefix = prefix or "" |
| 62 | self.options = {"is_password": secret} |
| 63 | |
| 64 | self._construct_description() |
| 65 | self._construct_template() |
| 66 | self._construct_validators() |
| 67 | |
| 68 | self.options.update(kw) |
| 69 | |
| 70 | @staticmethod |
| 71 | def condition(spec): |
nothing calls this directly
no test coverage detected