def instantiate_classes(self) -> None:
        """Instantiates the classes using settings from self.config."""
        self.config_init = self.parser.instantiate_classes(self.config)
        self.datamodule = self.config_init.get("data")
        self.model = self.config_init["model"]
        self.instantiate_trainer()
Instantiates the classes using settings from self.config.
src/flash/core/utilities/lightning_cli.py