launch.frontend.expose module

Module which adds methods for exposing parsing methods.

launch.frontend.expose.expose_action(name: str)[source]

Return a decorator for exposing an action.

Read __expose_impl documentation.

launch.frontend.expose.expose_substitution(name: str)[source]

Return a decorator for exposing a substitution.

Read __expose_impl documentation.

launch.frontend.expose.instantiate_action(entity: Entity, parser: Parser) Action[source]

Call the registered parsing method for the Entity.

launch.frontend.expose.instantiate_substitution(type_name: str, args: Iterable[str | Path | Substitution | Iterable[str | Path | Substitution]] | None = None) Substitution[source]

Call the registered substitution parsing method, according to args.