(self, option_strings, dest, **kwargs)
| 973 | |
| 974 | class DeprecatedOptionWarning(argparse.Action): |
| 975 | def __init__(self, option_strings, dest, **kwargs): |
| 976 | super().__init__(option_strings, dest, nargs=0, **kwargs) |
| 977 | |
| 978 | def __call__(self, parser, namespace, values, option_string=None): |
| 979 | console_logger.warning(f"Deprecated option is detected: {option_string}, which may be removed later") |