(self, ctx: Context)
| 1074 | self.deprecated = deprecated |
| 1075 | |
| 1076 | def to_info_dict(self, ctx: Context) -> dict[str, t.Any]: |
| 1077 | return { |
| 1078 | "name": self.name, |
| 1079 | "params": [param.to_info_dict() for param in self.get_params(ctx)], |
| 1080 | "help": self.help, |
| 1081 | "epilog": self.epilog, |
| 1082 | "short_help": self.short_help, |
| 1083 | "hidden": self.hidden, |
| 1084 | "deprecated": self.deprecated, |
| 1085 | } |
| 1086 | |
| 1087 | def __repr__(self) -> str: |
| 1088 | return f"<{self.__class__.__name__} {self.name}>" |
nothing calls this directly
no test coverage detected