(v)
| 169 | |
| 170 | |
| 171 | def str2bool(v): |
| 172 | if v.lower() in ('yes', 'true', 't', 'y', '1'): |
| 173 | return True |
| 174 | elif v.lower() in ('no', 'false', 'f', 'n', '0'): |
| 175 | return False |
| 176 | else: |
| 177 | raise argparse.ArgumentTypeError('Boolean value expected.') |
| 178 | |
| 179 | |
| 180 | def find_class_in_module(target_cls_name, module): |
nothing calls this directly
no outgoing calls
no test coverage detected