(val)
| 464 | |
| 465 | |
| 466 | def validate_class(val): |
| 467 | if inspect.isfunction(val) or inspect.ismethod(val): |
| 468 | val = val() |
| 469 | if inspect.isclass(val): |
| 470 | return val |
| 471 | return validate_string(val) |
| 472 | |
| 473 | |
| 474 | def validate_callable(arity): |
nothing calls this directly
no test coverage detected