Skip to content

test_install

allennlp.commands.test_install

[SOURCE]


The test-install subcommand provides a programmatic way to verify that AllenNLP has been successfully installed.

TestInstall#

@Subcommand.register("test-install")
class TestInstall(Subcommand)

add_subparser#

class TestInstall(Subcommand):
 | ...
 | @overrides
 | def add_subparser(
 |     self,
 |     parser: argparse._SubParsersAction
 | ) -> argparse.ArgumentParser