(attr, type_model='str')
| 22 | |
| 23 | def parse_args(self, args: dict[str]={}) -> None: |
| 24 | def attr_check(attr, type_model='str'): |
| 25 | if attr is None: |
| 26 | return False |
| 27 | attr_type = type(attr) |
| 28 | if attr_type != type(type_model): |
| 29 | return False |
| 30 | if attr_type == type('str') and len(attr) == 0: |
| 31 | return False |
| 32 | return True |
| 33 | |
| 34 | args = {} if args is None else args |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected