INNER CODE UNIT · Python

__call__

tpm2-software/tpm2-pkcs11 · tools/tpm2_pkcs11/command.py:133

    def __call__(self, args):
        '''Called when the user selects your commandlet and passed the dictionary of arguments.
        Arguments:
            args ({str: arg}: The dictionary version of the attrs of the parser.
                The args value is obtained by:
                args = opt_parser.parse_args()
                args = vars(args)
                So to access args just do args['name']
        '''
        raise NotImplementedError('Implement: __call__')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…