def __getattr__(self, command):<EOL>
<EOL>if command == '<STR_LIT>':<EOL><INDENT>return None<EOL><DEDENT>if command.startswith("<STR_LIT>"):<EOL><INDENT>return super(StrictIota, self).__getattr__(command)<EOL><DEDENT>try:<EOL><INDENT>command_class = self.commands[command]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise InvalidCommand(<EOL>'<STR_LIT>'.format(<EOL>cls=type(self).__name__,<EOL>command=command,<EOL>),<EOL>)<EOL><DEDENT>return command_class(self.adapter)<EOL>
Creates a pre-configured command instance.

This method will only return commands supported by the API
class.

If you want to execute an arbitrary API command, use
:py:meth:`create_command`.

:param command:
    The name of the command to create.

References:

- https://iota.readme.io/docs/making-requests