def __init__(self, options: argparse.Namespace) -> None:
    'Initialize with the options parsed from config and cli.\n\n        This also calls a hook, :meth:`after_init`, so subclasses do not need\n        to call super to call this method.\n\n        :param options:\n            User specified configuration parsed from both configuration files\n            and the command-line interface.\n        :type options:\n            :class:`argparse.Namespace`\n        '
    self.options = options
    self.filename = options.output_file
    self.output_fd: Optional[IO[str]] = None
    self.newline = '\n'
    self.after_init()
Initialize with the options parsed from config and cli.

This also calls a hook, :meth:`after_init`, so subclasses do not need
to call super to call this method.

:param options:
    User specified configuration parsed from both configuration files
    and the command-line interface.
:type options:
    :class:`argparse.Namespace`
def __init__(self, options: argparse.Namespace) -> None:
    'Initialize with the options parsed from config and cli.\n\n        This also calls a hook, :meth:`after_init`, so subclasses do not need\n        to call super to call this method.\n\n        :param options:\n            User specified configuration parsed from both configuration files\n            and the command-line interface.\n        :type options:\n            :class:`argparse.Namespace`\n        '
    self.options = options
    self.filename = options.output_file
    self.output_fd: Optional[IO[str]] = None
    self.newline = '\n'
    self.after_init()